Updates to Text chapter of manual.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e95def75
CY
12011-11-28 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4
c3f1c606
NR
52011-11-27 Nick Roberts <nickrob@snap.net.nz>
6
7 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8 gdb-get-source-file-list on gdb-create-source-file-list.
9
00db469c
EZ
102011-11-26 Eli Zaretskii <eliz@gnu.org>
11
12 * whitespace.el (whitespace-newline): Use a different foreground
13 color for 16-color light-background displays.
14
4ad3bc2a
CY
152011-11-24 Chong Yidong <cyd@gnu.org>
16
17 * window.el (display-buffer--special-action): Doc fix.
18
e9fce1ac
JB
192011-11-25 Juanma Barranquero <lekktu@gmail.com>
20
21 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
22 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
23 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
24 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
25 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
26 (avl-tree-stack-first):
27 * emacs-lisp/cconv.el (cconv--analyse-use):
28 * net/gnutls.el (gnutls-negotiate): Fix typos.
29
cb825e5d
GM
302011-11-24 Glenn Morris <rgm@gnu.org>
31
3adbe224
GM
32 * lpr.el (lpr-windows-system, lpr-lp-system):
33 * mail/binhex.el (binhex-begin-line):
34 * progmodes/grep.el (grep-history, grep-find-history):
35 * textmodes/flyspell.el:
36 * vc/pcvs-defs.el (cvs-global-menu):
37 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
38 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
39 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
40
321decc8
GM
41 * net/tls.el: Fix case of "GnuTLS".
42
420b63ad
GM
43 * paths.el (rmail-file-name): Format doc-string for make-docfile.
44
cb825e5d
GM
45 * version.el (emacs-build-system): Give it a doc-string.
46
a0649f08
JL
472011-11-24 Juri Linkov <juri@jurta.org>
48
49 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
50
c0bc0fd4
GM
512011-11-24 Glenn Morris <rgm@gnu.org>
52
53 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
54 if called on a non-mime message just toggle the headers. (Bug#8006)
55
20db1522
JB
562011-11-24 Juanma Barranquero <lekktu@gmail.com>
57
58 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
59 (allout-lead-with-comment-string, allout-structure-deleted-hook)
60 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
61 (allout-rebullet-heading, allout-open-sibtopic)
62 (allout-toggle-current-subtree-encryption)
63 (allout-toggle-subtree-encryption, allout-encrypt-string)
64 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
65 (allout-distinctive-bullets-string, allout-auto-activation):
66 * window.el (window-normalize-buffer-to-display):
67 * progmodes/verilog-mode.el (verilog-batch-indent):
68 * textmodes/bibtex.el (bibtex-field-braces-opt)
69 (bibtex-field-strings-opt):
70 * vc/cvs-status.el (cvs-tree-merge):
71 Fix typos.
72
7262a87c
MA
732011-11-23 Michael Albinus <michael.albinus@gmx.de>
74
75 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
76 `non-essential' to t, in order to avoid remote connections.
77
283430a1
EZ
782011-11-23 Eli Zaretskii <eliz@gnu.org>
79
80 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): On
81 MS-DOS and MS-Windows, compare with loaddefs.el
82 case-insensitively.
83
d2992a38
ML
842011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
85
86 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
87
50419064
GM
882011-11-23 Glenn Morris <rgm@gnu.org>
89
da94eca1
GM
90 * paths.el (rmail-file-name): Reformat the doc-string so that it
91 is picked up.
92
9aac4de2
GM
93 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
94 (rmail-auto-file): Ignore case in the "special" field names,
95 as mail-fetch-field does for all others.
96
8038d2d2
GM
97 * mail/rmail.el (rmail-forward):
98 * mail/rmailkwd.el (rmail-set-label):
99 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
100 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
101
f3fe222a
GM
102 * mail/rmail.el (rmail-current-message): Doc fix.
103
50419064
GM
104 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
105
28109f49
SM
1062011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * server.el (server-eval-and-print): Allow C-g (bug#6585).
109
394c65f1
GM
1102011-11-22 Glenn Morris <rgm@gnu.org>
111
112 * mail/rmailmm.el (test-rmail-mime-handler)
113 (test-rmail-mime-bulk-handler)
114 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
115
f2a0aa3a
JL
1162011-11-21 Juri Linkov <juri@jurta.org>
117
118 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
119 to nil. (Bug#10018)
120
9c34a344
LMI
1212011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
122
123 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
124 Tell the caller that the next line needs recomputation, even
125 though it doesn't start a sexp (bug#10094).
126
f04a3be9
SM
1272011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
130
7978747f
SM
1312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
132
f04a3be9
SM
133 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
134 Use force-same-window.
7978747f 135
fe7a3057
JB
1362011-11-20 Juanma Barranquero <lekktu@gmail.com>
137
138 * descr-text.el (describe-char-unicode-data):
139 * json.el (json-string-escape):
140 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
141 (Footnote-unicode, Footnote-style-p):
142 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
143
24901d61
CY
1442011-11-20 Chong Yidong <cyd@gnu.org>
145
146 * window.el (replace-buffer-in-windows): Restore interactive spec.
147
bac7ff22
SM
1482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
149
24f3d7b9
SM
150 * electric.el (electric-indent-mode): Fix last change (too optimistic).
151
bac7ff22
SM
152 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
153 (byte-compile-global-not-obsolete-vars): New var.
154 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
155 Use it.
156 (byte-compile-warn-obsolete): Align text with the one in *Help*.
157
cd1181db
JB
1582011-11-20 Juanma Barranquero <lekktu@gmail.com>
159
160 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
161 * progmodes/pascal.el (electric-pascal-equal):
162 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
163 * xml.el (xml-substitute-special): Fix typos.
164
7fb18e9e
GM
1652011-11-20 Glenn Morris <rgm@gnu.org>
166
167 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
168 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
169 Doc fixes.
170 (rmail-decode-mime-charset): Mark as obsolete.
171
172 * mail/rmailsum.el (rmail-message-regexp-p-1):
173 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
174 Before using mime functions, check they are set. (Bug#10077)
175
d5a6b3ba
JL
1762011-11-19 Juri Linkov <juri@jurta.org>
177
178 * info.el (Info-finder-find-node): Use `package--builtins' instead
179 of `package-alist'. Use node names formed by the pattern "Keyword "
180 and the keyword name.
181
e981b61f
AS
1822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
183
184 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
185 bash.
186
3ffbc301
JL
1872011-11-19 Juri Linkov <juri@jurta.org>
188
189 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
190 that calls `revert-buffer' on all Info buffers. (Bug#9915)
191 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
192 `old-history', `old-history-forward'. Add let-binding
193 `window-selected'. Remove calls to `kill-buffer',
194 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
195 before calling `Info-find-node', so `Info-find-node-2' will reread
196 the Info file. Restore window positions only when `window-selected'
197 is non-nil.
198
30c62133
JL
1992011-11-19 Juri Linkov <juri@jurta.org>
200
201 * isearch.el (isearch-lazy-highlight-new-loop):
202 Remove condition `(not isearch-error)'. (Bug#9918)
203
204 * misearch.el (multi-isearch-search-fun): Add condition
205 `(not bound)' to ignore lazy-highlighting search.
206 Add the search-failed message "end of multi" when the end of
207 multi-sequence is reached. Uncapitalize the search-failed
208 message "Repeat for next buffer".
209
210 * info.el (Info-search): Add the search-failed message
211 "end of the manual" when the end of the manual is reached
212 in Isearch mode.
213
645ca9cf
JL
2142011-11-19 Juri Linkov <juri@jurta.org>
215
216 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
217 Use non-destructive `remove' instead of `delete' because
218 `Info-history-list' stored to `Info-isearch-initial-history-list' in
219 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
220
df754f66
JL
2212011-11-19 Juri Linkov <juri@jurta.org>
222
223 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
224 to nil instead of binding `search-ring' and `regexp-search-ring'.
225 (Bug#9185)
226
0e23d96a
EZ
2272011-11-19 Eli Zaretskii <eliz@gnu.org>
228
229 * simple.el (line-move): Force movement by logical lines for any
230 hscrolled window, not only when auto-hscroll-mode is on.
231 (line-move-visual): Update doc string to that effect. (Bug#10076)
232
8a6ccb66
AS
2332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
234
235 * language/european.el (macintosh): Define as alias for mac-roman.
236
49ae5b39
EZ
2372011-11-19 Eli Zaretskii <eliz@gnu.org>
238
239 * mail/rmailmm.el (rmail-mime-display-header)
240 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
241 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
242 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
243 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
244 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
245 of a raw aref.
246 (rmail-mime-entity-segment): To get past the tagline, move forward
247 2 more lines, to account for the 2 empty lines that precede and
248 follow the line with the buttons.
249 (rmail-mime-update-tagline): Move one more line, to get past the
250 empty line that follows the buttons in the tagline. (Bug#9520)
251
c56cad4a
MR
2522011-11-19 Martin Rudalics <rudalics@gmx.at>
253
254 * window.el (window-max-delta-1, window-min-delta-1)
255 (window-min-size-1, window-state-get-1, window-state-put-1)
256 (window-state-put-2): Use "window--" prefix.
257
cbe71af3
SM
2582011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
259
2ad52c60
SM
260 * emacs-lisp/smie.el: Improve warnings and conflict detection.
261 (smie-warning-count): New var.
262 (smie-set-prec2tab): Use it.
263 (smie-bnf->prec2): Improve warnings. Add docstring.
264 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
265 (smie-bnf--set-class): New function.
266 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
267 corner case.
268
6944dbc1
SM
269 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
270 (compilation-error-properties, compilation-move-to-column):
271 Handle compilation-first-column while in the target buffer.
272
c400c4d7
SM
273 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
274 Don't hardcode point-min==1.
275
6dbe3e96
SM
276 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
277 (eshell-rewrite-for-command): Remove workaround.
278 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
279 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
280 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
281
cbe71af3
SM
282 * files-x.el (modify-file-local-variable): Obey commenting conventions.
283
a8e1496d
GM
2842011-11-17 Glenn Morris <rgm@gnu.org>
285
286 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
287 Ignore buffer-local generated-autoload-file if it is the same
288 as the global value. (Bug#10049)
289
df85d315
JB
2902011-11-17 Juanma Barranquero <lekktu@gmail.com>
291
292 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
293 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
294 (reftex-toc-previous-heading, reftex-toc-max-level)
295 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
296 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
297 (reftex-toc-do-promote, reftex-toc-promote-prepare)
298 (reftex-toc-promote-action, reftex-toc-extract-section-number)
299 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
300 (reftex-toc-rename-label, reftex-toc-visit-location)
301 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
302 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
303 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
304 leaving "*toc*" only for references to the buffer.
305
a0c2d0ae
MR
3062011-11-17 Martin Rudalics <rudalics@gmx.at>
307
308 * window.el (window-resize, delete-window, split-window):
309 Replace window-splits by window-combination-resize.
310 * cus-start.el (window-splits): Replace by
311 window-combination-resize.
312
35c0bac8
GM
3132011-11-17 Glenn Morris <rgm@gnu.org>
314
315 * progmodes/sh-script.el (sh-font-lock-keywords-var):
316 Make bash entry derive from sh entry, not shell entry.
317
d0c8fc8a
MA
3182011-11-16 Michael Albinus <michael.albinus@gmx.de>
319
d0c8fc8a
MA
320 * net/tramp-cache.el (tramp-flush-file-property): Flush also
321 properties of linked files. (Bug#9879)
322
7262a87c
MA
323 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
324 local file name.
325
7877f373
JB
3262011-11-16 Juanma Barranquero <lekktu@gmail.com>
327
328 * menu-bar.el (menu-bar-file-menu):
329 * printing.el (pr-ps-utility):
330 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
331 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
332 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
333 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
334 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
335 (icalendar--convert-cyclic-to-ical)
336 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
337 (icalendar--convert-ical-to-diary)
338 (icalendar--convert-recurring-to-diary)
339 (icalendar--convert-non-recurring-all-day-to-diary)
340 (icalendar-import-format-sample):
341 * progmodes/idlw-shell.el (idlwave-shell-mode):
342 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
343 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
344 (vhdl-ps-print-init): Fix typos.
345
10649b82
KM
3462011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
347
9d0cfcd6
GM
348 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
349 FSF and collapse date sequence, obscure author/maintainer email address
350 better, remove extra version line, track relocation of author's webpage.
10649b82 351
9d0cfcd6
GM
352 * progmodes/python.el (python-pdbtrack-input-prompt)
353 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
354 regular python pdb prompts. Adjustments shamelessly taken exactly as
355 suggested in EmacsWiki page (tiny change):
356 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 357
58179cce
JB
3582011-11-16 Juanma Barranquero <lekktu@gmail.com>
359
360 * expand.el (expand-pos, expand-index, expand-point):
361 Remove redundant info from docstring.
362 (expand-add-abbrevs): Doc fix.
363 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
364 (expand-sample-perl-mode-expand-list): Fix typos.
365
366 * net/dbus.el (dbus-event-member-name):
367 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
368 * term/pc-win.el (msdos-create-frame-with-faces):
369 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
370
b6f67890
MR
3712011-11-16 Martin Rudalics <rudalics@gmx.at>
372
373 * window.el (split-window, window-state-get-1)
374 (window-state-put-1, window-state-put-2): Rename occurrences of
375 window-nest to window-combination-limit.
376 * cus-start.el (window-nest): Rename to
377 window-combination-limit.
378
ce7ddba0
CY
3792011-11-16 Chong Yidong <cyd@gnu.org>
380
381 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
382 regexp (Bug#10033).
383
3ae704f4
SM
3842011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
387 `completing-read' will remove *Completions* and will preserve
388 current-buffer for us.
389 (tmm-add-prompt): Users of *Completions* will always (re)set its
390 major mode.
391 (tmm-old-comp-map): Remove.
392
6ad1cdde
GM
3932011-11-16 Glenn Morris <rgm@gnu.org>
394
395 * mail/rmailedit.el: Require rmailmm when compiling.
396 (rmail-old-mime-state): New declaration.
397 (rmail-edit-current-message): If editing a mime message,
398 edit the "raw" message from the mbox buffer.
399 (rmail-cease-edit): Handle mime messages. (Bug#9840)
400
d20faa20
GM
4012011-11-15 Glenn Morris <rgm@gnu.org>
402
403 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
404 which wasn't being used. Add optional arg to force given state.
405 (rmail-mime): Add optional arg to force given state.
406
c7015153
JB
4072011-11-15 Juanma Barranquero <lekktu@gmail.com>
408
409 * allout.el (allout-encryption-plaintext-sanitization-regexps):
410 * frame.el (display-mm-dimensions-alist):
411 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
412 (outline-move-subtree-down):
413 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
414 (newsticker--treeview-do-get-node):
415 * net/quickurl.el (quickurl-list-buffer-name):
416 * progmodes/dcl-mode.el (dcl-mode):
417 * progmodes/gdb-mi.el (gdb-mapcar*):
418 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
419
45261b50
GM
4202011-11-15 Glenn Morris <rgm@gnu.org>
421
422 * mail/rmail.el (rmail-file-coding-system): It's only ever used
423 in a boolean sense, so just make it a boolean, and fix the doc.
424 (rmail-show-mime-function, rmail-mime-feature)
425 (rmail-require-mime-maybe): Doc fixes.
426 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
427
428 * mail/rmailmm.el (rmail-show-mime): Doc fix.
429
0d26e0b6
JB
4302011-11-15 Juanma Barranquero <lekktu@gmail.com>
431
432 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
433 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
434 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
435 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
436
447f30f6
GM
4372011-11-15 Glenn Morris <rgm@gnu.org>
438
672b871d
GM
439 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
440 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
441 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
442 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
443 (rmail-mime, rmail-show-mime): Doc fixes.
444
f6aa5bb1
GM
445 * term/ns-win.el (mode-line-frame-identification):
446 Leave it alone. (Bug#10051)
447
947cd66b
GM
448 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
449
447f30f6
GM
450 * mail/rmailout.el (rmail-output-to-rmail-buffer):
451 Handle empty buffers. (Bug#9978)
452
0b381c7e
JB
4532011-11-14 Juanma Barranquero <lekktu@gmail.com>
454
455 * international/mule.el (define-charset):
456 * mail/rmailmm.el (rmail-mime-find-header-encoding):
457 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
458 * progmodes/verilog-mode.el (verilog-backward-token):
459 * textmodes/ispell.el (lookup-words):
460 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
461
71e027ac
GM
4622011-11-14 Glenn Morris <rgm@gnu.org>
463
56632ce4
GM
464 * progmodes/executable.el
465 (executable-make-buffer-file-executable-if-script-p):
466 Handle file-modes returning nil.
467
40500957
GM
468 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
469 message - not necessary, and causes problems. (Bug#9831)
470
071c2340
GM
471 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
472
d3cfca60
GM
473 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
474
71e027ac
GM
475 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
476 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
477 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
478
89d61221
MR
4792011-11-12 Martin Rudalics <rudalics@gmx.at>
480
481 * window.el (window-resize, delete-window): Use window-splits
482 variable instead of function.
483 (window-state-get-1, window-state-put-2, window-state-put):
484 Don't deal with windows' splits status.
485
98282f6f
GM
4862011-11-12 Glenn Morris <rgm@gnu.org>
487
488 * apropos.el (apropos-do-all, apropos-library, apropos-value)
489 (apropos-documentation): Doc fixes.
490
40a8bdf6
JB
4912011-11-11 Juanma Barranquero <lekktu@gmail.com>
492
493 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
494 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
495
65bd19ff
SM
4962011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * electric.el (electric-indent-post-self-insert-function): Make it
499 possible for a char to only indent in some circumstances.
500 (electric-indent-mode): Simplify.
501
54f9154c
MR
5022011-11-11 Martin Rudalics <rudalics@gmx.at>
503
504 * window.el (windows-with-parameter): Remove unused function.
505 (windows-at-side): Rename to window-at-side-list.
506 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
507 (window-side-check, window-size-ignore, window-size-fixed-1)
508 (window-in-direction-2): Prefix with "window--".
509 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 510
68cbc58b
GM
5112011-11-11 Glenn Morris <rgm@gnu.org>
512
513 * subr.el (eval-after-load): If FILE is already loaded,
514 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
515
b2621720
GM
5162011-11-10 Glenn Morris <rgm@gnu.org>
517
9a4de110
GM
518 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
519 Call svn via vc-svn-command rather than vc-do-command.
520 (vc-svn-command): Add --non-interactive. (Bug#9993)
521 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
522
b2621720
GM
523 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
524 Add toggle-read-only. (Bug#7292)
525 * files.el (toggle-read-only): Mention that it should only
526 be used interactively. (Bug#10006)
527
1dce7193
SM
5282011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
529
d9ac1a1e
SM
530 * progmodes/compile.el (compilation-error-regexp-alist-alist):
531 Adjust regexp for OCaml warnings.
532
0c325082
SM
533 * electric.el (electric-pair-post-self-insert-function): Let user
534 turn it off buffer-locally (bug#9932).
535
90132c14
SM
536 * progmodes/python.el (python-beginning-of-statement):
537 Rewrite (bug#2703).
538
1dce7193
SM
539 * progmodes/compile.el: Better handle TABs (bug#9749).
540 (compilation-internal-error-properties)
541 (compilation-next-error-function): Obey the target buffer's
542 compilation-error-screen-columns.
543
c4e7c63a
JB
5442011-11-09 Juanma Barranquero <lekktu@gmail.com>
545
546 * progmodes/meta-mode.el: Remove obsolete comments.
547 (meta-right-comment-regexp, meta-ignore-comment-regexp):
548 Fix typos in docstrings.
549
2cffd681
MR
5502011-11-09 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 553 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
554 (window--resizable): New function. Make all callers of
555 window-resizable call window--resizable instead.
556 (window-resizable): Rewrite in terms of window--resizable.
557
0edcba87
GM
5582011-11-08 Glenn Morris <rgm@gnu.org>
559
560 * progmodes/delphi.el (delphi-mode-syntax-table):
561 Let define-derived-mode define a proper syntax table. (Bug#9994)
562
4b0d61e3
SM
5632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * window.el: Stay away from defsubst.
566 (window-list-no-nils): Remove.
567 (window-state-get-1, window-state-get): Use backquote instead.
568
fcbcac2e 5692011-11-08 thierry <thierry.volpiatto@gmail.com>
570
4b0d61e3 571 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 572 Fix incorrect use of default argument in `completing-read'.
573
e1c2c6f2
MR
5742011-11-08 Martin Rudalics <rudalics@gmx.at>
575
576 * window.el (display-buffer-function, special-display-function):
577 Mention display-buffer-record-window but do not mention
578 help-setup parameter in doc-strings.
b3f4a882 579 (window-min-delta): Fix doc-string typo.
e1c2c6f2 580
105216ed
CY
5812011-11-08 Chong Yidong <cyd@gnu.org>
582
583 * window.el (window-total-height, window-total-width): Doc fix.
584 (window-body-size): Move from C.
585 (window-body-height, window-body-width): Move to C.
586
0a9f9ab5
SM
5872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * window.el: Make special-display like display-buffer-alist (bug#9532).
590 (display-buffer--special-action): New function, morphed
591 from display-buffer--special.
592 (display-buffer): Use it to handle special-display-buffers at higher
593 priority (just after display-buffer-alist).
594 (display-buffer-fallback-action, display-buffer--other-frame-action)
595 (pop-to-buffer-same-window): Remove display-buffer--special.
596
a769dd15
GM
5972011-11-07 Glenn Morris <rgm@gnu.org>
598
599 * calendar/cal-menu.el (cal-menu-set-date-title):
600 Do nothing if not in a calendar. (Bug#9976)
601
05a61ee3
SM
6022011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * files.el (find-file): Always use selected-window.
605
be7f5545
MR
6062011-11-07 Martin Rudalics <rudalics@gmx.at>
607
608 * window.el (window-combinations): Make WINDOW argument
609 mandatory. Rewrite doc-string.
610 (walk-window-subtree, window-atom-check, window-min-delta)
611 (window-max-delta, window--resize-this-window)
612 (window--resize-root-window-vertically, window-tree)
613 (balance-windows, window-state-put): Rewrite doc-strings as to
614 not mention the term "subwindow".
615 (window--resize-subwindows-skip-p): Rename to
616 window--resize-child-windows-skip-p.
617 (window--resize-subwindows-normal): Rename to
618 window--resize-child-windows-normal.
619 (window--resize-subwindows): Rename to
620 window--resize-child-windows.
621 (window-or-subwindow-p): Rename to window--in-subtree-p.
622
3c6702ef
ML
6232011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
624
625 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
626 Ensure that mbox format messages end in two newlines (Bug#9974).
627
49745b39
CY
6282011-11-06 Chong Yidong <cyd@gnu.org>
629
630 * window.el (window-combination-p): Function deleted; its
631 side-effect is not used in any existing code.
632 (window-combinations, window-combined-p): Call window-*-child
633 directly.
634
24300f5f
CY
6352011-11-05 Chong Yidong <cyd@gnu.org>
636
637 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
638 (window-size-ignore, window-state-get): Callers changed.
639 (window-normalize-window): Rename from window-normalize-any-window.
640 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 641 (window-normalize-live-window): Delete.
447f16b8
CY
642 (window-combination-p, window-combined-p, window-combinations)
643 (walk-window-subtree, window-atom-root, window-min-size)
644 (window-sizable, window-sizable-p, window-size-fixed-p)
645 (window-min-delta, window-max-delta, window-resizable)
646 (window-resizable-p, window-full-height-p, window-full-width-p)
647 (window-current-scroll-bars, window-point-1, set-window-point-1)
648 (window-at-side-p, window-in-direction, window-resize)
649 (adjust-window-trailing-edge, maximize-window, minimize-window)
650 (window-deletable-p, delete-window, delete-other-windows)
651 (record-window-buffer, unrecord-window-buffer)
652 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
653 (quit-window, split-window, window-state-put)
654 (set-window-text-height, fit-window-to-buffer)
655 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 656
89bd5ee1
EZ
6572011-11-04 Eli Zaretskii <eliz@gnu.org>
658
53479029
EZ
659 * mail/rmail.el (rmail-simplified-subject): Decode subject with
660 rfc2047-decode-string.
661 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
662 warnings.
663
89bd5ee1
EZ
664 * window.el (window-body-height, window-body-width): Mention in
665 the doc string that the return values are in frame's canonical
666 units. (Bug#9949)
667
bd17fdee
AM
6682011-11-03 Alan Mackenzie <acm@muc.de>
669
670 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
671 change in cc-engine.el.
672
acc825c5
SM
6732011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * window.el (switch-to-buffer): Use `force-same-window' interactively.
676
1885e5b8
MR
6772011-11-02 Martin Rudalics <rudalics@gmx.at>
678
679 * window.el (quit-window): Call unrecord-window-buffer after
680 showing another buffer in the window. (Bug#9937)
acc825c5 681 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 682
ebe06da9
JB
6832011-11-02 Juanma Barranquero <lekktu@gmail.com>
684
685 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
686 Accept status with more than 9 shelves. (Bug#9935)
687 Reported by Colin D Bennett <colin@gibibit.com>.
688
4ee88440
MR
6892011-11-01 Martin Rudalics <rudalics@gmx.at>
690
691 * help.el (with-help-window): Don't reference
692 temp-buffer-show-specifiers in doc-string.
693
08e1d82c
AS
6942011-10-31 Andreas Schwab <schwab@linux-m68k.org>
695
696 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
697 menu-item.
698
84bd6e9e
VJL
6992011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
700
701 * whitespace.el: New version 13.2.2.
702 (whitespace-newline-mode): Disable properly. Reported by Sarah
703 <EmacsWiki>.
704
dba0634a
UJ
7052011-10-30 Ulf Jasper <ulf.jasper@web.de>
706
707 * net/newst-treeview.el: Remove "Time-stamp".
708 (newsticker--group-manage-orphan-feeds): Do not call
709 newsticker--treeview-tree-update.
db22a3c2
JB
710 (newsticker-treeview-update, newsticker-treeview):
711 Call newsticker--treeview-tree-update if necessary.
dba0634a 712
3d8daefe
MR
7132011-10-30 Martin Rudalics <rudalics@gmx.at>
714
715 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
716 (window-iso-combinations): Remove "iso-" infix.
717 Suggested by Chong Yidong.
3d8daefe
MR
718 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
719 (window-max-delta-1, window-resize, window--resize-siblings)
720 (window--resize-this-window, adjust-window-trailing-edge)
721 (split-window, balance-windows-1)
722 (shrink-window-if-larger-than-buffer):
723 * calendar/calendar.el (calendar-generate-window):
db22a3c2 724 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 725
1bc4c3ae
SM
7262011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
729 in place (bug#9907).
730 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
731 (eshell-rewrite-if-command, eshell-rewrite-for-command)
732 (eshell-structure-basic-command, eshell-rewrite-while-command)
733 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
734 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
735 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
736 (eshell-do-pipelines-synchronously, eshell-eval-command):
737 Use backquotes and prefer setq to set.
738 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
739 (eshell-macrop): Use functionp.
c1e2f5fa 740 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 741
30b65d9c
CY
7422011-10-30 Chong Yidong <cyd@gnu.org>
743
744 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
745 instead of set-mark (Bug#9810).
746
2d197ffb
CY
7472011-10-30 Chong Yidong <cyd@gnu.org>
748
749 * window.el (split-window-below, split-window-right): Rename from
750 split-window-above-each-other and split-window-side-by-side
751 respectively. All callers changed.
752 (split-window-sensibly, split-window-sensibly): Use them.
753 (split-window-keep-point): Doc fix.
754
755 * isearch.el: Add isearch-scroll property to split-window-below
756 and split-window-right.
757
758 * follow.el (follow-mode):
759 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
760 * progmodes/ada-xref.el (ada-gdb-application):
761 * emulation/vip.el (vip-buffer-in-two-windows):
762 * image-dired.el (image-dired-dired-with-window-configuration):
763 * dired-x.el (dired-do-find-marked-files):
764 * dired.el (dired-pop-to-buffer):
765 * bs.el (bs--show-with-configuration):
766 * vc/emerge.el (emerge-setup-windows):
767 * textmodes/two-column.el (2C-two-columns):
768 * textmodes/reftex-toc.el (reftex-toc):
769 * progmodes/gdb-mi.el (gdb-setup-windows):
770 * progmodes/fortran.el (fortran-window-create):
771 * net/newst-treeview.el (newsticker--treeview-window-init):
772 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
773 * emulation/tpu-edt.el (tpu-gold-map):
774 * emulation/crisp.el (crisp-mode-map):
775 * calendar/calendar.el (calendar-basic-setup): Callers changed.
776
38bb2ca8
CY
7772011-10-29 Chong Yidong <cyd@gnu.org>
778
aa4de341
CY
779 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
780
e1eb5385
CY
781 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
782
5d2ece3c
CY
783 * textmodes/flyspell.el (flyspell-word): Fix char offset for
784 forged Ispell output (Bug#7904).
785
38bb2ca8
CY
786 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
787
d0af9f77
SM
7882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * doc-view.el: Avoid ugly errors about not finding nil.
791 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
792 (doc-view-dvipdf-program, doc-view-unoconv-program)
793 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
794 Avoid nil or absolute file name as default value.
795 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
796
52bedd34
AM
7972011-10-28 Alan Mackenzie <acm@muc.de>
798
db22a3c2 799 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 800
7e43cfa5
AM
8012011-10-28 Alan Mackenzie <acm@muc.de>
802
803 Amend the handling of c-beginning/end-of-defun in nested declaration
804 scopes.
805
52bedd34
AM
806 * progmodes/cc-vars.el (c-defun-tactic): Move here from
807 cc-langs.el. Change it to a defcustom.
7e43cfa5 808
52bedd34
AM
809 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
810 cc-vars.el.
7e43cfa5 811
d0af9f77
SM
812 * progmodes/cc-engine.el (c-beginning-of-statement-1):
813 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 814
52bedd34 815 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 816 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
817 (c-widen-to-enclosing-decl-scope): New function.
818 (c-while-widening-to-decl-block): New macro.
819 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
820 outward for defun boundaries, and correspondingly change symbol
821 `respect-enclosure' to `go-outward'.
822 (c-declaration-limits): Change algorithm to report only the "innermost"
823 defun's boundaries.
824
1a2ce9ee
DD
8252011-10-28 Deniz Dogan <deniz@dogan.se>
826
827 * net/rcirc.el (rcirc-mode): Use hard newlines.
828
bc97a826
AM
8292011-10-28 Alan Mackenzie <acm@muc.de>
830
831 Amend to indent and fontify macros "which include their own semicolon"
832 correctly, using the "virtual semicolon" mechanism.
833
52bedd34 834 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 835
d0af9f77 836 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 837 Recode to scan one line at a time rather than having \n and \r
58179cce 838 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 839 (c-forward-label): Amend for virtual semicolons.
58179cce 840 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 841
52bedd34
AM
842 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
843 of the new C macros.
bc97a826 844
52bedd34 845 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
846 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
847 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
848 (c-opt-cpp-macro-define): Make into a full language variable.
849 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
850 AWK Mode (including \n, \r) removed, no longer needed.
851
d0af9f77
SM
852 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
853 Invoke c-make-macro-with-semi-re.
bc97a826 854
52bedd34
AM
855 * progmodes/cc-vars.el (c-macro-with-semi-re):
856 (c-macro-names-with-semicolon): New variables.
58179cce 857 (c-make-macro-with-semi-re): New function.
bc97a826 858
7a6c0941
SM
8592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * vc/log-edit.el: Fill empty field rather than adding new one.
862 (log-edit-add-field): New function.
863 (log-edit-insert-changelog): Use it.
864
b0c4cdcf
ML
8652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
866
867 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
868
ee1f1da9
SM
8692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
872 (gdb--check-interpreter): New function.
873 (gdb): Use it.
874
51bc5f8b
GM
8752011-10-27 Glenn Morris <rgm@gnu.org>
876
416a2c45
GM
877 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
878 (least-positive-float, least-negative-float)
879 (least-positive-normalized-float, least-negative-normalized-float)
880 (float-epsilon, float-negative-epsilon):
881 Remove unnecessary declarations.
882
883 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
884 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
885 (least-positive-float, least-negative-float)
886 (least-positive-normalized-float, least-negative-normalized-float)
887 (float-epsilon, float-negative-epsilon): Add doc-strings,
888 based on those in cl.texi.
889
51bc5f8b
GM
890 * files.el (set-visited-file-name): If the major-mode changed,
891 reload the local variables. (Bug#9796)
892
15de15c6
CY
8932011-10-27 Chong Yidong <cyd@gnu.org>
894
895 * subr.el (change-major-mode-after-body-hook): New hook.
896 (run-mode-hooks): Run it.
897
ee1f1da9
SM
898 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
899 Use change-major-mode-before-body-hook.
15de15c6
CY
900
901 * simple.el (fundamental-mode):
902 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
903 change introducing fundamental-mode-hook.
904
5430d399
JB
9052011-10-26 Juanma Barranquero <lekktu@gmail.com>
906
acc825c5 907 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 908
ad74a69e
MA
9092011-10-26 Michael Albinus <michael.albinus@gmx.de>
910
911 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 912 tramp.el explicitly. (Bug#7583)
ad74a69e 913
71d4c2a5
SM
9142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * progmodes/octave-mod.el:
917 * progmodes/octave-inf.el: Update maintainer.
918
b1f6fa26
CY
9192011-10-26 Chong Yidong <cyd@gnu.org>
920
921 * subr.el (with-wrapper-hook): Rewrite doc.
922
3f04efd6
MA
9232011-10-25 Michael Albinus <michael.albinus@gmx.de>
924
925 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 926 filenames "/method:foo:". (Bug#9793)
3f04efd6 927
410488d3
SM
9282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
931 (bug#9865).
932
c1ebb47e
GM
9332011-10-24 Glenn Morris <rgm@gnu.org>
934
935 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
936
7f5c46c7
MA
9372011-10-24 Michael Albinus <michael.albinus@gmx.de>
938
939 * notifications.el: Add the requirement of a running D-Bus session
940 bus to the Commentary.
941
db2440b6
JL
9422011-10-24 Juri Linkov <juri@jurta.org>
943
944 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
945 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
946 (Bug#9364)
947
feecf435
JL
9482011-10-24 Juri Linkov <juri@jurta.org>
949
950 * info.el (Info-following-node-name-re): Add newline to the list
951 of allowed characters for leading space. (Bug#9824)
952
a3839de2
SM
9532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
954
acc825c5
SM
955 * progmodes/octave-inf.el (inferior-octave-mode-map):
956 Fix C-c C-h binding.
a3839de2
SM
957 * progmodes/octave-mod.el (octave-help): Remove.
958
09388e76
MA
9592011-10-23 Michael Albinus <michael.albinus@gmx.de>
960
961 Sync with Tramp 2.2.3.
962
963 * net/tramp-cache.el (top): Pacify byte-compiler using
964 `init-file-user' and `site-run-file'.
965
966 * net/trampver.el: Update release number.
967
86c60681
CY
9682011-10-23 Chong Yidong <cyd@gnu.org>
969
970 * files.el (toggle-read-only): Remove obsolete comment about
971 version control.
972
973 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
974 for toggle-read-only. Note that this hasn't called vc-next-action
975 since 2008-05-02, though it wasn't documented at the time.
976
a3839de2
SM
977 * vc/ediff-init.el (ediff-toggle-read-only-function):
978 Use toggle-read-only.
86c60681 979
cd5495ff
AM
9802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
981
982 Fix bug #9560, sporadic wrong indentation; improve instrumentation
983 of c-parse-state.
984
00b77525 985 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 986 correct faulty logical expression.
cd5495ff
AM
987 (c-parse-state-state, c-record-parse-state-state):
988 (c-replay-parse-state-state): New defvar/defuns.
989 (c-debug-parse-state): Use new functions.
990
42ee24ed
MR
9912011-10-22 Martin Rudalics <rudalics@gmx.at>
992
993 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 994 last fix. Use window-in-direction correctly.
42ee24ed 995
a7dee7e7
CY
9962011-10-21 Chong Yidong <cyd@gnu.org>
997
998 * progmodes/idlwave.el (idlwave-mode):
999 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1000 require-final-newline; that's done in prog-mode.
1001 Suggested by Stefan Monnier.
a7dee7e7 1002
e07b9a6d
MR
10032011-10-21 Martin Rudalics <rudalics@gmx.at>
1004
1005 * mouse.el (mouse-drag-window-above)
1006 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1007 (mouse-drag-mode-line-1, mouse-drag-header-line)
1008 (mouse-drag-vertical-line-rightward-window): Remove.
1009 (mouse-drag-line): New function.
1010 (mouse-drag-mode-line, mouse-drag-header-line)
1011 (mouse-drag-vertical-line): Call mouse-drag-line.
1012 * window.el (window-at-side-p, windows-at-side): New functions.
1013
7e1361d9
UM
10142011-10-21 Ulrich Mueller <ulm@gentoo.org>
1015
1016 * tar-mode.el (tar-grind-file-mode):
1017 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1018
30fcaf3a
CY
10192011-10-21 Chong Yidong <cyd@gnu.org>
1020
1021 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1022 * progmodes/vera-mode.el (vera-mode):
1023 Use mode-require-final-newline.
30fcaf3a 1024
516eddb0
GM
10252011-10-20 Glenn Morris <rgm@gnu.org>
1026
db22a3c2 1027 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1028
10d5f513
CS
10292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1030
1031 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1032
ac6c8639
CY
10332011-10-20 Chong Yidong <cyd@gnu.org>
1034
1035 * emulation/cua-base.el (cua-mode):
1036 * mail/footnote.el (footnote-mode):
1037 * mail/mailabbrev.el (mail-abbrevs-mode):
1038 * net/xesam.el (xesam-minor-mode):
1039 * progmodes/bug-reference.el (bug-reference-mode):
1040 * progmodes/cap-words.el (capitalized-words-mode):
1041 * progmodes/compile.el (compilation-minor-mode)
1042 (compilation-shell-minor-mode):
1043 * progmodes/gud.el (gud-tooltip-mode):
1044 * progmodes/hideif.el (hide-ifdef-mode):
1045 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1046 * progmodes/subword.el (subword-mode):
1047 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1048 * progmodes/which-func.el (which-function-mode):
1049 * term/tvi970.el (tvi970-set-keypad-mode):
1050 * term/vt100.el (vt100-wide-mode):
1051 * textmodes/flyspell.el (flyspell-mode):
1052 * textmodes/ispell.el (ispell-minor-mode):
1053 * textmodes/nroff-mode.el (nroff-electric-mode):
1054 * textmodes/paragraphs.el (use-hard-newlines):
1055 * textmodes/refill.el (refill-mode):
1056 * textmodes/reftex.el (reftex-mode):
1057 * textmodes/rst.el (rst-minor-mode):
1058 * textmodes/sgml-mode.el (html-autoview-mode)
1059 (sgml-electric-tag-pair-mode):
1060 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1061 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1062 * emulation/crisp.el (crisp-mode):
1063 * emacs-lisp/eldoc.el (eldoc-mode):
1064 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1065 minor mode behavior.
1066
aa42ab43
JL
10672011-10-19 Juri Linkov <juri@jurta.org>
1068
1069 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1070 the list of hard-coded chars with escape-glyph face.
1071
89400f1d
SM
10722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1075
305c07f6
MA
10762011-10-19 Michael Albinus <michael.albinus@gmx.de>
1077
1078 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1079 running process.
1080
13754b54
GM
10812011-10-19 Glenn Morris <rgm@gnu.org>
1082
1083 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1084 Ignore ignored files. (Bug#9726)
1085
06e21633
CY
10862011-10-19 Chong Yidong <cyd@gnu.org>
1087
1088 Doc fix for minor modes, stating that an omitted argument enables
1089 the mode unconditionally when called from Lisp.
1090
1091 * abbrev.el (abbrev-mode):
1092 * allout.el (allout-mode):
1093 * autoinsert.el (auto-insert-mode):
1094 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1095 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1096 (global-auto-revert-mode):
1097 * battery.el (display-battery-mode):
1098 * composite.el (global-auto-composition-mode)
1099 (auto-composition-mode):
1100 * delsel.el (delete-selection-mode):
1101 * desktop.el (desktop-save-mode):
1102 * dired-x.el (dired-omit-mode):
1103 * dirtrack.el (dirtrack-mode):
1104 * doc-view.el (doc-view-minor-mode):
1105 * double.el (double-mode):
1106 * electric.el (electric-indent-mode, electric-pair-mode):
1107 * emacs-lock.el (emacs-lock-mode):
1108 * epa-hook.el (auto-encryption-mode):
1109 * follow.el (follow-mode):
1110 * font-core.el (font-lock-mode):
1111 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1112 * help.el (temp-buffer-resize-mode):
1113 * hilit-chg.el (highlight-changes-mode)
1114 (highlight-changes-visible-mode):
1115 * hi-lock.el (hi-lock-mode):
1116 * hl-line.el (hl-line-mode, global-hl-line-mode):
1117 * icomplete.el (icomplete-mode):
1118 * ido.el (ido-everywhere):
1119 * image-file.el (auto-image-file-mode):
1120 * image-mode.el (image-minor-mode):
1121 * iswitchb.el (iswitchb-mode):
1122 * jka-cmpr-hook.el (auto-compression-mode):
1123 * linum.el (linum-mode):
1124 * longlines.el (longlines-mode):
1125 * master.el (master-mode):
1126 * mb-depth.el (minibuffer-depth-indicate-mode):
1127 * menu-bar.el (menu-bar-mode):
1128 * minibuf-eldef.el (minibuffer-electric-default-mode):
1129 * mouse-sel.el (mouse-sel-mode):
1130 * msb.el (msb-mode):
1131 * mwheel.el (mouse-wheel-mode):
1132 * outline.el (outline-minor-mode):
1133 * paren.el (show-paren-mode):
1134 * recentf.el (recentf-mode):
1135 * reveal.el (reveal-mode, global-reveal-mode):
1136 * rfn-eshadow.el (file-name-shadow-mode):
1137 * ruler-mode.el (ruler-mode):
1138 * savehist.el (savehist-mode):
1139 * scroll-all.el (scroll-all-mode):
1140 * scroll-bar.el (scroll-bar-mode):
1141 * server.el (server-mode):
1142 * shell.el (shell-dirtrack-mode):
1143 * simple.el (auto-fill-mode, transient-mark-mode)
1144 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1145 (line-number-mode, column-number-mode, size-indication-mode)
1146 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1147 * strokes.el (strokes-mode):
1148 * time.el (display-time-mode):
1149 * t-mouse.el (gpm-mouse-mode):
1150 * tool-bar.el (tool-bar-mode):
1151 * tooltip.el (tooltip-mode):
1152 * type-break.el (type-break-mode-line-message-mode)
1153 (type-break-query-mode):
1154 * view.el (view-mode):
1155 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1156 (global-whitespace-mode, global-whitespace-newline-mode):
1157 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1158
a3839de2
SM
1159 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1160 Fix autogenerated docstring.
06e21633 1161
5214e501
JL
11622011-10-19 Juri Linkov <juri@jurta.org>
1163
1164 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1165 by checking environment variables "DESKTOP_SESSION" and
1166 "XDG_CURRENT_DESKTOP". (Bug#9779)
1167
195f8db9
JL
11682011-10-19 Juri Linkov <juri@jurta.org>
1169
1170 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1171 (browse-url-chromium-program, browse-url-chromium-arguments):
1172 New defcustoms.
1173 (browse-url-default-browser): Check for `browse-url-chromium' and
1174 call `browse-url-chromium-program'.
1175 (browse-url-chromium): New command. (Bug#9779)
1176
343a34ff
JB
11772011-10-18 Juanma Barranquero <lekktu@gmail.com>
1178
1179 * facemenu.el (list-colors-duplicates): On Windows, detect more
1180 duplicates by assuming that only colors matching "^System" are
1181 special "system colors". (Bug#9722)
1182
6978a151
SM
11832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1186 to distinguish the author from the committer.
1187
6a80b297
MA
11882011-10-18 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1191
b31a5677
JK
11922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1193
1194 * international/mule.el (sgml-html-meta-auto-coding-function):
1195 Add support for detecting encoding in HTML5 specified only as
1196 <meta charset="UTF-8">. Implementation just makes http-equiv and
1197 content-type parts from HTML4 encoding string optional. (Bug#9716)
1198
80c6d77f
GM
11992011-10-18 Glenn Morris <rgm@gnu.org>
1200
1201 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1202
08b0fee8
CY
12032011-10-18 Chong Yidong <cyd@gnu.org>
1204
1205 * faces.el (cursor): Doc fix.
1206
67e729a5
CY
12072011-10-17 Chong Yidong <cyd@gnu.org>
1208
1209 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1210
343a34ff 12112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1212
1213 * dirtrack.el (dirtrack): Support shell buffers with path
1214 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1215
0bc06380
TZ
12162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1217
1218 * json.el: Bump version to 1.3 and note change in History.
1219 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1220
8b79f3e0
SM
12212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1222
5a7c536b
SM
1223 * comint.el (comint-insert-input, comint-send-input)
1224 (comint-get-old-input-default, comint-backward-matching-input)
1225 (comint-next-prompt): Use nil instead of `input' for field property of
1226 past user input (bug#114).
1227
96a8a0df
SM
1228 * minibuffer.el (completion--replace): Inherit surrounding properties
1229 (bug#114).
1230 (minibuffer-complete-and-exit): Use it.
1231
8b79f3e0
SM
1232 * comint.el (comint--table-subvert): Quote the all-completions output
1233 (bug#9160).
1234
b8f7ff0d
MR
12352011-10-17 Martin Rudalics <rudalics@gmx.at>
1236
8b79f3e0 1237 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1238
b8f7ff0d 1239 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1240 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1241 entries and separate them from frame entries.
1242
c235b555
GM
12432011-10-15 Glenn Morris <rgm@gnu.org>
1244
1245 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1246 Doc fixes.
1247
6bbfa6e1
CY
12482011-10-15 Chong Yidong <cyd@stupidchicken.com>
1249
8b79f3e0
SM
1250 * net/network-stream.el (network-stream-open-starttls):
1251 Improve detection of failure due to lack of TLS support.
ec5c990d 1252
6bbfa6e1
CY
1253 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1254 putting the input text in front and in bold.
1255
98488977
SM
12562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1257
3d1337be
SM
1258 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1259
ee0b45e4
SM
1260 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1261 empty buffer.
1262
98488977
SM
1263 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1264 unread-command-events rather than pushing yet-another event.
1265
186f4720
EZ
12662011-10-14 Eli Zaretskii <eliz@gnu.org>
1267
1268 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1269 the explanation of the possible choices. Make the options passed
1270 to completing-read shorter.
1271
8b7a997c
AM
12722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1273
1274 * textmodes/flyspell.el (flyspell-large-region): Make sure
1275 extended character mode is used if defined (Bug#1339).
1276
12587bbb
EZ
12772011-10-13 Eli Zaretskii <eliz@gnu.org>
1278
1279 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1280 character info for LRE, LRO, RLE, and RLO characters by appending
1281 an invisible PDF.
12587bbb 1282
bad41229
SM
12832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1286 even in case of error; add debug spec; simplify data flow.
1287 (with-timeout-handler): Remove.
1288
28dbc92f
MA
12892011-10-12 Michael Albinus <michael.albinus@gmx.de>
1290
1291 Fix Bug#6019, Bug#9315.
1292
1293 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1294 complete `buffer-file-name', the local file name part could look
1295 remotely (for example on VMS).
1296
1297 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1298 `tramp-run-real-handler'.
1299 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1300 already quoted by '"'.
1301
1302 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1303 Let `file-name-handler-alist' be nil, the local file name part
1304 could look remotely (for example on VMS).
1305
e1b0b23a
SM
13062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1309 from here...
1310 (flyspell-post-command-hook): ...to here.
1311
a120bde9
SM
13122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1315 if not needed.
1316 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1317 using completion. Protect against "slow" callers.
1318 Remove the "message hack".
1319
7ce7717b
JL
13202011-10-11 Juri Linkov <juri@jurta.org>
1321
1322 * isearch.el (isearch-lazy-highlight-word): New variable.
1323 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1324 Use it. (Bug#9727)
1325
c02ee9d6
GM
13262011-10-11 Glenn Morris <rgm@gnu.org>
1327
1328 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1329 like f90-previous-statement does.
1330
93e616fd 13312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1332
1f190e73 1333 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1334 only in interactive use, to avoid error.
1335
af7b6078
SM
13362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * minibuffer.el (completion-file-name-table): Fix last change,
1339 i.e. ignore normal errors but not the other ones.
1340
0563dae9
MR
13412011-10-10 Martin Rudalics <rudalics@gmx.at>
1342
1343 * window.el (special-display-buffer-names)
1344 (special-display-regexps): Remove some remnants of earlier
1345 changes from doc-strings.
366ca7f3
MR
1346 (quit-windows-on): New function.
1347
1348 * vc/vc.el (vc-revert, vc-rollback):
1349 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1350 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1351 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1352
49677495
MR
13532011-10-09 Martin Rudalics <rudalics@gmx.at>
1354
1355 * window.el (frame-auto-hide-function): Add version tag.
1356 (Bug#9699)
1357
56f2d1e1
MA
13582011-10-09 Michael Albinus <michael.albinus@gmx.de>
1359
1360 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1361 condition.
1362
112a6592
LL
13632011-10-09 Leo Liu <sdl.web@gmail.com>
1364
1365 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1366 (Bug#9701)
1367
0812589b
GM
13682011-10-08 Glenn Morris <rgm@gnu.org>
1369
1370 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1371 before the first code statement zero indent. (Bug#9690)
1372
b2b0776e
CY
13732011-10-08 Chong Yidong <cyd@stupidchicken.com>
1374
1375 * simple.el (count-words-region): Always count in the region.
1376 Report the number of lines and characters too.
1377 (count-words): New command, which counts in the buffer if the
1378 region is inactive, as count-words-region used to.
1379 (count-words--message): New function. Handle plurals.
1380 (count-lines-region): Make it an alias for count-words-region.
1381
1382 * bindings.el (esc-map): Replace count-lines-region with
1383 count-words-region.
1384
c557cd6b
MR
13852011-10-08 Martin Rudalics <rudalics@gmx.at>
1386
1387 * window.el (window--delete): Delete dedicated frame
1388 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1389 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1390
61a57ef4 13912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1392
1393 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1394
c3833279
CY
13952011-10-07 Chong Yidong <cyd@stupidchicken.com>
1396
1397 * bindings.el ([M-left],[M-right]): Bind to left-word and
1398 right-word respectively.
1399
21ce8245
GM
14002011-10-07 Glenn Morris <rgm@gnu.org>
1401
1402 * cus-start.el (debug-on-quit): Fix custom type.
1403
6d823bb2
LMI
14042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1405
0181e193
LMI
1406 * subr.el (define-key-after): Clarify that the function is not
1407 useful for non-menu keymaps.
1408
6d823bb2
LMI
1409 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1410
8e3459ce 14112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1412
21ce8245 1413 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1414 in current minibuffer (Fix bug with recursive minibuffers).
1415
a1c2d21e
CY
14162011-10-06 Chong Yidong <cyd@stupidchicken.com>
1417
1418 * progmodes/gdb-mi.el (gdb): Doc fix.
1419
5a4cf282
MR
14202011-10-05 Martin Rudalics <rudalics@gmx.at>
1421
1422 * window.el (frame-auto-hide-function): New option replacing
1423 frame-auto-delete. Suggested by Stefan Monnier.
1424 (window--delete): Call frame-auto-hide-function instead of
1425 investigating frame-auto-delete.
c96111ea
MR
1426 (window-point-1, set-window-point-1): New functions.
1427 (window-in-direction, record-window-buffer, window-state-get-1)
1428 (display-buffer-record-window): Use window-point-1 instead of
1429 window-point.
1430 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1431
9854542e
SM
14322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1435
8943cfb0
GM
14362011-10-05 Glenn Morris <rgm@gnu.org>
1437
1438 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1439 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1440
647ab967
LL
14412011-10-05 Leo Liu <sdl.web@gmail.com>
1442
1443 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1444 works with buffer object.
1445
3ddfbced
SM
14462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * mpc.el (mpc-tool-bar-map): Add labels.
1449
bdfa5dd2
GM
14502011-10-04 Glenn Morris <rgm@gnu.org>
1451
1452 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1453
0e2070b5
MR
14542011-10-04 Martin Rudalics <rudalics@gmx.at>
1455
1456 * window.el (window--delete): New function.
1457 (frame-auto-delete): Resuscitate option.
1458 (bury-buffer, replace-buffer-in-windows)
1459 (quit-window): Rewrite using window--delete.
1460 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1461 Pass display-buffer-mark-dedicated to window--display-buffer-2
1462 (Bug#9639).
1463
3dc61a09
SM
14642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1465
915a9b64
SM
1466 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1467 returns a list (bug#9554). Add remote file name completion.
1468 * comint.el (comint--table-subvert): Curry and get quote&unquote
1469 functions as arguments.
1470 (comint--complete-file-name-data): Adjust call accordingly.
1471 * pcomplete.el (pcomplete--table-subvert): Remove.
1472 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1473
3dc61a09
SM
1474 * minibuffer.el (completion-table-case-fold): Use currying.
1475 (completion--styles-type, completion--cycling-threshold-type):
1476 New constants.
1477 (completion-styles, completion-category-overrides)
1478 (completion-cycle-threshold): Use them.
1479 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1480 completion-table-case-fold.
1481
8ea0a993
SB
14822011-10-03 Stephen Berman <stephen.berman@gmx.net>
1483
1484 * minibuffer.el (completion-category-overrides): Fix type of styles
1485 and add more user friendly tags (bug#9660).
1486
8c24b7f6
SM
14872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1490 (mule-input-method-string): New widget.
1491 (default-input-method, language-info-custom-alist): Use it.
1492
428fe61a
SM
14932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1494
32c1fffd
SM
1495 * pcomplete.el: Require comint.
1496 (pcomplete--common-suffix): Remove.
1497 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1498 (pcomplete--table-subvert): Sync with comint--table-subvert.
1499 (pcomplete--entries): Use comint-completion-file-name-table.
1500 * comint.el (comint-unquote-filename): Simplify.
1501 (comint-completion-file-name-table): New function (bug#9616).
1502 (comint--complete-file-name-data): Use it.
1503
428fe61a
SM
1504 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1505 (pcmpl-gnu-tar-buffer): Remove.
1506 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1507 around. Make sure pcomplete-suffix-list is only changed temporarily.
1508 Don't look inside the tar's file if it's too large.
428fe61a 1509
04c52e2f
CY
15102011-10-01 Chong Yidong <cyd@stupidchicken.com>
1511
ce3cefcc
CY
1512 * cus-edit.el (custom-mode-map):
1513 * epa.el (epa-key-list-mode-map):
1514 * man.el (Man-mode-map):
1515 * startup.el (splash-screen-keymap):
1516 * simple.el (special-mode-map): Use scroll-up-command and
1517 scroll-down-command.
1518
1519 * progmodes/idlw-help.el (idlwave-help-mode-map):
1520 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1521 * net/newst-plainview.el (newsticker-mode-map):
1522 * emulation/ws-mode.el (wordstar-mode-map):
1523 * emulation/vi.el (vi-com-map):
1524 * calc/calc-graph.el (calc-graph-show-dumb):
1525 * term/sun.el (terminal-init-sun):
1526 * term/ns-win.el (global-map):
1527 * progmodes/grep.el (grep-mode-map):
1528 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1529 * mail/rmail.el (rmail-mode-map):
1530 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1531
04c52e2f
CY
1532 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1533 custom-safe-themes as special.
1534
79adf8c8
JD
15352011-10-01 Julien Danjou <julien@danjou.info>
1536
1537 * notifications.el (notifications-notify): Fix docstring.
1538
63bd50d3
PS
15392011-10-01 Per Starbäck <per@starback.se>
1540
1541 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1542
199e4c7e
MR
15432011-09-30 Martin Rudalics <rudalics@gmx.at>
1544
1545 * startup.el (command-line-1): Fix last fix by inserting
1546 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1547 (Bug#9605) and (Bug#9636)
199e4c7e 1548
fe5f08dd
EZ
15492011-09-29 Eli Zaretskii <eliz@gnu.org>
1550
1551 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1552 window is hscrolled, move by logical lines. (Bug#9607)
1553 (line-move-visual): Update the doc string to the above effect.
1554
b5516bbd
MR
15552011-09-29 Martin Rudalics <rudalics@gmx.at>
1556
ccee00c0
MR
1557 * window.el (display-buffer-record-window): When WINDOW is the
1558 selected window use `point' instead of `window-point'. (Bug#9626)
1559
b5516bbd
MR
1560 * startup.el (command-line-1): Use insert-before-markers when
1561 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1562
b5516bbd
MR
1563 * help.el (help-window): Remove variable.
1564
52aa0014
GM
15652011-09-29 Glenn Morris <rgm@gnu.org>
1566
1567 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1568
df9a7357
JB
15692011-09-29 Juanma Barranquero <lekktu@gmail.com>
1570
1571 * descr-text.el (describe-char-categories): Accept category
1572 descriptions more than one line long.
1573
a8406c20
SM
15742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1575
88d9610c
SM
1576 * simple.el (delete-trailing-whitespace): Fix last change.
1577
a5daf810
SM
1578 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1579 Don't confuse "y => 3" as the beginning of a `y' operation.
1580
a8406c20
SM
1581 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1582 object has more than 4 slots (bug#9613).
1583
a239d4e9
JB
15842011-09-28 Juanma Barranquero <lekktu@gmail.com>
1585
1586 * subr.el (with-output-to-temp-buffer):
1587 * net/quickurl.el (quickurl, quickurl-browse-url):
1588 Fix typos in docstrings.
1589
693fbdb6
EZ
15902011-09-27 Eli Zaretskii <eliz@gnu.org>
1591
1592 * minibuffer.el (completion-styles)
1593 (completion-category-overrides): Cross reference each other in doc
1594 strings.
1595
8b457e28
GM
15962011-09-27 Glenn Morris <rgm@gnu.org>
1597
1598 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1599 to split-string. (Bug#9606)
1600
85a16208
LMI
16012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1602
1603 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1604 (bug#9615).
1605
502f9ebd
CY
16062011-09-27 Chong Yidong <cyd@stupidchicken.com>
1607
1608 * emacs-lisp/package.el (list-packages): Fix echo area message.
1609
7690bdea
LL
16102011-09-27 Leo Liu <sdl.web@gmail.com>
1611
1612 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1613
e2ee6f30
MA
16142011-09-25 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * net/dbus.el (dbus-unregister-object): Don't release services for
1617 registered signals. (Bug#9581)
1618
f3f98342
TZ
16192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1620
1621 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1622 function that picks between cfengine 2 and 3 support
1623 automatically. Update docs accordingly.
1624
dd7aa8dd
KH
16252011-09-22 Kenichi Handa <handa@m17n.org>
1626
1627 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1628 ZERO.
1629 (indian-itrans-v5-table-for-tamil): New variable.
1630 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1631
3f2b07f8
KM
16322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1633
1634 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1635 that's true if the current command involved collapsing of text.
1636 It's reset to false at the beginning of the next command.
1637 (allout-post-command-business): Move the cursor to the beginning
1638 of entry if the cursor is hidden and collapsing activity just
1639 happened.
1640
371d6a61
CY
16412011-09-24 Chong Yidong <cyd@stupidchicken.com>
1642
1643 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1644 tracking (Bug#9541).
1645
2ac2721a
UJ
16462011-09-24 Ulf Jasper <ulf.jasper@web.de>
1647
1648 * net/newst-reader.el (newsticker-html-renderer)
1649 (newsticker-show-news): Automatically
343a34ff
JB
1650 load html rendering package if newsticker-html-renderer is set.
1651 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1652 let-bound" and the error "Symbol's value as variable is void:
1653 w3m-fill-column".
1654
fac7ae53
MA
16552011-09-24 Michael Albinus <michael.albinus@gmx.de>
1656
1657 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1658 Release services only if they are defined. (Bug#9581)
1659
e08b633b
RS
16602011-09-23 Richard Stallman <rms@gnu.org>
1661
e488d29c
RS
1662 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1663 distinguish start of paragraph from start of its text.
1664
19c38752
RS
1665 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1666
e08b633b
RS
1667 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1668 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1669 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1670
0a39f27e
AS
16712011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1672
1673 * international/mule-diag.el (mule-diag): Insert a newline after
1674 each fontset description.
1675
db4e950d
SM
16762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * simple.el (delete-trailing-whitespace):
1679 Document last change; simplify.
1680
eca3f3ea
PW
16812011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1682
d68e189a
PW
1683 * simple.el (delete-trailing-whitespace): Also delete
1684 extra newlines at the end of the buffer.
1685
eca3f3ea
PW
1686 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1687 (picture-newline): Use forward-line so as to ignore fields.
1688
01c157cc
SM
16892011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * subr.el (with-wrapper-hook): Fix edebug spec.
1692
022de23e
LMI
16932011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1694
1695 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1696 (bug#4538).
1697
91683089
MA
16982011-09-23 Michael Albinus <michael.albinus@gmx.de>
1699
eca3f3ea
PW
1700 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1701 Fix nasty bug using wrong cached values.
91683089 1702
5bdd6fa4
AM
17032011-09-23 Alan Mackenzie <acm@muc.de>
1704
1705 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1706
97adfb97
CY
17072011-09-23 Chong Yidong <cyd@stupidchicken.com>
1708
1709 * window.el (pop-to-buffer): Ensure right window is selected if we
1710 chose another frame.
1711
d4ef2b50
EZ
17122011-09-22 Eli Zaretskii <eliz@gnu.org>
1713
1714 * simple.el (what-cursor-position): Use get-char-property-change
1715 and next-single-char-property-change, to be able to show display
1716 properties that come from overlays as well as text properties.
1717
72258fe5
CY
17182011-09-22 Chong Yidong <cyd@stupidchicken.com>
1719
1720 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1721
1722 * cmuscheme.el (run-scheme, switch-to-scheme):
1723 * cus-edit.el (customize-group, custom-buffer-create)
1724 (customize-browse):
1725 * info.el (info):
1726 * shell.el (shell):
1727 * mail/sendmail.el (mail):
1728 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1729
8f098516
RS
17302011-09-22 Richard Stallman <rms@gnu.org>
1731
1732 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1733 move back only to line beg, don't move back over blank lines.
1734
e74f1bb6
MA
17352011-09-22 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * files.el (copy-directory): Set directory attributes only in case
1738 they could be retrieved from the source directory. (Bug#9565)
1739
bfeef8b6
DK
17402011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1741
1742 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1743 (hs-find-block-beginning, hs-hide-level-recursive):
1744 Ignore strings as well as comments. (Bug#9502)
1745
7e423bb8
AS
17462011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1747
1748 * progmodes/sql.el (sql-comint-postgres):
1749 Convert port number to a string. (Bug#9566)
1750
b4d72fcf
MR
17512011-09-22 Martin Rudalics <rudalics@gmx.at>
1752
1753 * window.el (quit-window): Undedicate window when switching to
1754 previous buffer. Reported by Thierry Volpiatto
1755 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1756 (special-display-popup-frame): When popping up a new frame reset
1757 its previous buffers to nil. Simplify code.
b4d72fcf 1758
a7b88dc6
MA
17592011-09-21 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1762 and process filter, as done also in `shell-command'.
1763
cf4eacfd
MR
17642011-09-21 Martin Rudalics <rudalics@gmx.at>
1765
eca3f3ea
PW
1766 * window.el (set-window-buffer-start-and-point):
1767 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1768 Volpiatto <thierry.volpiatto@gmail.com>.
1769 (quit-window): Reword doc-string. Handle new format of
1770 quit-restore parameter. Don't delete window if it has a
1771 previous buffer we can show instead of the present one.
1772 (display-buffer-record-window): Rewrite using a new format for
1773 the quit-restore window parameter
1774 (special-display-popup-frame, display-buffer-same-window)
1775 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1776 (display-buffer-pop-up-window, display-buffer-use-some-window):
1777 Adapt symbol passed to display-buffer-record-window.
1778 * help.el (help-window-setup): Handle new format of quit-restore
1779 parameter.
1780
8d28cb95
SM
17812011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1782
94ab793f
SM
1783 * faces.el (face-list): Fix docstring (bug#9564).
1784
8d28cb95
SM
1785 * window.el (display-buffer--action-function-custom-type):
1786 Don't include internal functions in the Custom interface.
1787
3820edeb
JL
17882011-09-20 Juri Linkov <juri@jurta.org>
1789
1790 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1791 (Info-forward-node, Info-backward-node, Info-next-preorder)
1792 (Info-last-preorder): Use it. (Bug#9528)
1793
5147931d
JL
17942011-09-20 Juri Linkov <juri@jurta.org>
1795
1796 * info.el (Info-last-preorder): Visit last menu item only when
1797 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1798
cf499a1a
JD
17992011-09-20 Julien Danjou <julien@danjou.info>
1800
1801 * password-cache.el (password-cache-remove): Remove entries even if the
1802 value is nil, so that password with a nil value (negative caching) is
1803 possible to invalidate.
1804
f84e2fe2
LM
18052011-09-20 Lawrence Mitchell <wence@gmx.li>
1806
1807 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1808 all whitespace around breakpoint. (Bug#9553)
1809 (f90-find-breakpoint): Only break at whitespace inside a comment.
1810
78054a46
SM
18112011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * minibuffer.el (completion-file-name-table): Keep track of errors.
1814 (completion-table-with-predicate): Handle the case where pred1 is nil.
1815 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1816
345083b2
SM
18172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1818
e24e27be
SM
1819 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1820 (debugger-return-value): Signal an error if the debugging context does
1821 not await any return value.
1822
345083b2
SM
1823 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1824 * image-mode.el (image-toggle-display-text)
1825 (image-toggle-display-image): Stay away from evil `intangible'.
1826
08d355e3
LL
18272011-09-19 Leo Liu <sdl.web@gmail.com>
1828
1829 * replace.el (occur-revert-arguments): Make it permanent-local.
1830 (occur-mode): Don't call font-lock-defontify.
1831
f01da43f
CY
18322011-09-19 Chong Yidong <cyd@stupidchicken.com>
1833
1834 * net/ldap.el (ldap-search-internal): Don't push empty search
1835 result (Bug#9508).
1836
b6072fa6
SM
18372011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1840
443d6696
MA
18412011-09-19 Michael Albinus <michael.albinus@gmx.de>
1842
1843 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1844 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1845
7cc6e154
JL
18462011-09-18 Juri Linkov <juri@jurta.org>
1847
1848 * buff-menu.el (Buffer-menu-mode-map):
1849 * dired.el (dired-mode-map):
1850 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1851 (lisp-interaction-mode-map):
1852 * emacs-lisp/package.el (package-menu-mode-map):
1853 * epa.el (epa-key-list-mode-map):
1854 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1855 (menu-bar-options-menu):
1856 * outline.el (outline-mode-menu-bar-map):
1857 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1858 * vc/vc-dir.el (vc-dir-menu-map):
1859 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1860 Capitalize non-function content words in menu item strings.
1861
1862 * dired.el (dired-mode-map): Add menu item for
1863 `image-dired-dired-toggle-marked-thumbs'.
1864
80302a81
JL
18652011-09-18 Juri Linkov <juri@jurta.org>
1866
1867 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1868 to `isearch-case-fold-search' and restore its original value
1869 after the `isearch-mode' call.
1870
46c5cf66
JL
18712011-09-18 Juri Linkov <juri@jurta.org>
1872
1873 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1874 because `zgrep' returns 1 for successful matches (bug#9226).
1875
d18b513b
JL
18762011-09-18 Juri Linkov <juri@jurta.org>
1877
1878 * info.el (Info-extract-menu-node-name): Check the second match
1879 for empty string (second test-case of bug#9528).
1880 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1881 intermediate nodes to the history (first test-case of bug#9528).
1882
72753f87
JL
18832011-09-18 Juri Linkov <juri@jurta.org>
1884
1885 * info.el (Info-mode-syntax-table): New variable.
1886 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1887
c9384295
JL
18882011-09-18 Juri Linkov <juri@jurta.org>
1889
1890 * info.el (Info-file-supports-index-cookies): Increment
1891 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1892 one more line for long file names (bug#4142).
1893
d473dce8
CY
18942011-09-18 Chong Yidong <cyd@stupidchicken.com>
1895
1896 * newcomment.el (comment-normalize-vars): If prompting for
1897 comment-start, set comment-start-skip too (Bug#8424).
1898
2176854d
JB
18992011-09-18 Johan Bockgård <bojohan@gnu.org>
1900
1901 * icomplete.el: Fix previous fix of Bug#5849.
1902 (icomplete-mode): Don't set completion-show-inline-help.
1903 (icomplete-minibuffer-setup): Set completion-show-inline-help
1904 locally during icompletion.
1905
3aace4e4
CY
19062011-09-18 Chong Yidong <cyd@stupidchicken.com>
1907
c940224f
CY
1908 * woman.el (woman2-process-escapes): Don't delete unrecognized
1909 escapes (Bug#7843).
1910
3aace4e4
CY
1911 * files.el (inhibit-first-line-modes-regexps): Add image files.
1912 (hack-local-variables-prop-line): Return nil for malformed
1913 prop-lines (Bug#9044).
1914
710dec63
MA
19152011-09-18 Michael Albinus <michael.albinus@gmx.de>
1916
1917 * net/tramp.el (top): Don't require 'shell.
1918 (tramp-methods): Fix docstring.
1919 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1920 Return complete remote file name. Handle "smb" case.
1921 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1922 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1923
1924 * net/tramp-compat.el (top): Require 'shell.
1925
1926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1927 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1928 `tramp-current-host'.
1929 (tramp-get-remote-tmpdir): Remove.
1930
1931 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1932 `tramp-tmpdir' entries.
1933 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1934 (tramp-smb-handle-file-attributes): Ignore errors.
1935 (tramp-smb-wait-for-output): Check also for process end.
1936
5d5ac8ec
LMI
19372011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1938
1939 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1940 when sending QUIT (bug#9312).
1941
8c0f49f0
CY
19422011-09-17 Chong Yidong <cyd@stupidchicken.com>
1943
1944 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1945 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1946 occur-mode-display-occurrence.
1947 (occur-edit-mode): Add usage message.
1948 (occur-cease-edit): New command.
1949 (occur-after-change-function): Use text properties to find the
1950 position of the prefix text.
1951 (occur-engine): Set stickiness of prefix text properties.
1952
8f1383f7
GM
19532011-09-17 Glenn Morris <rgm@gnu.org>
1954
1955 * progmodes/etags.el (complete-tag):
1956 Fix call to completion-in-region. (Bug#9526)
1957
744ba0e3
JL
19582011-09-17 Juri Linkov <juri@jurta.org>
1959
1960 * textmodes/ispell.el (ispell-word): Add to the error message
1961 the word, ispell program name and current dictionary (bug#9121).
1962 (ispell-tex-arg-end): Capitalize "error" in the error message.
1963
d9bbf400
AS
19642011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1965
1966 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1967 check. (Bug#4251)
1968
8da11505
JL
19692011-09-17 Juri Linkov <juri@jurta.org>
1970
1971 * window.el (window-safe-min-height, window-safe-min-width):
1972 Fix typos (followup to bug#9522).
1973
a91adc7e
SJ
19742011-09-17 Sven Joachim <svenjoac@gmx.de>
1975
1976 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1977
064f328a
EZ
19782011-09-16 Eli Zaretskii <eliz@gnu.org>
1979
1980 * simple.el (line-move): If goal-column is set, move by logical
1981 lines, not by display lines. (Bug#971)
1982 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1983 to reflect the above change.
1984
e69df516
SM
19852011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * image.el (imagemagick-register-types): Use regexp-opt.
1988
cbb0f9ab
CY
19892011-09-15 Chong Yidong <cyd@stupidchicken.com>
1990
1991 * window.el (display-buffer-base-action): Rename from
1992 display-buffer-default-action. Make default value empty.
1993 (display-buffer-overriding-action): Convert to defvar.
1994 (display-buffer-fallback-action): New var.
1995
25322144
CY
19962011-09-15 Chong Yidong <cyd@stupidchicken.com>
1997
1998 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1999 declaration.
2000 (package--add-to-archive-contents): If there is a duplicate entry
2001 with an older version, remove it.
2002 (package-menu-mark-delete, package-menu-mark-install)
2003 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2004 (package-menu-mark-obsolete-for-deletion):
2005 Use package-menu-get-status instead of a regexp search.
25322144
CY
2006 (package-menu-get-status): Use tabulated-list-entry.
2007 (package-menu-mark-upgrades): New command.
d770725a 2008 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2009 (package-menu-execute): Do installation before deletion.
2010 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2011 instead of checking major-mode.
2012 (package-menu--find-upgrades): New function.
2013
7520339c
LMI
20142011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2015
2016 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2017 passwords in the log buffer.
65a046c4
LMI
2018 (smtpmail-process-filter): Update the process marker so that the
2019 "broken by peer" status message is inserted in the right place.
7520339c 2020
d3c30954
SM
20212011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2022
3fe48822
SM
2023 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2024 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2025 bibtex-completion-at-point-function.
2026 (bibtex-completion-at-point-function): Use them.
2027
1b8b3954
SM
2028 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2029
d3c30954
SM
2030 * mpc.el (mpc-constraints-tag-lookup): New function.
2031 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2032 also to browser "album|playlist".
2033
72779976
JL
20342011-09-14 Juri Linkov <juri@jurta.org>
2035
2036 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2037 (isearch-edit-string): Use length of `isearch-string' when
2038 `isearch-fail-pos' returns nil.
2039 (isearch-message): Remove duplicate code and call
2040 `isearch-fail-pos' with arg `t'.
2041
a0bf2bcd
CY
20422011-09-14 Chong Yidong <cyd@stupidchicken.com>
2043
17bb0a2d
CY
2044 * replace.el (occur-mode-goto-occurrence): Don't force using other
2045 window (Bug#9499).
2046
a0bf2bcd
CY
2047 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2048
f678e0b6
MR
20492011-09-14 Martin Rudalics <rudalics@gmx.at>
2050
2051 * window.el (display-buffer-window): Remove.
2052 (display-buffer-record-window): Use help-setup window parameter
2053 instead of variable display-buffer-window.
2054 (display-buffer-function, special-display-buffer-names)
2055 (special-display-function): Mention help-setup parameter instead
2056 of display-buffer-window in doc-string.
d3c30954
SM
2057 * help.el (help-window-setup): New argument help-window.
2058 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2059 Reword some messages.
2060 (with-help-window): Pass window used for displaying the buffer
2061 to help-window-setup. Don't set display-buffer-window.
2062
8e39b2e8
GM
20632011-09-13 Glenn Morris <rgm@gnu.org>
2064
2065 * emacs-lisp/debug.el (debugger-make-xrefs):
2066 Preserve point. (Bug#9462)
2067
85e9c04b
CY
20682011-09-13 Chong Yidong <cyd@stupidchicken.com>
2069
2070 * window.el (window-deletable-p): Use next-frame.
2071
1b36ed6a
MR
20722011-09-13 Martin Rudalics <rudalics@gmx.at>
2073
2074 * window.el (window-auto-delete): Remove.
2075 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2076 dedication and previous buffers.
1b36ed6a
MR
2077 (switch-to-prev-buffer): Don't delete window.
2078 (delete-windows-on): Delete a window's frame if and only if the
2079 window is dedicated.
2080 (replace-buffer-in-windows): Delete buffer's window or frame if
2081 and only if window is dedicated.
2082 (quit-window): Handle quit-restore as before last change.
4d61f28d 2083 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2084
ef8ef9fb
CY
20852011-09-13 Chong Yidong <cyd@stupidchicken.com>
2086
2087 * window.el (window-deletable-p): Never delete the last frame on a
2088 given terminal.
2089
b2cba41e
GM
20902011-09-13 Glenn Morris <rgm@gnu.org>
2091
2092 * help.el (describe-key-briefly): Copy previous standard-output change.
2093
51553db6 20942011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2095
2096 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2097
b7556719
GM
20982011-09-13 Glenn Morris <rgm@gnu.org>
2099
2100 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2101 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2102
64b51947
CY
21032011-09-12 Chong Yidong <cyd@stupidchicken.com>
2104
2105 * dired-aux.el (dired-mark-read-string): Don't return default
2106 value on empty input (Bug#9361).
2107 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2108 Omit initial minibuffer contents.
2109 (dired-do-chmod): Signal an error on empty input.
2110 (dired-mark-read-string): Don't return default on empty input.
2111
2112 * files.el (file-modes-symbolic-to-number): Doc fix.
2113
393a301e
SM
21142011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * international/mule-cmds.el (ucs-completions): Remove.
2117 (read-char-by-name): Use complete-with-action instead; add metadata.
2118
fa5660f9
CY
21192011-09-11 Chong Yidong <cyd@stupidchicken.com>
2120
2121 * window.el (display-buffer--action-function-custom-type)
2122 (display-buffer--action-custom-type): New vars.
2123 (display-buffer-alist, display-buffer-default-action)
2124 (display-buffer-overriding-action): Add defcustom types.
2125
4a592f66
CY
2126 * frame.el (delete-other-frames): Doc fix (Bug#276).
2127
73d56dbd
LMI
21282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2129
2130 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2131
37ac18a3
CY
21322011-09-11 Chong Yidong <cyd@stupidchicken.com>
2133
2134 Change modes that used same-window-* vars to use switch-to-buffer.
2135
2136 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2137 Use switch-to-buffer.
2138
2139 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2140 (customize-browse, custom-buffer-create-other-window):
2141 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2142
2143 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2144 (Info-prev, Info-up, Info-speedbar-goto-node)
2145 (info-display-manual): Use switch-to-buffer.
2146 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2147
2148 * mail/sendmail.el (mail): Use switch-to-buffer.
2149 (mail-recover): Use switch-to-buffer-other-window.
2150
2151 * cmuscheme.el (run-scheme, switch-to-scheme):
2152 * ielm.el (ielm):
2153 * shell.el (shell):
2154 * net/rlogin.el (rlogin):
2155 * net/telnet.el (telnet, rsh):
2156 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2157
10195bd6
AS
21582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2159
2160 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2161
b322f63a
LMI
21622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2163
39d7fed6
LMI
2164 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2165 so don't mention it (bug#9301).
ba5a81f1 2166 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2167
ee0e9f11
LMI
2168 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2169 match `x', `w32' and `ns', like the manual says (bug#9029).
2170
0b1c89c1 2171 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2172 (process-kill-buffer-query-function): Mention the buffer name in
2173 the query.
0b1c89c1 2174
77549ea8
LMI
2175 * image-mode.el (image-next-line): The line parameter is mandatory
2176 (bug#9258).
2177
803ef892
LMI
2178 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2179 which can be useful (bug#9301).
2180
12980837
LMI
2181 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2182
91054f8f
LMI
2183 * subr.el (match-string): Mention that the current buffer should
2184 be the same as the search was done in (bug#9282).
2185
b322f63a
LMI
2186 * facemenu.el: Disable the remove-* commands if the mark isn't
2187 active (bug#9162).
2188
3199b96f
CY
21892011-09-10 Chong Yidong <cyd@stupidchicken.com>
2190
2191 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2192 of display-buffer.
2193 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2194
2195 * replace.el (occur-mode-goto-occurrence)
2196 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2197 and display-buffer.
2198
2199 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2200 display-buffer.
2201
2202 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2203 special-display and same-window variables.
2204 (mail-other-window): Use switch-to-buffer-other-window.
2205 (mail-other-frame): USe switch-to-buffer-other-frame.
2206
393a301e
SM
2207 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2208 Use display-buffer-other-frame.
3199b96f
CY
2209 (gdb-display-gdb-buffer): Use pop-to-buffer.
2210
2211 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2212
2213 * progmodes/python.el: Don't set same-window-buffer-names.
2214
2215 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2216
2217 * window.el (display-buffer-alist): Add *Python*.
2218
8319e0bf
CY
22192011-09-10 Chong Yidong <cyd@stupidchicken.com>
2220
2221 * window.el (display-buffer-alist): Add entry for buffers
2222 previously handled same-window-*.
2223 (display-buffer-alist, display-buffer-default-action)
2224 (display-buffer-overriding-action): Mark as risky.
2225 (display-buffer-alist): Document action function changes.
2226 (display-buffer--same-window-action)
2227 (display-buffer--other-frame-action): New variables.
2228 (switch-to-buffer, display-buffer-other-frame): Use them.
2229 (display-buffer): Rename reuse-frame entry to reusable-frames.
2230 (display-buffer-reuse-selected-window): Function deleted.
2231 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2232 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2233 (display-buffer-special): New function.
2234 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2235 display-buffer-reuse-or-pop-window. Split off special-display
2236 part into display-buffer-special.
2237 (display-buffer-use-some-window): Don't perform any special
2238 pop-up-frames handling.
2239 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2240 (display-buffer--maybe-same-window): Rename from
0d3ff375 2241 display-buffer-maybe-same-window.
8319e0bf 2242
919a69aa
CY
2243 * info.el: Don't set same-window-regexps.
2244 (info-setup): New function.
2245 (info-other-window, info): Call it.
2246
2247 * cus-edit.el: Don't set same-window-regexps.
2248 (customize-group): New argument.
2249 (customize-group-other-window): Use it.
2250 (customize-face, customize-face-other-window): Likewise.
2251 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2252
8319e0bf
CY
2253 * net/rlogin.el:
2254 * net/telnet.el:
2255 * progmodes/gud.el: Don't set same-window-regexps.
2256
2257 * cmuscheme.el:
2258 * ielm.el:
2259 * shell.el:
2260 * mail/sendmail.el:
2261 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2262
25173000
JL
22632011-09-10 Juri Linkov <juri@jurta.org>
2264
2265 * isearch.el (isearch-edit-string): Remove obsolete mention of
2266 `C-w' (`isearch-yank-word-or-char') from docstring.
2267 (isearch-query-replace): Fix typo in docstring (bug#9466).
2268
056e44ef
JL
22692011-09-10 Juri Linkov <juri@jurta.org>
2270
2271 * paren.el (show-paren-function): Don't show escaped parens.
2272 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2273
c3760c17
EZ
22742011-09-10 Eli Zaretskii <eliz@gnu.org>
2275
2276 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2277 (mm-default-file-encoding): Remove autoload forms, they are
2278 replaced with autoload cookies in mml.el and mm-encode.el.
2279 (mail-add-attachment): New command.
2280 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2281 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2282 the doc string.
2283 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2284
fece895e
RT
22852011-09-10 Reuben Thomas <rrt@sc3d.org>
2286
e69df516
SM
2287 * simple.el (count-words-region): Use buffer if there's no region
2288 (bug#9429).
fece895e 2289
5e68ce4a
JL
22902011-09-09 Juri Linkov <juri@jurta.org>
2291
2292 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2293 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2294 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2295
0a6b9622
AM
22962011-09-09 Alan Mackenzie <acm@muc.de>
2297
2298 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2299 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2300
14a29deb
EZ
23012011-09-09 Eli Zaretskii <eliz@gnu.org>
2302
2303 Fix for Savannah bug#9392.
2304 * simple.el (mail-encode-mml): New defvar.
2305
2306 * mail/rmail.el (mail-encode-mml): Add a defvar.
2307 (rmail-enable-mime-composing): Default to t.
2308 (rmail-forward): Use MIME method of forwarding only if both
2309 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2310 Set mail-encode-mml non-nil if the MIME method was used.
2311
2312 * mail/sendmail.el (mml-to-mime): Add autoload form.
2313 (mail-encode-mml): Add a defvar.
2314 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2315 to nil.
2316 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2317 message through mml-to-mime, and reset mail-encode-mml to nil.
2318
28c45130
GM
23192011-09-09 Glenn Morris <rgm@gnu.org>
2320
2321 * woman.el (woman-if-body): When processing an .el block,
2322 do not delete the next .el block as well. (Bug#9447)
69f4b618 2323 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2324
9b1c252e
MR
23252011-09-08 Martin Rudalics <rudalics@gmx.at>
2326
2327 * window.el (window-deletable-p): Make sure window is live before
2328 invoking window-prev-buffers.
2329
567457e3
LL
23302011-09-08 Leo Liu <sdl.web@gmail.com>
2331
2332 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2333
97f05794
JL
23342011-09-08 Juri Linkov <juri@jurta.org>
2335
2336 * progmodes/compile.el (compilation-environment): Make it
2337 a defcustom (bug#8340).
2338
8b0874b5
MR
23392011-09-08 Martin Rudalics <rudalics@gmx.at>
2340
2341 * window.el (frame-auto-delete): Rename to window-auto-delete.
2342 Make it control auto-deletion of windows and/or frames.
2343 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2344 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2345 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2346 Rewrite handling of case when window/frame can be deleted.
2347 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2348 argument t. (Bug#9456)
8b0874b5 2349
4feb6e73
CY
23502011-09-07 Chong Yidong <cyd@stupidchicken.com>
2351
2352 * help-mode.el (help-mode): Restore autoload.
2353
91ab9c13
JL
23542011-09-07 Juri Linkov <juri@jurta.org>
2355
2356 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2357 `compilation-environment'. Set buffer-local
2358 `compilation-environment' to `thisenv' later after (funcall mode).
2359 (Bug#8340)
2360
2361 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2362 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2363 instead of replacing its value. (Bug#8340)
2364
0527e251
JL
23652011-09-07 Juri Linkov <juri@jurta.org>
2366
2367 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2368 based on text properties put by `grep-filter' instead of matching
2369 escape sequences.
2370 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2371 to the value of `grep-error-screen-columns' (bug#9438).
2372
249f792c
JL
23732011-09-07 Juri Linkov <juri@jurta.org>
2374
2375 * simple.el (next-error-highlight, next-error-highlight-no-select):
2376 Doc fix (bug#9432).
2377
ff7271b9
OT
23782011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2379
2380 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2381 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2382
183fc730
LL
23832011-09-07 Leo Liu <sdl.web@gmail.com>
2384
2385 * net/rcirc.el (rcirc-mode): Conditionally initialize
2386 rcirc-input-ring.
2387
77694924
SM
23882011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * emacs-lisp/find-func.el (find-function-C-source): Only set
2391 find-function-C-source-directory after checking that we found a source
2392 file there (bug#9440).
2393
d809b8eb
AM
23942011-09-06 Alan Mackenzie <acm@muc.de>
2395
2396 * isearch.el (isearch-other-meta-char): Wherever a key list is
2397 unread, "unread" the prefix arg, too. This fixes bug #8901.
2398
453de99f
OG
23992011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2400
2401 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2402
90439906
JL
24032011-09-05 Juri Linkov <juri@jurta.org>
2404
2405 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2406
f62bd846
JL
24072011-09-05 Juri Linkov <juri@jurta.org>
2408
2409 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2410 keeping point where processing of grep matches begins, and
2411 continue to delete remaining escape sequences from the same point.
2412 (grep-filter): Make leading zero optional in "0?1;31m" because
2413 git-grep emits "\033[1;31m" escape sequences unlike expected
2414 "\033[01;31m" as GNU Grep does (bug#9408).
2415 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2416
045820ec
JL
24172011-09-05 Juri Linkov <juri@jurta.org>
2418
2419 * subr.el (y-or-n-p): Capitalize "yes".
2420
f5e29b9b
MA
24212011-09-04 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2424 `tramp-cache-unload-hook' where appropriate.
2425 (tramp-methods): Rename `tramp-remote-sh' to
2426 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2427 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2428
2429 * net/tramp-sh.el (top): Don't require 'shell.
2430 (tramp-methods): Add `tramp-remote-shell' and
2431 `tramp-remote-shell-args' entries.
2432 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2433 (tramp-sh-handle-shell-command): Remove.
2434 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2435 Use `tramp-remote-shell'.
2436
2784c434
CY
24372011-09-03 Chong Yidong <cyd@stupidchicken.com>
2438
393a301e 2439 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2440 (sendmail-query-once): Save directly to send-mail-function.
2441 Update message-send-mail-function too.
2442
2443 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2444
464cdf56
CS
24452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2446
2447 * progmodes/python.el (python-mode-map): Use correct function to
2448 start python interpreter from menu-bar (as reported by Geert
2449 Kloosterman).
2450 (inferior-python-mode-map): Fix typo.
393a301e 2451 (python-shell-map): Remove.
464cdf56 2452
d37e5c87
DD
24532011-09-03 Deniz Dogan <deniz@dogan.se>
2454
2455 * net/rcirc.el (rcirc-print): Simplify code for
2456 rcirc-scroll-show-maximum-output. There is no need to walk
2457 through all windows to find the right one.
2458
f3ada0ee
CS
24592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2460
2461 * help.el (help-return-method): Doc fix.
2462
1f3c99ca
MR
24632011-09-03 Martin Rudalics <rudalics@gmx.at>
2464
2465 * window.el (window-deletable-p): Don't return a non-nil value
2466 when there's a buffer that was shown in the window before.
2467 (Bug#9419)
393a301e
SM
2468 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2469 Set window's previous buffers to nil.
1f3c99ca 2470
a3cf097f
EZ
24712011-09-03 Eli Zaretskii <eliz@gnu.org>
2472
2473 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2474 newline before and after the tag line, so it doesn't interfere
2475 with determining the paragraph direction of bidirectional text.
2476
3d03de90
LL
24772011-09-03 Leo Liu <sdl.web@gmail.com>
2478
2479 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2480
c3313451
CY
24812011-09-02 Chong Yidong <cyd@stupidchicken.com>
2482
393a301e 2483 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2484 (pop-to-buffer): Change interactive spec. Pass second argument
2485 directly to display-buffer.
2486 (display-buffer): Fix interactive spec. Use functionp to
2487 distinguish between a function and a list of functions.
2488
2489 * abbrev.el (edit-abbrevs):
2490 * arc-mode.el (archive-extract):
2491 * autoinsert.el (auto-insert):
2492 * bookmark.el (bookmark-bmenu-list):
2493 * files.el (find-file):
2494 * view.el (view-buffer):
2495 * progmodes/compile.el (compilation-goto-locus):
2496 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2497
89894cd8
CY
24982011-09-02 Chong Yidong <cyd@stupidchicken.com>
2499
2500 * window.el (display-buffer-alist): Doc fix.
2501 (display-buffer): Add docstring. Don't treat
2502 display-buffer-default specially.
2503 (display-buffer-reuse-selected-window)
2504 (display-buffer-same-window, display-buffer-maybe-same-window)
2505 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2506 (display-buffer-pop-up-window)
2507 (display-buffer-reuse-or-pop-window)
2508 (display-buffer-use-some-window): New functions.
2509 (display-buffer-default-action): Use them.
393a301e 2510 (display-buffer-default): Delete.
89894cd8
CY
2511 (pop-to-buffer-1): Fix choice of actions.
2512
ae0bc9fb
SM
25132011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * minibuffer.el (completion--insert-strings): Don't get confused by
2516 completion entries that end with an LF char.
2517
e9d90883
EZ
25182011-09-01 Eli Zaretskii <eliz@gnu.org>
2519
2520 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2521
437014c8
CY
25222011-09-01 Chong Yidong <cyd@stupidchicken.com>
2523
2524 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2525 (display-buffer-same-window, display-buffer-other-window):
2526 New functions.
437014c8
CY
2527 (pop-to-buffer-1): New function. Use the above.
2528 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2529 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2530
2531 * view.el (view-buffer-other-window, view-buffer-other-frame):
2532 Just use pop-to-buffer.
2533
a5e063d5
TV
25342011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2535
2536 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2537
793d32bb
WH
25382011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2539
2540 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2541
d65e4c15
RS
25422011-08-31 Richard Stallman <rms@gnu.org>
2543
2544 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2545 of the separation of rmail-view-buffer from rmail-buffer.
2546 If you say no to "replace original", the decrypt is in the
2547 view buffer. If you say yes, the decrypt goes into the
2548 rmail buffer also.
2549
f818cd2a
MR
25502011-08-31 Martin Rudalics <rudalics@gmx.at>
2551
2552 * window.el (display-buffer-window): Rewrite doc-string.
2553 (display-buffer-record-window): New function.
2554 (display-buffer-macro-specifiers)
2555 (display-buffer-even-window-sizes, display-buffer-set-height)
2556 (display-buffer-set-width, display-buffer-in-window)
2557 (display-buffer-reuse-window, display-buffer-split-specifiers)
2558 (display-buffer-side-specifiers, display-buffer-split-window-1)
2559 (display-buffer-split-window, display-buffer-split-atom-window)
2560 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2561 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2562 (display-buffer-other-window-means-other-frame)
2563 (display-buffer-normalize-special)
2564 (display-buffer-normalize-default)
2565 (display-buffer-normalize-argument)
2566 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2567 (display-buffer-normalize-specifiers, display-buffer-frame)
2568 (display-buffer-same-window, display-buffer-same-frame)
2569 (display-buffer-other-window)
2570 (display-buffer-same-frame-other-window)
2571 (display-buffer-other-frame, pop-to-buffer-same-window)
2572 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2573 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2574 (switch-to-buffer-same-frame)
2575 (switch-to-buffer-other-window-same-frame)
2576 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2577 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2578 (display-buffer-alist-set): Remove.
2579 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2580 (special-display-regexps, special-display-function):
2581 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2582 parameter.
2583 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2584 (special-display-frame-alist, special-display-popup-frame)
2585 (same-window-buffer-names, same-window-regexps, same-window-p)
2586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2587 (split-window-preferred-function, split-height-threshold)
2588 (split-width-threshold, window-splittable-p)
2589 (split-window-sensibly, window--try-to-split-window)
2590 (window--frame-usable-p, even-window-heights)
2591 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2592 (window--display-buffer-2, display-buffer-other-frame):
2593 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2594 (display-buffer-default, display-buffer-assq-regexp): New functions.
2595 (display-buffer-alist): Rewrite doc-string.
2596 (display-buffer-default-action)
2597 (display-buffer-overriding-action): New variables.
2598 (display-buffer, switch-to-buffer): Rewrite.
2599 (pop-to-buffer): Restore Emacs 23 behavior but use
2600 window-normalize-buffer-to-display.
2601 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2602 Restore Emacs 23 behavior but use
2603 window-normalize-buffer-to-switch-to.
2604 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2605 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2606 Rewrite using Emacs 23 options.
f818cd2a 2607
5bc3b51d
MA
26082011-08-31 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp.el (tramp-root-regexp): Remove.
2611 (tramp-completion-file-name-regexp-unified)
2612 (tramp-completion-file-name-regexp-separate)
2613 (tramp-completion-file-name-regexp-url): Don't use leading volume
2614 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2615 (tramp-drop-volume-letter): Simplify definition.
2616 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2617
b1a4f8e1
SM
26182011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2621 (bug#9356).
2622
5664fa7b
RT
26232011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2624
b1a4f8e1 2625 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2626
9a45d6c3
JL
26272011-08-29 Juri Linkov <juri@jurta.org>
2628
2629 * isearch.el (isearch-done): Don't display message "Mark saved"
2630 when arg `edit' is non-nil to prevent its flicker in the echo area.
2631
fb87e0fb
CY
26322011-08-28 Chong Yidong <cyd@stupidchicken.com>
2633
2634 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2635 obsolete packages for deletion.
2636
09ac1c2a
CS
26372011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2638
2639 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2640 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2641 view-mode from help-mode.
2642 (help-xref-override-view-map): Remove.
2643 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2644 view-mode is not used anymore.
2645
7a1ff57f
CY
26462011-08-28 Chong Yidong <cyd@stupidchicken.com>
2647
2648 * server.el (server-port): Doc fix.
2649
b9696605
CY
2650 * cus-theme.el (custom-theme-choose-mode): Inherit from
2651 special-mode (Bug#9124).
2652 (custom-theme-choose-mode-map): Add special-mode to parent.
2653
ef8cdf8c
AM
26542011-08-28 Alan Mackenzie <acm@muc.de>
2655
2656 * progmodes/cc-fonts.el
2657 (c-make-font-lock-BO-decl-search-function): New function.
2658 (c-basic-matchers-after - "Fontify the clauses after various
2659 keywords"): Extract the three keyword lists for the 3 erroneous
2660 constructs from the list of four, and use the new function above
2661 in place of an old one.
2662
27de4e20
DD
26632011-08-28 Deniz Dogan <deniz@dogan.se>
2664
2665 * net/rcirc.el (rcirc-insert-prev-input)
2666 (rcirc-insert-next-input): Remove unused argument.
2667
356a3681
SM
26682011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2671
3fc9b218
AM
26722011-08-27 Alan Mackenzie <acm@muc.de>
2673
2674 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2675 handle function pointer parameters properly.
2676
538a061c
MR
26772011-08-27 Martin Rudalics <rudalics@gmx.at>
2678
2679 * window.el (display-buffer-reuse-window): Fix case where
2680 selected window was reused with non-nil OTHER-WINDOW argument.
2681 (Bug#9381)
2682
35b1c40c
DD
26832011-08-27 Deniz Dogan <deniz@dogan.se>
2684
2685 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2686 oftc's NickServ messages.
2687
2f6a3e79
GM
26882011-08-27 Glenn Morris <rgm@gnu.org>
2689
2690 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2691
7254299e
CY
26922011-08-26 Chong Yidong <cyd@stupidchicken.com>
2693
2694 * emacs-lisp/package.el (package-install): Call package-initialize
2695 if called interactively.
2696
f8ccf167
LL
26972011-08-26 Leo Liu <sdl.web@gmail.com>
2698
2699 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2700
3e8cd5ce
JL
27012011-08-25 Juri Linkov <juri@jurta.org>
2702
2703 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2704 `search-whitespace-regexp' (bug#9364).
2705
93eb7113
JL
27062011-08-25 Juri Linkov <juri@jurta.org>
2707
2708 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2709 `regexp-search-ring' to their global values to protect from
2710 updating by `read-from-minibuffer' (bug#9185).
2711
f65d1611
JL
27122011-08-25 Juri Linkov <juri@jurta.org>
2713
2714 * textmodes/ispell.el (ispell-command-loop): Add newline
2715 at the end of the "Use option `i'..." line.
2716
f1cf7a31
JL
27172011-08-25 Juri Linkov <juri@jurta.org>
2718
2719 * battery.el (display-battery-mode): If `battery-status-function'
2720 or `battery-mode-line-format' is nil, display the message and set
2721 `display-battery-mode' to nil (bug#9363).
2722
0c95fcf7
EZ
27232011-08-25 Eli Zaretskii <eliz@gnu.org>
2724
2725 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2726 bidi-string-mark-left-to-right; they are unnecessary now.
2727
a2ebe600
DD
27282011-08-25 Deniz Dogan <deniz@dogan.se>
2729
2730 * net/quickurl.el: Documentation typo fixes.
2731
e4ed06f1
CY
27322011-08-25 Chong Yidong <cyd@stupidchicken.com>
2733
2734 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2735
e5f1c99e
GM
27362011-08-25 Glenn Morris <rgm@gnu.org>
2737
b2948976
GM
2738 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2739
e5f1c99e
GM
2740 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2741 (smtpmail-via-smtp): Handle nil response from smtp.
2742
f22f4808
JL
27432011-08-24 Juri Linkov <juri@jurta.org>
2744
2745 * proced.el (proced-marked): Inherit from `error' instead of
2746 `font-lock-warning-face'.
2747
2748 * ibuffer.el (ibuffer-marked-face): Change default face from
2749 `font-lock-warning-face' to `warning'.
2750 (ibuffer-deletion-face): Change default face from
2751 `font-lock-type-face' to `error'.
2752
2753 * battery.el (battery-update): Use the face `error' instead of
2754 `font-lock-warning-face' (bug#6117).
2755
6a93965e
JL
27562011-08-24 Juri Linkov <juri@jurta.org>
2757
2758 * faces.el (success): Change face color from "Green3" to
2759 "ForestGreen" on light background (bug#9353).
2760
1ed43b09
CY
27612011-08-24 Chong Yidong <cyd@stupidchicken.com>
2762
5664fa7b
RT
2763 * window.el (quit-window): Rename from quit-restore-window.
2764 Use same arglist as old quit-window.
1ed43b09
CY
2765 (frame-auto-delete): Doc fix.
2766
2767 * view.el (view-mode-exit): Use quit-window.
2768
11dcdbb2
JL
27692011-08-24 Juri Linkov <juri@jurta.org>
2770
2771 * isearch.el (isearch-ring-adjust1): Start visiting previous
2772 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2773 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2774 for empty search string (when the last search string is reused
2775 automatically) to adjust the isearch ring to the last element and
2776 prepare the correct index for further M-p commands (bug#9185).
2777
de62b4df
KH
27782011-08-24 Kenichi Handa <handa@m17n.org>
2779
2780 * international/ucs-normalize.el: If decomposition property of
2781 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2782 nil.
2783 (nfd, nfkd): Likewise.
2784
963b492b
SM
27852011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2788 from process filters aren't reliably transmitted to the surrounding
2789 accept-process-output.
2790 (mpc-proc-check): New function.
2791 (mpc-proc-sync): Use it (bug#8293)
2792
93b6b5e1
SM
27932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2796 Add compatibility functions (bug#9313).
2797
bca633fb
EZ
27982011-08-23 Eli Zaretskii <eliz@gnu.org>
2799
b177498a
EZ
2800 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2801
bca633fb
EZ
2802 * international/uni-bidi.el: Regenerated.
2803
0902a04e
KH
28042011-08-23 Kenichi Handa <handa@m17n.org>
2805
2806 * international/charprop.el:
2807 * international/uni-bidi.el:
2808 * international/uni-category.el:
2809 * international/uni-combining.el:
2810 * international/uni-comment.el:
2811 * international/uni-decimal.el:
2812 * international/uni-decomposition.el:
2813 * international/uni-digit.el:
2814 * international/uni-lowercase.el:
2815 * international/uni-mirrored.el:
2816 * international/uni-name.el:
2817 * international/uni-numeric.el:
2818 * international/uni-old-name.el:
2819 * international/uni-titlecase.el:
2820 * international/uni-uppercase.el: Regenerate.
2821
3bbf23bc
MR
28222011-08-23 Martin Rudalics <rudalics@gmx.at>
2823
2824 * help.el (help-window-setup): Fix message displayed when other
2825 window is reused. (Bug#9341)
2826
b3fd59bd
SM
28272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2828
1802e444
SM
2829 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2830 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2831
b3fd59bd
SM
2832 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2833 Mark obsolete.
2834 * shell.el (shell-parse-pcomplete-arguments): New function.
2835 (shell-completion-vars): Use it instead (bug#9160).
2836
4eb61348
SM
28372011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2838
867cab74
SM
2839 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2840 strings and comments (bug#9333).
2841
4eb61348
SM
2842 * emacs-lisp/debug.el (debug-arglist): New function.
2843 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2844 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2845
262a1439
JL
28462011-08-22 Juri Linkov <juri@jurta.org>
2847
56ee679c
JL
2848 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2849 Revert regexp that highlights output switches to its old
2850 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2851
262a1439
JL
2852 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2853 to check for empty output (bug#9226).
2854
f13f86fb
CY
28552011-08-22 Chong Yidong <cyd@stupidchicken.com>
2856
2857 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2858 symbol-constituent as the default, as that stops font-lock from
2859 working properly (Bug#8843).
2860
c65c9622
LMI
28612011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2862
2863 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2864 `coding-system-for-*' around the process open call to avoid
2865 auth-source side effects.
e7f2c178 2866 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2867 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2868 probe hangs.
c65c9622 2869
23a8a5ab
CY
28702011-08-21 Chong Yidong <cyd@stupidchicken.com>
2871
ff98b2dd
CY
2872 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2873
23a8a5ab
CY
2874 * emacs-lisp/find-func.el (find-function-noselect): New arg
2875 lisp-only.
2876
2877 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2878 signal an error for built-in functions (Bug#6664).
2879
f5e3c598
LMI
28802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881
2882 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2883 (smtpmail-try-auth-methods): Use it.
2884
a3f2468a
CY
28852011-08-21 Chong Yidong <cyd@stupidchicken.com>
2886
2c34e8da
CY
2887 * font-lock.el (font-lock-fontify-region)
2888 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2889 (font-lock-default-unfontify-buffer)
2890 (font-lock-default-fontify-region)
2891 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2892
b3fd59bd
SM
2893 * progmodes/compile.el (compilation-error-properties):
2894 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2895 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2896 `ant' regexp.
ee31aabc 2897
a3f2468a
CY
2898 * net/browse-url.el (browse-url-firefox): Don't call
2899 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2900
8e999f70
GM
29012011-08-20 Glenn Morris <rgm@gnu.org>
2902
c21a496a
GM
2903 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2904
59ee0542
GM
2905 * tutorial.el (tutorial--default-keys): Update some default bindings.
2906
8e999f70
GM
2907 * files.el (hack-local-variables): Fully ignore case for "mode:".
2908
e3715033
AM
29092011-08-20 Alan Mackenzie <acm@muc.de>
2910
2911 Resolve invalid use of a regexp in regexp-opt.
2912
4d61f28d
JB
2913 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2914 detection for a java annotation.
e3715033 2915
4d61f28d 2916 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2917 detection for a java annotation.
2918
4d61f28d
JB
2919 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2920 handling for java.
e3715033
AM
2921 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2922
04ed2e9c
CY
29232011-08-20 Chong Yidong <cyd@stupidchicken.com>
2924
2925 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2926 (Bug#9274).
2927
826cee64
AM
29282011-08-20 Alan Mackenzie <acm@muc.de>
2929
58179cce 2930 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2931 such a construct. Mainly for when jit-lock etc. starts a chunk
2932 here.
2933
58179cce 2934 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2935 variable.
58179cce 2936 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2937 c-make-font-lock-search-function.
2938 (c-make-font-lock-search-function): Use the above function.
2939 (c-make-font-lock-context-search-function): New function.
2940 (c-cpp-matchers): Enhance the preprocessor expression case with
2941 the above function
2942 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2943 which takes an expression.
2944
2945 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2946
13009bd8
MR
29472011-08-20 Martin Rudalics <rudalics@gmx.at>
2948
2949 * window.el (display-buffer-reuse-window)
2950 (display-buffer-pop-up-window): Don't reuse or split a side
2951 window.
2952
9234ff7f
GM
29532011-08-19 Glenn Morris <rgm@gnu.org>
2954
2955 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2956 Downcase "Mode:". (Bug#9331)
9234ff7f 2957
f635daa1
CY
29582011-08-18 Chong Yidong <cyd@stupidchicken.com>
2959
2960 * international/characters.el: Add L and R categories.
2961
2962 * subr.el (bidi-string-mark-left-to-right): Rename from
2963 string-mark-left-to-right. Use category search.
2964
2965 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2966
bc987f8b
JL
29672011-08-18 Juri Linkov <juri@jurta.org>
2968
2969 * faces.el (error, warning, success): New faces with definitions
2970 copied from old default values of `font-lock-warning-face',
2971 `compilation-warning', `compilation-info' (bug#6117).
2972
2973 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2974
2975 * progmodes/compile.el (compilation-error): Inherit from `error'.
2976 (compilation-warning): Inherit from `warning'.
2977 (compilation-info): Inherit from `success'.
2978
2979 * dired.el (dired-marked): Inherit from `warning'.
2980 (dired-flagged): Inherit from `error'.
2981
57173b96
LMI
29822011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2983
3e79eb87
LMI
2984 * mail/smtpmail.el (auth-source): Require to avoid problems with
2985 binding variables (bug#9298). Also clean up some unused
2986 autoloads.
2987
b3fd59bd
SM
2988 * net/network-stream.el (network-stream-open-starttls):
2989 Support using starttls.el without using gnutls-cli.
57173b96 2990
02b404de
JL
29912011-08-17 Juri Linkov <juri@jurta.org>
2992
2993 * progmodes/grep.el (rgrep): Handle the case when
2994 `grep-find-command' is a cons cell (bug#9278).
2995
8c9177f2
MR
29962011-08-17 Martin Rudalics <rudalics@gmx.at>
2997
2998 * window.el (display-buffer-pop-up-frame): Run frame creation
2999 function with BUFFER current (as special-display-popup-frame
3000 does). Reported by Drew Adams.
3001
3644a0ab
DU
30022011-08-17 Daiki Ueno <ueno@unixuser.org>
3003
3004 * epa-mail.el: Simplify GnuPG group expansion using
3005 epg-expand-group.
3006 (epa-mail-group-alist, epa-mail-group-modtime)
3007 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3008 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3009 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3010 Remove.
3011
5e617bc2 30122011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3013
3014 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3015
9c4aeabf
AM
30162011-08-16 Alan Mackenzie <acm@muc.de>
3017
3018 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3019 Correct, to avoid the inside of macros.
3020
3a99bf64
RS
30212011-08-16 Richard Stallman <rms@gnu.org>
3022
04963aa8
RS
3023 * epa-mail.el: Handle GnuPG group definitions.
3024 (epa-mail-group-alist, epa-mail-group-modtime)
3025 (epa-mail-gnupg-conf-file): New variables.
3026 (epa-mail-parse-groups, epa-mail-sync-groups)
3027 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3028 (epa-mail-expand-recipients): New functions.
3029 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3030
177549d0
RS
3031 * mail/rmail.el (rmail-epa-decrypt): New command.
3032
fe38beef
RS
3033 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3034 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3035 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3036 (epa-decrypt-armor-in-region): Make error message clearer.
3037
934eacb9
SM
30382011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3041 and "a2b" to "ab" for `prefix'.
3042
d024fb4e
CY
30432011-08-14 Chong Yidong <cyd@stupidchicken.com>
3044
3045 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3046 filter groups.
de148fee
CY
3047 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3048 Fourquet (Bug#8804).
d024fb4e 3049
62f1ca49
JB
30502011-08-12 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * startup.el (argi): Declare as global variable (bug#9275).
3053
9ccaaa4b
CY
30542011-08-12 Chong Yidong <cyd@stupidchicken.com>
3055
3056 * subr.el (string-mark-left-to-right): Search the entire string
3057 for RTL script, not just the terminating character. Doc fix.
3058
a3dae87a
SM
30592011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3060
6cd18349
SM
3061 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3062 New function.
3063 (js--regexp-literal, js-syntax-propertize-function): Remove.
3064 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3065 (js-mode-map): Don't rebind electric keys.
3066 (js-insert-and-indent): Remove.
3067 (js-mode): Setup electric-layout and electric-indent instead.
3068
a3dae87a
SM
3069 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3070
9d5cb631
DU
30712011-08-12 Daiki Ueno <ueno@unixuser.org>
3072
3073 * epa.el (epa-progress-callback-function): Fix the logic of
3074 displaying progress.
3075 * epa-file.el (epa-file-insert-file-contents): Make progress
3076 display more user-friendly.
3077 (epa-file-write-region): Ditto.
3078
3e26a4a2
CY
30792011-08-10 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * subr.el (string-mark-left-to-right): New function.
3082
3083 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3084 Use string-mark-left-to-right.
3085 (list-buffers-noselect): Caller changed.
3086
a3dae87a
SM
3087 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3088 Use string-mark-left-to-right.
3e26a4a2
CY
3089 (tabulated-list-print): Recenter after moving point.
3090
ac8cf6e6
JL
30912011-08-10 Juri Linkov <juri@jurta.org>
3092
3093 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3094 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3095 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3096
8d96c9a4
CY
30972011-08-09 Chong Yidong <cyd@stupidchicken.com>
3098
3099 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3100 (Bug#7554).
3101
7be1c708 31022011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3103
3104 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3105 character. (Bug#6594)
3106
37e11a63
CY
31072011-08-08 Chong Yidong <cyd@stupidchicken.com>
3108
839dde57
CY
3109 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3110 (image-dired--with-db-file): New macro.
3111 (image-dired-write-tags, image-dired-remove-tag)
3112 (image-dired-create-gallery-lists, image-dired-write-comments)
3113 (image-dired-get-comment, image-dired-mark-tagged-files)
3114 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3115 (image-dired-gallery-generate): Use insert-file-contents.
3116
37e11a63
CY
3117 * time.el (display-time-world-list, display-time-world-display):
3118 * time-stamp.el (time-stamp-string):
3119 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3120 set-time-zone-rule (Bug#7337).
3121
0b4946c4
DU
31222011-08-08 Daiki Ueno <ueno@unixuser.org>
3123
3124 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3125 (epg-error-to-string, epg-errors-to-string): New function.
3126 (epg-wait-for-completion): Reverse errors list.
3127 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3128 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3129 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3130 (epg-sign-keys, epg-generate-key-from-file)
3131 (epg-generate-key-from-string): Format errors by using
3132 epg-errors-to-string (bug#9255).
3133 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3134
75bfc667
JL
31352011-08-07 Juri Linkov <juri@jurta.org>
3136
3137 * faces.el (list-faces-display): Remove extra angle bracket
3138 from `help-mode-map'.
3139
3140 * info.el (Info-history-toc-nodes): Doc fix.
3141
3142 * longlines.el (longlines-mode): Doc fix.
3143
673e08bb
SM
31442011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3145
4640dd88
SM
3146 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3147 of statements and in a few more cases (bug#9183).
3148
673e08bb
SM
3149 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3150 New functions.
3151 (cl-transform-lambda): Use them (bug#9239).
3152
89b3f019
MR
31532011-08-05 Martin Rudalics <rudalics@gmx.at>
3154
3155 * window.el (display-buffer-same-window)
3156 (display-buffer-same-frame, display-buffer-other-window)
3157 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3158 (pop-to-buffer-other-window)
3159 (pop-to-buffer-same-frame-other-window)
3160 (pop-to-buffer-other-frame): Make them defuns.
3161 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3162
640c8776
SM
31632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * subr.el (make-composed-keymap): Move from C. Change calling
3166 convention, and improve docstring to bring attention to a subtle point.
3167 * minibuffer.el (completing-read-default): Adjust accordingly.
3168
63648a95
MA
31692011-08-03 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3172 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3173
3174 * net/trampver.el: Update release number.
3175
b796c9b7
SM
31762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3179 "in" (bug#9190).
3180
2239d7d5
LMI
31812011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3182
e07dd7c3
LMI
3183 * mail/sendmail.el (sendmail-query-once): Restore the current
3184 buffer after querying (bug#9074).
3185
0e6a2bd7
LMI
3186 * dired.el (dired-flagged): Use different faces for marked and
3187 flagged files (bug#6117).
3188
ce887515
LMI
3189 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3190 (bug#4433).
3191
92f2affc
LMI
3192 * ido.el (ido-mode): Switch off the message if called
3193 non-interactively.
3194
57d5aff0
LMI
3195 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3196 before 587, since it appears that that's more likely to work for
3197 more people.
3198
98cd6c18 3199 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3200 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3201 exist.
3202
b96dec83
LMI
3203 * info.el: Remove the `Info-beginning-of-buffer' function
3204 (bug#8325).
3205
b796c9b7
SM
3206 * net/network-stream.el (network-stream-open-starttls):
3207 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3208
d90e2ea0
MR
32092011-08-01 Martin Rudalics <rudalics@gmx.at>
3210
3211 * window.el (display-buffer-in-window): Don't set dedicated status
3212 of window here (Bug#9215).
3213 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3214 (display-buffer-pop-up-side-window)
b796c9b7 3215 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3216
cca09170
SM
32172011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3220 before binding generated-autoload-file.
3221
027b979c
DD
32222011-08-01 Deniz Dogan <deniz@dogan.se>
3223
3224 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3225
3c7ee4f3
MA
32262011-07-30 Michael Albinus <michael.albinus@gmx.de>
3227
3228 Sync with Tramp 2.2.2.
3229
3230 * net/trampver.el: Update release number.
3231
2cc8e51a
JL
32322011-07-30 Juri Linkov <juri@jurta.org>
3233
3234 * dired-aux.el (dired-touch-initial): Remove function.
3235 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3236 current time, and `default' to the last modification time of the
3237 current marked file (bug#6887).
3238
a514d856
JM
32392011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3240
3241 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3242 numeric argument to read-number (bug#9163).
a514d856 3243
8a7eddd7
MA
32442011-07-27 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3247 connection process, it could be nil.
3248
1ddd96f5
LL
32492011-07-27 Leo Liu <sdl.web@gmail.com>
3250
3251 Simplify url handling in rcirc-mode.
3252
3253 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3254 (rcirc-browse-url-at-mouse): Remove.
3255 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3256
b248a85d
AM
32572011-07-26 Alan Mackenzie <acm@muc.de>
3258
3259 Fontify bitfield declarations properly.
3260
3261 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3262 (c-symbol-chars): Now exported as a lang variable.
3263 (c-not-primitive-type-keywords): New lang variable.
3264
3265 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3266 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3267 parsed as a bitfield declaration.
b248a85d 3268
b796c9b7
SM
3269 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3270 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3271 (c-punctuation-in): New function.
3272 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3273 declarations properly.
3274
68575ab0
UJ
32752011-07-26 Ulf Jasper <ulf.jasper@web.de>
3276
3277 * calendar/icalendar.el (icalendar--all-events): Take care of
3278 multiple vcalendars in a single file.
b796c9b7 3279 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3280
0f0a88b9
DD
32812011-07-25 Deniz Dogan <deniz@dogan.se>
3282
3283 * image.el (insert-image): Clarifying docstring.
3284
0b3f36df
MA
32852011-07-24 Michael Albinus <michael.albinus@gmx.de>
3286
3287 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3288 `tramp-send-command-and-check' if there is no error.
3289 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3290
a9901f61
AM
32912011-07-22 Alan Mackenzie <acm@muc.de>
3292
3293 Prevent cc-langs.elc being loaded at run time.
3294
3295 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3296 cc-langs.
3297
4d61f28d 3298 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3299 "(require 'cc-langs)". Quote a form so it will evaluate at
3300 (cc-mode's) compilation time.
3301
11d074b2
MA
33022011-07-22 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3305 loading. (Bug#9114)
3306
938b94c8
MR
33072011-07-21 Martin Rudalics <rudalics@gmx.at>
3308
3309 * window.el (display-buffer-pop-up-window)
3310 (display-buffer-pop-up-side-window)
3311 (display-buffer-in-side-window): Call display-buffer-set-height
3312 and display-buffer-set-width after setting the new window's
b796c9b7 3313 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3314
bfa4f190
SS
33152011-07-20 Sam Steingold <sds@gnu.org>
3316
3317 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3318 (etags-tags-included-tables): Call `convert-standard-filename' on
3319 the file names contained in TAGS so that windows Emacs can handle
3320 TAGS files created by cygwin ctags.
3321
8ca42262
LMI
33222011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3323
3324 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3325 which apparently didn't work.
3326
5db2afd2 33272011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3328
5db2afd2
RW
3329 * proced.el (proced-send-signal): For *Marked Processes* buffer
3330 put point at beginning of buffer.
3331
92e15d10
SB
33322011-07-19 Stephen Berman <stephen.berman@gmx.net>
3333
3334 * proced.el (proced-format): Make header lines align with the text
3335 (bug#1779).
3336
1bfd59e5
LMI
33372011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3338
3339 * view.el (view-buffer): Allow running in `special' modes if we're
3340 visiting a file (bug#8615).
3341
f5aae37c
MR
33422011-07-19 Martin Rudalics <rudalics@gmx.at>
3343
3344 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3345 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3346 New functions.
f5aae37c
MR
3347 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3348 more accurately.
3349
bf2c1571
AM
33502011-07-18 Alan Mackenzie <acm@muc.de>
3351
3352 Fontify declarators properly when, e.g., a jit-lock chunk begins
3353 inside a declaration.
3354
3355 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3356
b796c9b7
SM
3357 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3358 New function.
bf2c1571
AM
3359 (c-complex-decl-matchers): Insert reference to
3360 c-font-lock-enclosing-decls.
3361
3362 * progmodes/cc-engine.el (c-backward-single-comment):
3363 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3364 to nil around calls to (forward-comment -1).
3365
4e190b80
LMI
33662011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3367
12dc863d
LMI
3368 * image.el (put-image): Doc typo fix.
3369
a762e966
LMI
3370 * progmodes/etags.el (tags-search): Doc typo fix.
3371
4e190b80
LMI
3372 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3373 password if we get errors 550 to 554.
3374
f019fb21
LMI
33752011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3376
b796c9b7 3377 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3378
81746738
LMI
3379 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3380 indentation character (bug#6380).
3381
3ee3a1b5
LMI
3382 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3383
c82f64de
LMI
3384 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3385 to clarify what the problem is (bug#4291).
3386
f019fb21
LMI
3387 * simple.el (current-kill): Clarify what
3388 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3389 (auto-fill-mode): Document `auto-fill-function' in relation to
3390 `auto-fill-mode' (bug#2470).
f019fb21 3391
0794775d
LM
33922011-07-16 Lawrence Mitchell <wence@gmx.li>
3393
3394 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3395 method if slot is read-only (bug#9035).
3396
be39b8cc
MR
33972011-07-16 Martin Rudalics <rudalics@gmx.at>
3398
b796c9b7 3399 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3400 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3401 selected before, see discussion of (Bug#8615), (Bug#6954).
3402 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3403
6ccf7859
GM
34042011-07-15 Glenn Morris <rgm@gnu.org>
3405
3406 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3407 Respect help-form.
6ccf7859 3408
87e86684
LM
34092011-07-09 Lawrence Mitchell <wence@gmx.li>
3410
3411 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3412 (gnutls-negotiate): Use it.
3413
d6066239
LMI
34142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3415
b796c9b7
SM
3416 * net/gnutls.el (gnutls-negotiate):
3417 Upcase `gnutls-algorithm-priority'.
d6066239 3418
bd23ebc0
GM
34192011-07-15 Glenn Morris <rgm@gnu.org>
3420
c65bca65
GM
3421 * jka-compr.el (jka-compr-verbose): Move from here...
3422 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3423 Add missing :version tag.
3424 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3425
478615cc
LMI
34262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3427
7b41decb
LMI
3428 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3429 (gnutls-negotiate): Use it.
3430
dbc44fcd
LMI
3431 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3432
06789f97
LMI
3433 * info.el (Info-beginning-of-buffer): New command.
3434 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3435 announcing `b' as the key (bug#8325).
ab896c37 3436 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3437
c39da690
LMI
3438 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3439
3aa5f34b
LMI
3440 * international/mule-cmds.el
3441 (describe-specified-language-support): Make the error message
3442 clearer (bug#8905).
3443
4bf0979f
LMI
3444 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3445
478615cc
LMI
3446 * isearch.el (isearch-barrier): Add a doc string, since it's
3447 mentioned in a function doc string (bug#8678).
3448
75c68aa1
MR
34492011-07-15 Martin Rudalics <rudalics@gmx.at>
3450
3451 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3452 buffer argument (Bug#9083) and self-identifying label argument.
3453
a7c33da2
GM
34542011-07-15 Glenn Morris <rgm@gnu.org>
3455
3456 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3457
2f5c6024
LMI
34582011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3459
3460 * man.el (Man-fontify-manpage): Fix message when formatting the
3461 man page (bug#7929).
3462
0bb23927 34632011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3464
3465 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3466 argument LRM; if non-nil, append an invisible LRM character to the
3467 buffer name.
3468 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3469 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3470 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3471 paragraph direction.
cce4b0a7 3472
621ef9ab
LMI
34732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3474
d1583c48
LMI
3475 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3476 the man page name (bug#7929).
3477
6a57fb5f
LMI
3478 * image.el (put-image): Mention the `put-image' overlay property
3479 (bug#7834).
3480
d7956b14
LMI
3481 * scroll-bar.el (set-scroll-bar-mode): Mention that
3482 `scroll-bar-mode' lists the values (bug#7772).
3483
5b2d4a66
LMI
3484 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3485 command (bug#7729).
3486
7509a874
LMI
3487 * rect.el (apply-on-rectangle): Return the point after the last
3488 operation.
3489 (string-rectangle): Go to the point after the last operation
3490 (bug#7522).
3491
4fe74b19
LMI
3492 * printing.el (pr-toggle-region): Clarify the documentation
3493 slightly (bug#7493).
3494
b796c9b7
SM
3495 * time.el (display-time-update):
3496 Allow `display-time-mail-function' to return nil (bug#7158).
3497 Fix suggested by Detlev Zundel.
ab283561 3498
fc233c9d
LMI
3499 * vc/diff.el (diff): Clarify the order the file names are read
3500 (bug#7111).
3501
43f5740b
LMI
3502 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3503 the doc string (bug#7015).
3504
f2182a76
LMI
3505 * font-lock.el (font-lock-maximum-decoration): Mention what
3506 numeric levels mean (bug#6935).
3507
621ef9ab
LMI
3508 * startup.el (initial-buffer-choice): Don't mention the `none'
3509 selection, which is against policy.
3510
adc47434
MR
35112011-07-14 Martin Rudalics <rudalics@gmx.at>
3512
b796c9b7
SM
3513 * window.el (display-buffer-normalize-special):
3514 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3515
7e5bfb8f
EZ
35162011-07-14 Eli Zaretskii <eliz@gnu.org>
3517
3518 * subr.el (version<, version<=, version=): Mention "-CVS" and
3519 "-12345" alpha version numbers.
3520
27fa387a
CY
35212011-07-14 Chong Yidong <cyd@stupidchicken.com>
3522
3523 * bindings.el: Add advertised binding for set-mark-command
3524 (Bug#5772).
3525
8bdfa064
CY
35262011-07-14 Chong Yidong <cyd@stupidchicken.com>
3527
3528 * bindings.el (mode-line-other-buffer):
3529 * bookmark.el (bookmark-bmenu-2-window):
3530 * bs.el (bs-cycle-next, bs-cycle-previous):
3531 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3532 switch-to-buffer.
3533
3534 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3535 Delete.
8bdfa064 3536
5eba16a3
JB
35372011-07-14 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * follow.el (follow-debug-message, follow-redisplay):
3540 * jka-cmpr-hook.el (with-auto-compression-mode):
3541 Fix typos in docstrings.
3542
15853710
LMI
35432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3544
a28e4607
LMI
3545 * subr.el (with-silent-modifications): Clarify somewhat what the
3546 macro inhibits (bug#6525).
3547
15853710
LMI
3548 * simple.el (eval-expression): Note what it does if called
3549 interactively (bug#6495).
3550
bee0fcef
CY
35512011-07-13 Chong Yidong <cyd@stupidchicken.com>
3552
b796c9b7
SM
3553 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3554 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3555
3556 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3557 Remove switch-to-buffer.
3558
58274504
LMI
35592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3560
bd2fcc8d
LMI
3561 * files.el (make-directory): Clarify that an error will be raised
3562 if there's an error (bug#6397).
3563
0f04b32c
LMI
3564 * startup.el (initial-buffer-choice): Add `none' as a choice
3565 (bug#6234).
3566
465c5fc8
LMI
3567 * subr.el (add-hook): Clarify section about buffer-local hooks
3568 (bug#6218).
3569
58274504
LMI
3570 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3571
bead9a43
JB
35722011-07-13 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * tabify.el (untabify): Preserve the current column so that point
3575 doesn't move (bug#6032).
3576
3af98a7b
LMI
35772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3578
b796c9b7
SM
3579 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3580 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3581
6240145a
GM
35822011-07-13 Glenn Morris <rgm@gnu.org>
3583
3584 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3585 (dired-insert-directory): Give a message the first time
3586 if ls is found not to support --dired.
3587
1d8c2ccc
LMI
35882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3589
3590 * simple.el (toggle-truncate-lines): Clarify what is toggled
3591 (bug#5580). Text by Drew Adams.
3592
5fc4038e
CY
35932011-07-13 Chong Yidong <cyd@stupidchicken.com>
3594
3595 * simple.el (blink-matching-open): Make the error message from the
3596 last change less verbose.
3597
bf6012e5
DN
35982011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3599
3600 * font-lock.el (font-lock-comment-face): Use the high contrast
3601 "yellow" color for font-lock-comment-face on low color terminals
3602 using a dark background color (bug#4221).
3603
343c3b5a
LMI
36042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3605
7e9505c5
LMI
3606 * dired.el (dired-insert-set-properties): Make the doc string
3607 reflect what it does now (bug#5325).
3608
c26fdcf5
LMI
3609 * simple.el (blink-matching-open): Say that we were unable to find
3610 the match within the limit, if we're limited (bug#5122).
3611
bb388cc5
LMI
3612 * international/mule-cmds.el (prefer-coding-system): Add an
3613 example (bug#4869).
3614
343c3b5a
LMI
3615 * progmodes/etags.el (tags-search): Document `file-list-form'
3616 (bug#4731).
3617
2a517d45
LM
36182011-07-13 Lawrence Mitchell <wence@gmx.li>
3619
3620 * net/browse-url.el (browse-url-default-browser)
3621 (browse-url-browser-function): Make the default browser choice a
3622 bit more logical (bug#4300). Also clean up the doc string.
3623
b6c78ef2
JB
36242011-07-13 Juanma Barranquero <lekktu@gmail.com>
3625
3626 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3627 binary endings (bug#4440).
3628
1c4dd947
LMI
36292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3630
a2014063
LMI
3631 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3632 which can be pretty annoying (bug#8971).
3633
9c9c2d88
LMI
3634 * jka-compr.el (jka-compr-verbose): New variable, and use
3635 throughout (bug#8971).
3636
1c4dd947
LMI
3637 * info.el (Info-find-file): Fall back on the installation
3638 directory if we can't find the info node anywhere else.
3639
a1c9f41b
SO
36402011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3641
3642 * vc/vc.el (vc-revert-file):
3643 Don't set file time-stamp in the past. (Bug#5181)
3644
536f3d36
LMI
36452011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3646
7152b011
LMI
3647 * files.el (after-find-file): Give a better error message when
3648 trying to find a symlink that points to a file that doesn't exist
3649 (bug#4398).
3650
536f3d36
LMI
3651 * progmodes/cc-vars.el: Remove (probably) misleading comment
3652 (bug#4396).
3653
460c0fba
JB
36542011-07-12 Johan Bockgård <bojohan@gnu.org>
3655
3656 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3657
7a6bda45
CY
36582011-07-12 Chong Yidong <cyd@stupidchicken.com>
3659
3660 * mouse-sel.el: Hack restoring functionality, while keeping
3661 compatibility with 2010-07-03 changes to mouse selection.
3662 (mouse-sel-primary-overlay): New var.
3663 (mouse-sel-selection-alist): Use it.
3664 (mouse-sel-mode): Doc fix; remove points that are default features
3665 of mouse.el.
3666
c79598ef
JB
36672011-07-12 Johan Bockgård <bojohan@gnu.org>
3668
3669 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3670 Fix previous fix (bug#2490).
3671
ff8be6ef
RW
36722011-07-12 Roland Winkler <winkler@gnu.org>
3673
b796c9b7
SM
3674 * textmodes/bibtex.el (bibtex-initialize):
3675 Use pop-to-buffer-same-window.
ff8be6ef
RW
3676 (bibtex-search-entries): Fix interactive call.
3677
296ba3ee
LMI
36782011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3679
f5242a02 3680 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3681 Fontise bytecomp Error lines more correctly (bug#2490).
3682 Fix suggested by Johan Bockgård.
f5242a02 3683
296ba3ee
LMI
3684 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3685
3686 * dired-x.el (dired-guess-default): Use `delete-dups'.
3687
f69fd0d2
CY
36882011-07-12 Chong Yidong <cyd@stupidchicken.com>
3689
3690 * dired.el (dired-mark-prompt):
3691 * dired-aux.el (dired-read-shell-command): Doc fix.
3692
eab5dc07
LMI
36932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3694
b796c9b7
SM
3695 * mail/sendmail.el (sendmail-query-once):
3696 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3697 emacs -Q.
3698
3699 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3700
eab5dc07
LMI
3701 * cus-edit.el (custom-file): Take an optional no-error variable.
3702 (customize-save-variable): Set the variable, and give a warning if
3703 running under "emacs -q".
3704
a1e65d42
JB
37052011-07-11 Juanma Barranquero <lekktu@gmail.com>
3706
3707 * loadhist.el (unload-feature-special-hooks):
3708 Add `auto-coding-functions', `fill-nobreak-predicate' and
3709 `find-directory-functions' (bug#5327).
3710
1d52da10
LMI
37112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3712
be958f1d
LMI
3713 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3714
5bedb26c
LMI
3715 * cus-edit.el (custom-guess-name-alist): -alist variables should
3716 use the `alist' type (bug#3120). Suggested by Drew Adams.
3717
1d52da10
LMI
3718 * printing.el: Add documentation to all the `pr-toggle-' commands.
3719
481a51b6
LL
37202011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3721
3722 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3723 backends where it makes sense (bug#2623).
3724
dcc88d8a
LMI
37252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3726
c3de9feb
LMI
3727 * dired-x.el (dired-guess-default): Remove duplicate shell command
3728 entries (bug#2028).
8a93078b 3729 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3730 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3731
dcc88d8a
LMI
3732 * subr.el (remove-duplicates): New conveniency function.
3733
505e3645
LMI
37342011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735
3736 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3737 (bug#1526).
3738
37392011-07-10 Martin Rudalics <rudalics@gmx.at>
3740
3741 * window.el (display-buffer-normalize-default): Don't invert
3742 meaning of even-window-heights. Reported by Eli Zaretskii
3743 <eliz@gnu.org>.
3744
455e4fa1
BR
37452011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3746
3747 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3748
8e0bc3e9
CY
37492011-07-10 Chong Yidong <cyd@stupidchicken.com>
3750
3751 * window.el (display-buffer): Fix arguments to
3752 display-buffer-reuse-window in last change.
3753
fa7c3228
CY
3754 * faces.el (link): Use a less saturated blue on light backgrounds.
3755
3756 * startup.el (fancy-startup-text, fancy-about-text)
3757 (fancy-startup-tail): Use font-lock faces, for background safety.
3758
c0a7f300
BN
37592011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3760
b796c9b7
SM
3761 * emulation/viper-cmd.el (viper-change-state-to-vi):
3762 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3763
4dc2a129
MR
37642011-07-09 Martin Rudalics <rudalics@gmx.at>
3765
3766 * window.el (display-buffer-default-specifiers): Remove.
3767 (display-buffer-macro-specifiers): Remove default specifiers.
3768 (display-buffer-alist): Default to nil.
b796c9b7 3769 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3770 (display-buffer-pop-up-window): Allow splitting internal
3771 windows. Check whether a live window was created.
3772 (display-buffer-other-window-means-other-frame)
3773 (display-buffer-normalize-arguments): Rename to
3774 display-buffer-normalize-argument and rewrite. Set the
3775 other-window specifier.
3776 (display-buffer-normalize-special): New function.
3777 (display-buffer-normalize-options): Rename to
3778 display-buffer-normalize-default and rewrite.
3779 (display-buffer-normalize-options-inhibit): Remove.
3780 (display-buffer-normalize-specifiers): Rewrite.
3781 (display-buffer): Process other-window specifier and call
3782 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3783 more faithfully.
b796c9b7 3784 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3785 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3786 (display-buffer-in-window, display-buffer-alist-set):
3787 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3788 <tassilo@member.fsf.org>.
3789
2d43b8c9
LL
37902011-07-09 Leo Liu <sdl.web@gmail.com>
3791
3792 * register.el (insert-register): Restore accidental change on
3793 2011-06-26. (Bug#9028)
3794
7f9b7c53
GM
37952011-07-09 Glenn Morris <rgm@gnu.org>
3796
3797 * subr.el (remq): Handle the empty list. (Bug#9024)
3798
f042cfd8
AS
37992011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3800
3801 * mail/sendmail.el (send-mail-function): No longer delay custom
3802 initialization.
3803 * custom.el (custom-initialize-delay): Doc fix.
3804
856b2f11
SM
38052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3808
afae1d68
MA
38092011-07-08 Michael Albinus <michael.albinus@gmx.de>
3810
3811 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3812 human-friendly prompt.
3813
0757af94
SM
38142011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3817 provided by a particular plugin.
3818
d760b731
LMI
38192011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
3821 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3822 save customizations (with "emacs -Q"), just set the variable
3823 instead of erroring out.
3824
3825 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3826
cd79ce90
JL
38272011-07-08 Juri Linkov <juri@jurta.org>
3828
3829 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3830 (archive-zip-update-case): Use 7z if found by `executable-find'.
3831 The order of searching the available programs is the same as in
3832 `archive-zip-extract' (bug#8968).
3833
14cc04aa
CY
38342011-07-07 Chong Yidong <cyd@stupidchicken.com>
3835
3836 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3837 (menu-bar-options-menu): Tweak descriptions.
3838
0a1848ec
LMI
38392011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3840
3841 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3842 menu items into verb phrases (bug#1421). Also refill to fit under
3843 80 columns.
3844
f5bd0689
CY
38452011-07-07 Chong Yidong <cyd@stupidchicken.com>
3846
538e85c6
CY
3847 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3848 (Info-read-node-name): Doc fix (Bug#1084).
3849
f5bd0689
CY
3850 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3851 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3852 (end-of-sexp, beginning-of-sexp)
3853 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3854 (forward-symbol, forward-same-syntax, word-at-point)
3855 (sentence-at-point): Doc fix (Bug#1144).
3856
56ec5115
LMI
38572011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3858
f3f8e37f
LMI
3859 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3860 should cover it (bug#1281).
3861
0757af94 3862 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3863
e9fce1ac 3864 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
3865 negotiation fails, then possibly try again with a non-encrypted
3866 connection (bug#9017).
3867
56ec5115
LMI
3868 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3869 be used.
3870
c2f9aec8
RS
38712011-07-07 Richard Stallman <rms@gnu.org>
3872
3873 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3874 property, and handle its changed format.
3875 Look for the correct line number.
3876 Use file's line contents (but not past first =) to find
3877 correct line in message.
3878
ef7b981d 38792011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3880
3881 * international/characters.el (build-unicode-category-table):
3882 Delete it.
0757af94 3883 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3884
0757af94 3885 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3886 to src/chartab.c.
3887 (get-char-code-property): Call unicode-property-table-internal to
3888 load a file. Call get-unicode-property-internal where necessary.
3889 (put-char-code-property): Call unicode-property-table-internal to
3890 load a file. Call put-unicode-property-internal where necessary.
3891 put-unicode-property-internal where necessary.
0757af94
SM
3892 (char-code-property-description):
3893 Call unicode-property-table-internal to load a file.
c805dec0
KH
3894
3895 * international/charprop.el:
3896 * international/uni-bidi.el:
3897 * international/uni-category.el:
3898 * international/uni-combining.el:
3899 * international/uni-comment.el:
3900 * international/uni-decimal.el:
3901 * international/uni-decomposition.el:
3902 * international/uni-digit.el:
3903 * international/uni-lowercase.el:
3904 * international/uni-mirrored.el:
3905 * international/uni-name.el:
3906 * international/uni-numeric.el:
3907 * international/uni-old-name.el:
3908 * international/uni-titlecase.el:
3909 * international/uni-uppercase.el: Regenerate.
3910
3911 * loadup.el: Load international/charprop.el before
3912 international/characters.
3913
e14b388a
CY
39142011-07-07 Chong Yidong <cyd@stupidchicken.com>
3915
3916 * window.el (next-buffer, previous-buffer): Signal an error if
3917 called from a minibuffer window.
3918
3919 * bindings.el: Revert 2011-07-04 change.
3920
354cf0ba
RS
39212011-07-06 Richard Stallman <rms@gnu.org>
3922
3923 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3924 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3925 Treat markers like ints.
3926 (rmail-mime-entity): Doc fix.
3927
a48868a7
LMI
39282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3929
4906cd3d
LMI
3930 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3931 defcustom again for backwards compatibility.
3932
e0457abe
LMI
3933 * simple.el (shell-command-on-region): Fill.
3934
d67f7e1f
LMI
3935 * dired-aux.el (dired-kill-line): Add a doc string.
3936
fe204702
LMI
3937 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3938 to "\\sw\\|\\s_" (bug#358).
3939
a48868a7
LMI
3940 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3941 (dired-unmark-backward): Ditto.
3942 (dired-flag-backup-files): Ditto.
3943
3944 * dired-x.el (dired-mark-sexp): Ditto.
3945
aa8a705c
RS
39462011-07-06 Richard Stallman <rms@gnu.org>
3947
3948 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3949 (rmail-mime-entity): New arg TRUNCATED.
3950 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3951 New functions.
3952 (rmail-mime-save): Warn if entity is truncated.
3953 (rmail-mime-toggle-hidden): Likewise, for showing.
3954 (rmail-mime-process-multipart): Record when an entity is truncated.
3955
a9a936b9
RS
3956 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3957 if ENTITY is a string.
3958
1f2b92cb
LMI
39592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3960
f4f73198 3961 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3962 of faces when `M-C-x'-ing their definitions (bug#8378).
3963 Also clean up the code slightly.
f4f73198 3964
12b16734 3965 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3966 because that makes the colors go away.
12b16734 3967
f0691d22
LMI
3968 * mail/sendmail.el (send-mail-function): Change the default to
3969 `sendmail-query-once'.
9e87df06 3970 (sendmail-query-once): Add an autoload cookie.
f0691d22 3971
1f2b92cb
LMI
3972 * net/network-stream.el (network-stream-open-starttls): Try using
3973 a plain connection even if the server offered STARTTLS, and we
3974 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3975 capability. This should make smtpmail.el work in slightly more
3976 configurations.
3977
1cdd2a1b
MA
39782011-07-06 Michael Albinus <michael.albinus@gmx.de>
3979
3980 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3981 New defun.
3982 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3983
fbcc67e2
MM
39842011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3985
3986 * progmodes/sql.el: Version 3.0
0757af94 3987 (sql-product-alist): Add product :completion-object,
fbcc67e2 3988 :completion-column, and :statement attributes.
0757af94 3989 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3990 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3991 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3992 ansi keywords.
3993 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3994 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3995 (sql-oracle-show-reserved-words): New function for development.
3996 (sql-product-font-lock): Simplify for source code buffers.
3997 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3998 New functions.
3999 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4000 (sql-mode-map): Add statement movement functions.
4001 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4002 New variable.
fbcc67e2
MM
4003 (sql-statement-regexp, sql-beginning-of-statement)
4004 (sql-end-of-statement, sql-signum): New functions.
0757af94 4005 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4006 (sql-show-sqli-buffer): Bug fix.
4007 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4008 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4009 with sql-interactive-mode.
4010 (sql-save-connection): Save buffer local settings.
0757af94 4011 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4012 (sql-product-interactive): Bug fix.
4013 (sql-preoutput-hold): New variable.
4014 (sql-interactive-remove-continuation-prompt): Bug fixes.
4015 (sql-debug-redirect): New variable.
4016 (sql-str-literal): New function.
4017 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4018 Redesign.
fbcc67e2
MM
4019 (sql-oracle-save-settings, sql-oracle-restore-settings)
4020 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4021 (sql-completion-object, sql-completion-column)
4022 (sql-completion-sqlbuf): New variables.
4023 (sql-build-completions-1, sql-build-completions)
4024 (sql-try-completion): New functions.
4025 (sql-read-table-name): Use them.
4026 (sql-contains-names): New buffer local variable.
4027 (sql-list-all, sql-list-table): Use it.
4028 (sql-oracle-completion-types): New variable.
4029 (sql-oracle-completion-object, sql-sqlite-completion-object)
4030 (sql-postgres-completion-object): New functions.
4031
d4eaeab1
GM
40322011-07-06 Glenn Morris <rgm@gnu.org>
4033
4034 * window.el (pop-to-buffer): Doc fix.
4035
322b7dab 40362011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4037
4038 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4039
322b7dab 40402011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4041
322b7dab 4042 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4043
322b7dab 4044 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4045
605dd5bf
CY
40462011-07-05 Chong Yidong <cyd@stupidchicken.com>
4047
4048 * button.el (button): Inherit from link face. Suggested by Dan
4049 Nicolaescu.
4050
7dbfa719
SM
40512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4052
3db614b0
SM
4053 * progmodes/gdb-mi.el: Fit in 80 columns.
4054 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4055 switch-to-buffer.
4056
7dbfa719
SM
4057 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4058 if imenu is simply not configured (bug#8941).
4059
919d884a
KM
40602011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4061
4062 * allout.el (allout-post-undo-hook): New allout outline-change
4063 event hook to signal undo activity.
4064 (allout-post-command-business): Run allout-post-undo-hook if an
4065 undo just occurred.
7dbfa719
SM
4066 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4067 * allout-widgets.el (allout-widgets-after-undo-function):
4068 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4069 in the vicinity of an undo.
4070 (allout-widgets-mode): Include allout-widgets-after-undo-function
4071 on the new allout-post-undo-hook.
4072
450a0f09
SM
40732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4076 Let define-derived-mode define it.
4077 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4078 cycles of abbrev-table inheritance (bug#8998).
4079
2de69e00
RW
40802011-07-05 Roland Winkler <winkler@gnu.org>
4081
4082 * textmodes/bibtex.el: Add support for biblatex.
4083 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4084 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4085 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4086 (bibtex-entry-alist, bibtex-field-alist): New variables.
4087 (bibtex-entry-field-alist): Obsolete alias for
4088 bibtex-BibTeX-entry-alist.
4089 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4090 (bibtex-set-dialect): New command.
4091 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4092 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4093 Bind via bibtex-set-dialect.
2de69e00
RW
4094 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4095 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4096 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4097 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4098 Define via bibtex-set-dialect.
450a0f09
SM
4099 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4100 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4101 (bibtex-vec-push, bibtex-vec-incr): New functions.
4102 (bibtex-format-entry, bibtex-field-list)
4103 (bibtex-print-help-message, bibtex-validate)
4104 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4105
2dcdbdd9
SM
41062011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * progmodes/compile.el (compilation-goto-locus):
4109 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4110 * bs.el (bs-cycle-next, bs-cycle-previous):
4111 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4112 * bindings.el (mode-line-other-buffer):
4113 * autoinsert.el (auto-insert):
4114 * arc-mode.el (archive-extract):
4115 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4116
b27640fe
JB
41172011-07-05 Juanma Barranquero <lekktu@gmail.com>
4118
4119 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4120 Fix check of `emacs-lock-unlockable-modes'.
4121 Coerce true values of `emacs-lock--try-unlocking' to t.
4122
53bbe3ad
JB
41232011-07-05 Juanma Barranquero <lekktu@gmail.com>
4124
4125 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4126 * emacs-lock.el: New file.
4127
1d3cdbc7
JD
41282011-07-05 Julien Danjou <julien@danjou.info>
4129
4130 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4131 than `boundp' to check if face is set.
4132
9173deec
JB
41332011-07-05 Juanma Barranquero <lekktu@gmail.com>
4134
4135 * register.el (registerv-make):
4136 * window.el (window-min-height): Fix typos in docstrings.
4137
869795d6
JD
41382011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4139
9173deec 4140 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4141 Update doc string.
4142
b768cdcd
JB
41432011-07-04 Juanma Barranquero <lekktu@gmail.com>
4144
4145 * server.el (server-execute): Catch quit and call
4146 `server-return-error' to pass the error back to emacsclient and
4147 close the connection (bug#8942).
4148
13aa217b
KM
41492011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4150
4151 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4152 insecure exception for current topic. Also note that auto-saves
4153 are handled differently.
4154
4155 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4156 State variables for tracking auto-save inhibition situation.
4157
4158 (allout-write-contents-hook-handler): Rename from
4159 'allout-write-file-hook-handler', and describe how it depends on
4160 write-contents-functions sensitivity to non-nil value to prevent
4161 file write.
4162
4163 (allout-auto-save-hook-handler): Remove. auto-save does not check
4164 this in individual buffers, only in the starting buffer, so this
4165 is not the right way for us to inhibit auto-save in a buffer
4166 according to its condition.
4167
4168 (allout-mode): Use new allout-write-contents-hook-handler, and
4169 only with write-contents-functions. Remove auto-save provisions -
4170 they're implemented elsewhere.
4171
4172 (allout-before-change-handler): If undo is in progress, note that
4173 for attention of allout-post-command-business.
4174
4175 (allout-post-command-business): If the command we're following was
4176 an undo, check for change in the status of encrypted items and
4177 adjust auto-save inhibitions accordingly.
4178
4179 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4180 according to whether there are or aren't any plain-text topics
4181 pending encryption.
4182
2dcdbdd9
SM
4183 (allout-inhibit-auto-save-info-for-decryption):
4184 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4185 there are plain-text topics pending encryption.
4186
4187 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4188 buffer-saved-size and some allout state to not inhibit auto-saves
4189 if there are no longer any plain-text topics pending encryption.
4190
0757af94
SM
4191 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4192 No longer provide for exemption of the current topic.
13aa217b 4193
ac89b32c
JL
41942011-07-04 Juri Linkov <juri@jurta.org>
4195
4196 Add 7z operations to delete and save changed members (bug#8968).
4197 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4198 New defcustoms.
4199 (archive-7z-write-file-member): New function.
4200 (archive-7z-summarize): Fix the number of dashes in the
4201 listing output.
4202
8fa39615
SM
42032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4206 (bug#8958).
4207
2f11b3f1
CY
42082011-07-04 Chong Yidong <cyd@stupidchicken.com>
4209
d66fef2b
CY
4210 * bindings.el: Ignore next-buffer and previous-buffer in
4211 minibuffer-local-map.
4212
2f11b3f1
CY
4213 * font-lock.el (font-lock-builtin-face): Change light background
4214 color to dark slate blue (Bug#6693).
4215
f932a347
WD
42162011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4217
4218 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4219
c8af70e1
SM
42202011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4223 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4224 Add switch-to-buffer.
4225
f158badc
LMI
42262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4227
4228 * isearch.el (isearch-search-fun-function): Clarify further the
4229 meaning of the function returned.
4230
6d95bd46
MA
42312011-07-04 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4234
4235 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4236 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4237 Use it.
4238 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4239 `tramp-default-remote-path' does not exist.
4240 (tramp-send-command-and-read): New optional argument NOERROR.
4241 (tramp-open-connection-setup-interactive-shell)
4242 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4243 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4244 (tramp-process-sentinel): Flush also process' connection property.
4245 (tramp-sh-handle-start-file-process): Do not set process
4246 sentinel. It is done now ...
4247 (tramp-maybe-open-connection): ... here. (Bug#8929)
4248
909e6b67
MK
42492011-07-04 MON KEY <monkey@sandpframing.com>
4250
4251 * play/animate.el (animate-string): Doc fixes and allow changing
4252 the buffer name (bug#5417).
4253
42542011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4255
c8af70e1 4256 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4257
f34755dc
PE
42582011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4259
396cec72
PE
4260 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4261 This is simpler and helps future-proof the code.
4262 (timer-until): Use time-subtract and float-time.
08235028 4263 (timer--time-less-p): Use time-less-p.
f34755dc 4264
56e6cc31
JB
42652011-07-04 Juanma Barranquero <lekktu@gmail.com>
4266
3abb79e5
JB
4267 * type-break.el (timep): Use the value of `float-time' to avoid a
4268 byte-compiler warning.
4269
56e6cc31
JB
4270 * server.el (server-eval-and-print): Return any result, even nil.
4271
7b9430b4
PE
42722011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4273
4274 * type-break.el: Accept time formats that the builtins accept.
4275 (timep, type-break-time-difference): Accept any format that
4276 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4277 This is simpler and helps future-proof the code.
4278 (type-break-time-difference): Round rather than ignoring
4279 subseconds components.
4280
3034e9e7
LMI
42812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4282
4283 * info.el (Info-apropos-matches): Make non-interactive, since it
4284 doesn't seem to do anything useful as a command (bug#8829).
4285
1485f4c0
CY
42862011-07-03 Chong Yidong <cyd@stupidchicken.com>
4287
4288 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4289 Move from faces.el.
1485f4c0
CY
4290 (frame-default-terminal-background): New function.
4291
4292 * custom.el (custom-push-theme): Don't record faces in `changed'
4293 theme; this doesn't work correctly for per-frame face settings.
4294 (disable-theme): Use face-set-after-frame-default to reset faces.
4295 (custom--frame-color-default): New function.
4296
9fa3dd45
LMI
42972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4298
c8af70e1 4299 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4300 (bug#8769).
4301
6cbbc20c
KR
43022011-03-29 Kevin Ryde <user42@zip.com.au>
4303
4304 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4305 `perl-Test2' extend to match possible "fail #N" rep count
4306 (bug#8377).
4307
c7f98048
LMI
43082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4309
65676592
LMI
4310 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4311 `smtpmail-via-smtp' now returns the error instead of nil.
4312
c7f98048
LMI
4313 * isearch.el (isearch-search-fun-function): Clarify the doc string
4314 (bug#8101).
4315
56e6cc31 43162011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4317
4318 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4319 unnecessary spaces (bug#8987).
4320
2b216704
LMI
43212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4322
4323 * net/network-stream.el (open-network-stream): Use the
4324 :end-of-capability command thoughout.
4325
43262011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4327
4328 * net/network-stream.el (open-network-stream): Add the
4329 :end-of-capability command parameter, used by pop3.el.
4330
36adf6ce
LMI
43312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4332
1ca0da0e
LMI
4333 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4334
fc00f69c
LMI
4335 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4336 for list)" (bug#6475).
4337
28fd8759 4338 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4339 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4340 an error (bug#6297).
4341
0dd8b6da
LMI
4342 * man.el (Man-reference-regexp): Allow matching possible
4343 word-wrapped references (bug#6289).
4344
ce1438d6
LMI
4345 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4346 for consistency with the other vc buffers (bug#6197).
4347 (vc-checkin): Ditto.
4348
4349 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4350
36adf6ce
LMI
4351 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4352
e83cc1f7
LMI
43532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4354
8a20ca4c
LMI
4355 * custom.el (defcustom): Clarify that :set is only used in the
4356 Customize user interface (bug#6089).
4357
83319045
LMI
4358 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4359 associated with a file, refuse to run instead of erroring out
4360 (bug#6084).
4361
a8392169
LMI
4362 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4363 the doc string, since it appears that using `fill-column' always
4364 controls the width (bug#7845).
4365
e83cc1f7
LMI
4366 * simple.el (shell-command-on-region): Say where the error output
4367 went if `shell-command-default-error-buffer' is set (bug#6857).
4368
e47ca23b
KM
43692011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4370
4371 * allout.el (allout-yank-processing): Adjust cursor position for
4372 backwards-deleted space.
4373
4374 (allout-rebullet-heading): Register changes with
4375 allout-exposure-changed-hook, so the modified topic is properly
4376 decorated.
4377
5cf56143
LMI
43782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4379
08549772
LMI
4380 * minibuffer.el (completion-in-region): Document PREDICATE
4381 (bug#7136).
4382
48e96771
LMI
4383 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4384 of keyword/argument pairs (bug#6904).
4385
c8af70e1
SM
4386 * replace.el (multi-occur):
4387 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4388
e17d05e2
LMI
43892011-07-02 Drew Adams <drew.adams@oracle.com>
4390
4391 * dired.el (dired-mark-if): Make the message about whether it's
4392 marking or unmarking clearer (bug#8523).
4393
063b0e45
LMI
43942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4395
4396 * disp-table.el (display-table-print-array): New function.
4397 (describe-display-table): Use it to print the vectors more pretty
4398 (Bug#8859).
4399
28545e04
MR
44002011-07-02 Martin Rudalics <rudalics@gmx.at>
4401
4402 * window.el (window-state-get-1): Don't assign clone numbers.
4403 Add clone-of item to list of window parameters.
4404 (window-state-put-2): Don't process clone numbers.
4405 (display-buffer-alist): Fix doc-string.
4406
3349e122
SM
44072011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * subr.el (remq): Don't allocate if it's not needed.
4410 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4411 (keymap--merge-bindings): New functions.
4412 (keymap-canonicalize): Use them to refine the canonicalization.
4413 * minibuffer.el (minibuffer-local-completion-map)
4414 (minibuffer-local-must-match-map): Move initialization from C.
4415 (minibuffer-local-filename-completion-map): Move initialization from C;
4416 don't inherit from anything here.
4417 (minibuffer-local-filename-must-match-map): Make obsolete.
4418 (completing-read-default): Use make-composed-keymap to combine
4419 minibuffer-local-filename-completion-map with either
4420 minibuffer-local-must-match-map or
4421 minibuffer-local-filename-completion-map.
4422
d224ac83
GM
44232011-07-01 Glenn Morris <rgm@gnu.org>
4424
3de63bf8
GM
4425 * type-break.el (type-break-time-sum): Use dolist.
4426
d224ac83
GM
4427 * textmodes/flyspell.el (flyspell-word-search-backward):
4428 Replace CL function.
4429
1a1e3f32
SM
44302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4431
fe3f64d5
SM
4432 * mouse.el (mouse--strip-first-event): New function.
4433 (function-key-map): Use it to map fringe clicks to normal clicks
4434 by default.
4435
eb604e34
SM
4436 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4437 (vc-bzr-revision-completion-table): Add support for annotate and date.
4438
1a1e3f32
SM
4439 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4440 inherit from parent.
4441
5bd35902
LMI
44422011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4443
ace6c69c 4444 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4445 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4446
191e2bed
LMI
4447 * dired.el (dired-mode): Fix up the doc string as suggested by
4448 Drew Adams (bug#8817).
4449
5bd35902
LMI
4450 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4451 cookie, since the manual says that it should be possible to add
4452 this function to `find-file-hook' (bug#8709).
4453
eee8207a
TZ
44542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4455
4456 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4457 here. Noted Ted Zlatanov as the maintainer.
4458 (cfengine-common-settings, cfengine-common-syntax): New functions
4459 to set up common things between `cfengine-mode' and
4460 `cfengine3-mode'.
4461 (cfengine3-mode): New mode.
4462 (cfengine3-defuns cfengine3-defuns-regex
4463 (cfengine3-class-selector-regex cfengine3-category-regex)
4464 (cfengine3-vartypes cfengine3-font-lock-keywords)
4465 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4466 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4467
36b148cf
MA
44682011-07-01 Michael Albinus <michael.albinus@gmx.de>
4469
4470 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4471
4472 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4473
0bf4ba9a
MR
44742011-07-01 Martin Rudalics <rudalics@gmx.at>
4475
4476 * window.el (same-window-buffer-names, same-window-regexps)
4477 (same-window-p, special-display-frame-alist)
4478 (special-display-popup-frame, special-display-function)
4479 (special-display-buffer-names, special-display-regexps)
4480 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4481 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4482 (split-window-preferred-function, split-height-threshold)
4483 (split-width-threshold, even-window-heights)
4484 (display-buffer-mark-dedicated, window-splittable-p)
4485 (split-window-sensibly, window-safely-shrinkable-p):
4486 Un-obsolete.
4487 (display-buffer): Don't spread args with function specifier
4488 because special-display-popup-frame won't like it.
4489
35837f51
PE
44902011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4491
d0672f86
PE
4492 Time-stamp simplifications and fixes.
4493 These improve accuracy slightly, and future-proof the code
4494 against some potential changes to current-time format.
4495
b9444d97
PE
4496 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4497 by using time-since and float-time.
4498
0ef923dc
PE
4499 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4500 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4501 + NNN microseconds".
4502
2f81380d
PE
4503 * type-break.el (type-break-time-sum): Rewrite using time-add.
4504
845b5c3e
PE
4505 * play/hanoi.el (hanoi-current-time-float): Remove.
4506 All uses replaced by float-time.
4507
ee6f1be0
PE
4508 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4509 This yields a more-accurate answer.
4510 (rng-time-to-float): Remove; no longer needed.
4511
fe955043
PE
4512 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4513
5777162a
PE
4514 * calendar/timeclock.el (timeclock-seconds-to-time):
4515 Defalias to seconds-to-time, since they're the same thing.
4516
3103f8b6 4517 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4518 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4519 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4520
0e61a35f
SM
45212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * window.el (bury-buffer): Don't iconify the only frame.
4524 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4525 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4526
ddd63a1e
CY
45272011-07-01 Chong Yidong <cyd@stupidchicken.com>
4528
0e61a35f
SM
4529 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4530 Add mouse-yank-primary.
ddd63a1e 4531
055f4923
TZ
45322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4533
4534 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4535
6a2fb145
SM
45362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4539 (find-library-name): Use it to find relative load names when provided
4540 absolute file name (bug#8803).
4541
fd4983f2
LMI
45422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543
887d14ad
LMI
4544 * textmodes/flyspell.el (flyspell-word): Consider words that
4545 differ only in case as potential doublons (bug#5687).
4546
c53dc7fc
LMI
4547 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4548 Remove two rather uninteresting debugging-like messages to make
4549 debbugs.el more silent.
4550
fd4983f2
LMI
4551 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4552 a password-like phrase.
4553
b14c0c55
AM
45542011-06-30 Mastake YAMATO <yamato@redhat.com>
4555
4556 * progmodes/cc-guess.el: New file.
4557
6a2fb145 4558 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4559
4560 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4561 derived from `c-basic-common-init'.
4562
4563 * progmodes/cc-mode.el (top-level): Require cc-guess.
4564 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4565
1fa280a3
LM
45662011-06-30 Lawrence Mitchell <wence@gmx.li>
4567
4568 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4569
e6597158
AM
45702011-06-30 Alan Mackenzie <acm@muc.de>
4571
1fa280a3
LM
4572 * progmodes/cc-engine.el (c-guess-continued-construct):
4573 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4574 lock is disabled. Name this case as "CASE G".
4575
68ba37fb
KM
45762011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4577
4578 * allout.el (allout-yank-processing): Fix injection of extra space
4579 between bullet and non-whitespace character in first topic when
4580 pasting, ensuring that the actual spacing in the pasted topic
4581 following the bullet char is preserved. This extra space was
4582 causing pasted encrypted topics to get a decrypted status even
4583 when the content was actually still encrypted. Now the decryption
4584 status from before the paste is preserved.
4585
4586 (allout-flag-region): Set all allout overlays so they evaporate
4587 when reduced to zero length (evanescent), to prevent overlay
4588 leakage.
4589
887a0b34
GM
45902011-06-30 Glenn Morris <rgm@gnu.org>
4591
94b9acce
GM
4592 * w32-fns.el (w32-charset-info-alist): Declare.
4593
1d9b46d4
GM
4594 * find-dired.el (find-grep-options): Simplify.
4595
cc232200
GM
4596 * term/ns-win.el (ns-set-resource): Declare.
4597
28e77c46
GM
4598 * ses.el (row, col): Declare dynamic variables honestly.
4599
887a0b34
GM
4600 * textmodes/reftex-parse.el (index-tags): Declare.
4601
658d8eb8
CY
46022011-06-30 Chong Yidong <cyd@stupidchicken.com>
4603
4604 * cus-edit.el (customize-push-and-save): New function.
4605
4606 * files.el (hack-local-variables-confirm): Use it.
4607
1fa280a3
LM
4608 * custom.el (load-theme): New arg NO-CONFIRM.
4609 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4610 (custom-enabled-themes): Doc fix.
4611
4612 * cus-theme.el (customize-create-theme)
4613 (custom-theme-merge-theme): Callers to load-theme changed.
4614
bb617717
LMI
46152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616
d61bdd5d
LMI
4617 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4618 short URLs have at least one dot in them (bug #7614).
4619
bb617717
LMI
4620 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4621 nil, because using a pty is apparently too slow (bug #895).
4622
2f31f37a
LMI
46232011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4624
4625 * mail/sendmail.el (sendmail-query-once): New function.
4626 (sendmail-query-once-function): New variable.
4627
3076b24e
GM
46282011-06-29 Glenn Morris <rgm@gnu.org>
4629
faf2a174
GM
4630 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4631
3076b24e
GM
4632 * ses.el (top-level): Require cl when compiling.
4633 (ses-set-localvars): Fix error statement.
4634 Call it at compile time to silence a storm of warnings.
4635
5386012d
MR
46362011-06-29 Martin Rudalics <rudalics@gmx.at>
4637
4638 * window.el (normalize-live-buffer): Rename to
4639 window-normalize-buffer.
4640 (normalize-live-frame): Rename to window-normalize-frame.
4641 (normalize-any-window): Rename to window-normalize-any-window.
4642 (normalize-live-window): Rename to window-normalize-live-window.
4643 (make-window-atom): Rename to window-make-atom.
4644 (window-resize-reset): Rename to window--resize-reset.
4645 (window-resize-reset-1): Rename to window--resize-reset-1.
4646 (resize-mini-window): Rename to window--resize-mini-window.
4647 (resize-subwindows-skip-p): Rename to
4648 window--resize-subwindows-skip-p.
4649 (resize-subwindows-normal): Rename to
4650 window--resize-subwindows-normal.
4651 (resize-subwindows): Rename to window--resize-subwindows.
4652 (resize-other-windows): Rename to window--resize-siblings.
4653 (resize-this-window): Rename to window--resize-this-window.
4654 (resize-root-window): Rename to window--resize-root-window.
4655 (resize-root-window-vertically): Rename to
4656 window--resize-root-window-vertically.
4657 (normalize-buffer-to-display): Rename to
4658 window-normalize-buffer-to-display.
4659 (normalize-buffer-to-switch-to): Rename to
4660 window-normalize-buffer-to-switch-to.
4661 Correspondingly update all callers of the functions listed
4662 above.
4663 (display-buffer-alist, display-buffer-normalize-arguments)
4664 (display-buffer-normalize-options, display-buffer)
4665 (display-buffer-alist-set): Use "function" instead of
4666 "fun-with-args".
4667
1176868d
CY
46682011-06-28 Chong Yidong <cyd@stupidchicken.com>
4669
4670 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4671 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4672 debbugs.gnu.org. Mention acknowledgment email.
4673
20a7a65f
LMI
46742011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4675
4676 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4677 buffer multibyteness, since it shouldn't matter.
4678
5f45cca5
MR
46792011-06-28 Martin Rudalics <rudalics@gmx.at>
4680
4681 * window.el (display-buffer-in-side-window): Handle dedicated
4682 windows as in display-buffer-reuse-window.
4683 (display-buffer-normalize-alist): Use value of override
4684 specifier.
4685 (display-buffer-normalize-specifiers): Use value of
4686 other-window-means-other-frame specifier.
4687 (display-buffer-alist): Rewrite some texts in widgets.
4688 (display-buffer): Spread arguments when calling function
4689 specified by fun-with-args.
4690
ad85fe1f
DD
46912011-06-28 Deniz Dogan <deniz@dogan.se>
4692
1fa280a3
LM
4693 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4694 Unnest `let'.
da68c4c8 4695
ad85fe1f
DD
4696 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4697 selectors (Bug#5732).
ec49bd31 4698 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4699
a08cc025
JA
47002011-06-27 Jari Aalto <jari.aalto@cante.net>
4701
4702 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4703 (eshell-ls-date-format): New defcustom.
4704 (eshell-ls-file): Use it.
4705
e2b551c5
SM
47062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4709
8982b231
KY
47102011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4711
4712 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4713 (ange-ftp-make-tmp-name): New arg.
4714 (ange-ftp-file-local-copy): Use it.
4715
36c9fa27
J
47162011-06-27 Jambunathan K <kjambunathan@gmail.com>
4717
4718 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4719 no-conversion (Bug#8870).
4720
d68443dc
MR
47212011-06-27 Martin Rudalics <rudalics@gmx.at>
4722
4723 * window.el (window-right, window-left, window-child)
4724 (window-child-count, window-last-child)
4725 (window-iso-combination-p, walk-window-tree-1)
4726 (window-atom-check-1, window-tree-1, delete-window)
4727 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4728 new naming conventions - window-vchild, window-hchild,
4729 window-next and window-prev are now called window-top-child,
4730 window-left-child, window-next-sibling and window-prev-sibling
4731 respectively.
d615d6d2
MR
4732 (resize-window-reset): Rename to window-resize-reset.
4733 (resize-window-reset-1): Rename to window-resize-reset-1.
4734 (resize-window): Rename to window-resize.
4735 (window-min-height, window-min-width)
4736 (resize-mini-window, resize-this-window, resize-root-window)
4737 (resize-root-window-vertically, adjust-window-trailing-edge)
4738 (enlarge-window, shrink-window, maximize-window)
4739 (minimize-window, delete-window, quit-restore-window)
4740 (split-window, balance-windows, balance-windows-area-adjust)
4741 (balance-windows-area, window-state-put-2)
4742 (display-buffer-even-window-sizes, display-buffer-set-height)
4743 (display-buffer-set-width, set-window-text-height)
4744 (fit-window-to-buffer): Rename all "resize-window" prefixed
4745 calls to use the "window-resize" prefix convention.
4746 (display-buffer-alist): Fix symbol for label specifier.
4747 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4748 corresponding specifier.
4749 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4750
b6458526
VB
47512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4752
4753 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4754 convention.
4755 (ses-call-printer): Does not pass an empty string to formatter when the
4756 cell is empty to keep from barking printer Calc math-format-value.
4757
d31fd9ac
RS
47582011-06-27 Richard Stallman <rms@gnu.org>
4759
43d5bf84
RS
4760 * battery.el (battery-mode-line-limit): New variable.
4761 (battery-update): Handle it.
4762
d31fd9ac
RS
4763 * mail/rmailmm.el (rmail-mime-process-multipart):
4764 Handle truncated messages.
4765
819a6054
GM
47662011-06-27 Glenn Morris <rgm@gnu.org>
4767
4768 * progmodes/flymake.el (flymake-err-line-patterns):
4769 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4770
cedc73f2
VB
47712011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4772
819a6054 4773 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4774 (ses--clean-!, ses--clean-_): New functions.
4775 (ses-range): Add configurability of readout order, and conversion
4776 to Calc vector.
4777
5e5d49b6
VB
4778 * ses.el (ses-repair-cell-reference-all): New function.
4779 (ses-cell-symbol): Set macro as safe, so that it can be used in
4780 formulas.
4781
56e6cc31 4782 * ses.el: Update cycle detection algorithm.
90ca8b49 4783 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4784 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4785 (ses-set-localvars): New function.
4786 (ses-make-cell): Add property-list as a cell element.
4787 (ses-cell-property-get-fun, ses-cell-property-get)
4788 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4789 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4790 New functions.
90ca8b49
VB
4791 (ses-cell-property-set, ses-cell-property-pop)
4792 (ses-cell-property-get-handle): New macro.
4793 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4794 New aliases, used for code readability.
4795 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4796 cycle detection.
4797 (ses-self-reference-early-detection): New defcustom.
4798 (ses-formula-references): Robustify against self-refering cells.
4799 (ses-mode): Use ses-set-localvars.
4800 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4801 before lauching the update processing.
4802 (ses-initialize-Dijkstra-attempt): New function.
4803 (ses-recalculate-cell): Update for cycle detection based on
4804 Dijkstra algorithm.
4805
2bb63e81
VB
4806 * ses.el: Fix commenting and indenting convention.
4807
c9d29fb8
SM
48082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * bs.el (bs-cycle-next): Complete last change.
4811
d8e4b68b
JB
48122011-06-27 Drew Adams <drew.adams@oracle.com>
4813
4814 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4815
40098786
LMI
48162011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817
c9d29fb8
SM
4818 * net/network-stream.el (network-stream-open-starttls):
4819 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4820 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4821
40098786
LMI
4822 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4823 to binary to possibly avoid line encoding issues on Windows (among
4824 other things).
4825
468d09d4
LMI
48262011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4827
4828 * net/network-stream.el (open-network-stream): Return an :error
4829 saying what the problem was, if possible.
4830
4831 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4832 server.
4833
4834 * net/network-stream.el (network-stream-open-starttls): If we
4835 wanted to use STARTTLS, and the server offered it, but we weren't
4836 able to because we had no STARTTLS support, then close the connection.
4837 (open-network-stream): Return an :error element, if present.
4838
16f07dd7
CY
48392011-06-26 Chong Yidong <cyd@stupidchicken.com>
4840
88821ca0
CY
4841 * hl-line.el (hl-line-sticky-flag): Doc fix.
4842 (global-hl-line-sticky-flag): New option (Bug#8323).
4843 (global-hl-line-highlight): Obey it.
4844
16f07dd7
CY
4845 * vc/vc.el (vc-revert-show-diff): Default to t.
4846
6b5ccddf
KM
48472011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4848
c9d29fb8
SM
4849 * allout-widgets.el (allout-widgets-post-command-business):
4850 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4851 undecorated when an isearch is continued past, and isearch
4852 automatically collapses them. This leads to "widget leaks", where
4853 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4854 hidden widgets can slow down cursor travel, substantially.
4855 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4856 so we're doing without this nicety.
4857
4858 (allout-widgets-tally-string): Don't try to do a hash-table-count
4859 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4860 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4861 *Messages* when allout-widgets-maintain-tally is t.
4862
355f2e07
MR
48632011-06-26 Martin Rudalics <rudalics@gmx.at>
4864
4865 * window.el (display-buffer-normalize-argument): Rename to
4866 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4867 LABEL argument. Respect special-display-function when popping up
4868 a new frame. Fix code searching for a window showing the buffer
4869 on another frame.
c9d29fb8
SM
4870 (display-buffer-normalize-specifiers):
4871 Call display-buffer-normalize-arguments.
355f2e07
MR
4872 (display-buffer-in-window): Don't undedicate the window if its
4873 buffer remains the same.
4874 Reported by Drew Adams <drew.adams@oracle.com>.
4875 (display-buffer-alist): Add choice for same-window macro
4876 specfier.
4877 (display-buffer): Mention special meaning of LABEL argument in
4878 doc-string. Fix quoting. Don't pop up a new frame even as
4879 fallback.
4880
7ca8fc42
JB
48812011-06-26 Juanma Barranquero <lekktu@gmail.com>
4882
4883 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4884 avoid deleting the current window in some cases (bug#8911).
4885
bc312254
AS
48862011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4887
4888 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4889 (Bug#8934)
4890
2db18f3f
LMI
48912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4892
c9d29fb8
SM
4893 * net/network-stream.el (network-stream-open-starttls):
4894 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4895 (network-stream-open-tls): Ditto.
4896
6302e0d3
LL
48972011-06-26 Leo Liu <sdl.web@gmail.com>
4898
4899 * register.el (registerv): New struct.
4900 (registerv-make): New function.
c9d29fb8
SM
4901 (jump-to-register, describe-register-1, insert-register):
4902 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4903 struct. (Bug#8415)
4904
5fdd4046
CY
49052011-06-26 Chong Yidong <cyd@stupidchicken.com>
4906
2afef60a
CY
4907 * vc/vc.el (vc-revert-show-diff): New defcustom.
4908 (vc-diff-internal): New arg specifying diff buffer.
4909 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4910 reuse an existing *vc-diff* buffer (Bug#8927).
4911
5fdd4046
CY
4912 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4913
e93db24a
GM
49142011-06-26 Glenn Morris <rgm@gnu.org>
4915
4916 * progmodes/f90.el (f90-critical-indent): New option.
4917 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4918 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4919 (f90-mode): Doc fix.
4920 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4921 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4922 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4923 (f90-match-end): Handle block, critical.
4924
eefff499
GM
49252011-06-25 Glenn Morris <rgm@gnu.org>
4926
f6ba4cc9
GM
4927 * calendar/diary-lib.el (diary-included-files): Doc fix.
4928 (diary-include-files): New function, extracted from
4929 diary-include-other-diary-files and diary-mark-included-diary-files.
4930 (diary-include-other-diary-files, diary-mark-included-diary-files):
4931 Just call diary-include-files.
4932 (diary-mark-entries): Reset diary-included-files on first call.
4933
16712304
GM
4934 * calendar/diary-lib.el (diary-mark-entries)
4935 (diary-mark-included-diary-files):
4936 Visit included diary-files in temp buffers.
4937
5d8e0d43
GM
4938 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4939 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4940 (f90-start-block-re, f90-imenu-generic-expression)
4941 (f90-looking-at-program-block-start, f90-no-block-limit):
4942 Add support for submodules.
4943
ccf7a5d5
GM
4944 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4945 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4946
11fdef7d 49472011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4948
4949 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4950 buffer-file-type before setting its value, to avoid disastrous
eefff499 4951 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4952
74f53697
JB
49532011-06-25 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4956
4957 * ses.el (ses-unload-function):
4958 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4959
4960 * proced.el (proced-unload-function):
4961 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4962
18a4ce5e
AR
49632011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4964
4965 * server.el (server-create-window-system-frame): Add parameters arg.
4966 (server-process-filter): Doc fix. Handle frame-parameters.
4967
519d22cc
JB
49682011-06-25 Juanma Barranquero <lekktu@gmail.com>
4969
4970 Fix bug#8730, bug#8781.
4971
4972 * loadhist.el (unload--set-major-mode): New function.
4973 (unload-feature): Use it.
4974
4975 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4976 (python-unload-function): New function.
4977
c206f5b0
SM
49782011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4981
f9ad64f3
GS
49822011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4983
4984 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4985 the candidates list.
4986
7d0da90e
JB
49872011-06-24 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4990
14b4e83d
RS
49912011-06-23 Richard Stallman <rms@gnu.org>
4992
4993 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4994 (rmail-variables): Set next-error-move-function.
4995 (rmail-what-message): Take argument POS.
4996 (rmail-next-error-move): New function.
4997
273d2baf
SM
49982011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5001 messages for adjacent non-terminals.
5002
56c2cc9a
RS
50032011-06-23 Richard Stallman <rms@gnu.org>
5004
5005 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5006 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5007 (rmail-start-mail): Don't specify use of rmail-mail-return;
5008 that's done by mail-bury now.
5009 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5010
d59eb518
MA
50112011-06-23 Michael Albinus <michael.albinus@gmx.de>
5012
5013 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5014 SIZE is a number.
5015
02cfc6d6
MR
50162011-06-23 Martin Rudalics <rudalics@gmx.at>
5017
5018 * window.el (get-lru-window, get-mru-window)
5019 (get-largest-window): Never return a minibuffer window.
5020 (display-buffer-pop-up-window): Fix a bug that could lead to
5021 reusing the minibuffer window.
5022 (display-buffer): Pass original specifier argument to
5023 display-buffer-function instead of the normalized one.
5024 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5025
4e323265
LL
50262011-06-22 Leo Liu <sdl.web@gmail.com>
5027
5028 * minibuffer.el (completing-read-function)
5029 (completing-read-default): Move from minibuf.c
5030
7a70468f
RS
50312011-06-22 Richard Stallman <rms@gnu.org>
5032
50718fc2
RS
5033 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5034 to Rmail even if not started by a special Rmail command.
5035
7a70468f
RS
5036 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5037 Copy the buffer currently showing just one message.
5038
297dde5a
RW
50392011-06-22 Roland Winkler <winkler@gnu.org>
5040
5041 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5042 (bibtex-clean-entry): First delete the old key so that a
5043 customized algorithm for generating the new key does not get
5044 confused by the old key.
5045 (bibtex-url): Obey regexp of first step.
5046 (bibtex-search-entries): Do not use add-to-list with local
5047 list-var.
5048
97bb1093
LMI
50492011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5050
5051 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5052 stored a user name, then query for the password first, instead of
5053 waiting for SMTP to give an error message and the trying again.
5054
1c0f1a19
JD
50552011-06-22 Lawrence Mitchell <wence@gmx.li>
5056
5057 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5058 BUFFER in call-process.
5059
396f7c9d
LMI
50602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5061
5062 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5063 QUIT twice.
ddb7ffee
LMI
5064 (smtpmail-try-auth-methods): Require user name and password from
5065 auth-source.
396f7c9d 5066
8998d1b3
MR
50672011-06-22 Martin Rudalics <rudalics@gmx.at>
5068
5069 * window.el (display-buffer-default-specifiers)
5070 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5071 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5072 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5073
5074 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5075 (special-display-frame-alist, special-display-popup-frame):
5076 Remove duplicate declarations. These are now in window.el.
5077
4ea31e07
LMI
50782011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5079
c9d29fb8
SM
5080 * mail/smtpmail.el (smtpmail-via-smtp):
5081 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5082 server supports it. SMTP servers that support STARTTLS commonly
5083 require it.
5084
5085 * net/network-stream.el (network-stream-open-starttls): Support
5086 upgrading to STARTTLS always, even if we don't have built-in support.
5087 (open-network-stream): Add the :always-query-capabilies keyword.
5088
95f41d9a
LMI
5089 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5090 upgrades with `open-network-stream', and rely solely on
5091 auth-source for all credentials. Big changes throughout the file,
5092 but in particular:
c9d29fb8
SM
5093 (smtpmail-auth-credentials): Remove.
5094 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5095 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5096 MAIL FROM, too.
95f41d9a 5097
c9d29fb8
SM
5098 * net/network-stream.el (network-stream-open-starttls):
5099 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5100 STARTTLS.
5101 (auth-source): Require.
5102 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5103 (network-stream-certificate): Change cert-cert to cert and
5104 cert-key to key.
4ea31e07 5105
065ec2c7
MA
51062011-06-21 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * net/tramp-cache.el (top): Don't load the persistency file when
5109 "emacs -Q" has been called.
5110
cd93b359
DR
51112011-06-21 Tim Harper <timcharper@gmail.com>
5112
d8e4b68b
JB
5113 * term/ns-win.el (ns-initialize-window-system):
5114 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5115 resource to NO as it is not yet supported by the NS port.
5116
ae9c0411
JB
51172011-06-21 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5120 (list-dynamic-libraries): ...not here.
5121
7f3f739f
LL
51222011-06-21 Leo Liu <sdl.web@gmail.com>
5123
5124 * subr.el (sha1): Implement sha1 using secure-hash.
5125
327c8fb1
MR
51262011-06-21 Martin Rudalics <rudalics@gmx.at>
5127
5128 * window.el (display-buffer-alist): In default value do not
5129 enforce searching a window on any but the selected frame.
5130 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5131 (display-buffer-select-window): Remove function.
5132 (display-buffer-in-window): When a window on another frame gets
5133 reused, do not select it any more but just raise its frame if
5134 necessary (Bug#8851) and (Bug#8856).
5135 (display-buffer-normalize-options): Handle pop-up-frames related
5136 options more faithfully.
5137 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5138 window if it is on another frame.
c9d29fb8
SM
5139 (display-buffer-alist, display-buffer-default-specifiers):
5140 Don't make new frame unsplittable by default.
9e9de014
MR
5141 (display-buffer-normalize-argument): Fix doc-string typo and use
5142 'same-frame-other-window instead of 'other-window when associating
5143 with display-buffer-macro-specifiers.
327c8fb1 5144
7cf3f556
VB
51452011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5146
5147 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5148 New functions.
5149 (5x5-mode-map, 5x5-mode-menu): Bind them.
5150 (5x5-draw-grid): Tweak the solver's rendering.
5151
60a406cf
SM
51522011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5155 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5156
d8e4b68b 51572011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5158
5159 * menu-bar.el: Use function variable instead of switch-to-buffer.
5160 (menu-bar-select-buffer-function): New variable.
60a406cf 5161 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5162
478d6f95
SM
51632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5166 variable's status.
5167
ca530739
JD
51682011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5169
5170 * x-dnd.el (x-dnd-version-from-flags)
5171 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5172 and long as number (Bug#8899).
5173 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5174
bcd70d97
SM
51752011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5176
60a406cf 5177 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5178 (completion-try-completion, completion-all-completions): Compute the
5179 metadata argument if it's missing; make it optional (bug#8795).
5180
60a406cf 5181 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5182 (widget-complete): Use new :completion-function property.
5183 (widget-completions-at-point): New function.
5184 (default): Use :completion-function instead of :complete.
60a406cf
SM
5185 (widget-default-completions): Rename from widget-default-complete;
5186 Rewrite.
bcd70d97
SM
5187 (widget-string-complete, widget-file-complete, widget-color-complete):
5188 Remove functions.
5189 (file, symbol, function, variable, coding-system, color):
5190 * international/mule-cmds.el (default-input-method, charset)
5191 (language-info-custom-alist):
5192 * cus-edit.el (face): Use new property :completions.
5193
5194 * progmodes/pascal.el (pascal-completions-at-point): New function.
5195 (pascal-mode): Use it.
5196 (pascal-mode-map): Use completion-at-point.
5197 (pascal-toggle-completions): Make obsolete.
5198 (pascal-complete-word, pascal-show-completions):
5199 * progmodes/octave-mod.el (octave-complete-symbol):
5200 Redefine as obsolete alias.
5201 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5202 Signal absence of completion info for old Octave,
5203 (inferior-octave-complete): Redefine as obsolete alias.
5204 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5205 (meta-completions-at-point): Rename from meta-complete-symbol and
5206 adapt it for use on completion-at-point-functions.
5207 (meta-common-mode): Use it.
5208 (meta-looking-at-backward, meta-match-buffer): Remove.
5209 (meta-complete-symbol): Redefine as obsolete alias.
5210 (meta-common-mode-map): Use completion-at-point.
5211 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5212 (makefile-mode-map): Use completion-at-point.
5213 (makefile-completions-at-point): Rename from makefile-complete and
5214 adapt it for use on completion-at-point-functions.
5215 (makefile-mode): Use it.
5216 (makefile-complete): Redefine as obsolete alias.
5217
aebf69c8
DD
52182011-06-20 Deniz Dogan <deniz@dogan.se>
5219
5220 * net/rcirc.el: Delete trailing whitespaces once and for all.
5221
bfbbb27d
DC
52222011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5223
5224 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5225
d264a46b
CY
52262011-06-19 Chong Yidong <cyd@stupidchicken.com>
5227
4ca009e5
CY
5228 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5229
d264a46b
CY
5230 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5231
fbf5b3ce
MR
52322011-06-19 Martin Rudalics <rudalics@gmx.at>
5233
5234 * window.el (display-buffer-other-window-means-other-frame):
5235 Call display-buffer-normalize-alist.
5236 (display-buffer-normalize-specifiers-1): Rename to
5237 display-buffer-normalize-argument. New argument other-frame.
5238 Rewrite.
5239 (display-buffer-normalize-specifiers-2): Rename to
5240 display-buffer-normalize-options.
5241 (display-buffer-normalize-alist-1): New function.
5242 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5243 display-buffer-normalize-alist.
5244 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5245 (display-buffer-normalize-options-inhibit): New variable.
5246 (display-buffer-normalize-specifiers): Rewrite calling
5247 display-buffer-normalize-alist,
5248 display-buffer-normalize-argument, and
5249 display-buffer-normalize-options. Don't call the latter if
5250 display-buffer-normalize-options-inhibit is non-nil.
5251 (frame-auto-delete): New option.
5252 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5253 (window-list-no-nils, window-state-ignored-parameters)
5254 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5255 (window-state-put-1, window-state-put-2, window-state-put):
5256 New functions.
9a028c23
MR
5257 (display-buffer-normalize-options): Move special-display-p group
5258 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5259
6d10d800
CY
52602011-06-18 Chong Yidong <cyd@stupidchicken.com>
5261
6420d28b
CY
5262 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5263 groups (Bug#8776).
5264 (rx-submatch-n): New function.
5265 (rx): Document it.
5266
ddb8b596
CY
5267 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5268 (Bug#8768).
5269
5270 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5271
77080289
CY
5272 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5273
61dfb316
CY
5274 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5275 anytime existing face settings are present (Bug#8889).
5276
6d10d800
CY
5277 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5278 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5279 Remove unused argument.
5280
be3fb2b8
MR
52812011-06-18 Martin Rudalics <rudalics@gmx.at>
5282
bcd70d97
SM
5283 * window.el (display-buffer-default-specifiers):
5284 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5285 pop-up-window-min-width, and another reuse-window specifier
5286 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5287 (display-buffer-normalize-specifiers-2):
5288 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5289 pop-up-windows is unset. Add a reuse-window specifier for the
5290 case popping up a new window fails.
5291 (special-display-popup-frame): Remove double quoting.
28dec25a 5292 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5293
1c6d8c76
SM
52942011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5297 according to comint-completion-addsuffix.
5298
5299 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5300 (pcomplete-suffix-list): Mark as obsolete.
5301 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5302 pcomplete-seen in the closure.
5303 (pcomplete-comint-setup): Setup completion-at-point as well.
5304 (pcomplete--entries): New function.
5305 (pcomplete--env-regexp): New var.
5306 (pcomplete-entries): Rewrite to work with partial-completion and
5307 without relying on pcomplete-suffix-list.
5308 (pcomplete-pare-list): Remove, unused.
5309
25aef8b8
MR
53102011-06-17 Martin Rudalics <rudalics@gmx.at>
5311
5312 * window.el (display-buffer-alist): Set pop-up-window-min-height
5313 and pop-up-window-min-width in default value. Reported by
5314 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5315 other-window-means-other-frame.
5316 (display-buffer-macro-specifiers): Comment out entry for
5317 other-window specifier.
5318 (display-buffer-other-window-means-other-frame): New function.
5319 (display-buffer-normalize-specifiers-1): New arguments
5320 buffer-name and label. Treat other-window case specially.
5321 (display-buffer-normalize-specifiers-2): Treat other-window case
5322 specially.
5323 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5324 (display-buffer-normalize-specifiers):
5325 Call display-buffer-normalize-specifiers-3.
25aef8b8 5326
dbad4f69
MR
53272011-06-17 Martin Rudalics <rudalics@gmx.at>
5328
5329 * window.el (same-window-p): Fix two typos introduced when
5330 adding with-no-warnings.
d1067961
MR
5331 (display-buffer-normalize-specifiers-1): Don't check
5332 pop-up-frames for 'unset initialization.
5333 (display-buffer-normalize-specifiers-2): Major rewrite using
5334 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5335 (pop-up-frames, display-buffer-reuse-frames)
5336 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5337 Suggested by David Engster <deng@randomsample.de>.
5338 (even-window-heights): Initialize to 'unset.
5339 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5340 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5341 other window case.
dbad4f69 5342
9b9c9e3a
MR
53432011-06-16 Martin Rudalics <rudalics@gmx.at>
5344
bcd70d97
SM
5345 * window.el (display-buffer-normalize-specifiers-1):
5346 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5347 second argument of display-buffer (Bug#8865).
981d5c09
MR
5348 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5349 (switch-to-buffer-other-window-same-frame)
5350 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5351 Adams (Bug#8875).
9c2755e9
MR
5352 (display-buffer): Don't check noninteractive when calling
5353 display-buffer-pop-up-frame.
5354 (display-buffer-pop-up-frame): Never pop up a frame in
5355 noninteractive mode (Bug#8857).
67222e1d
MR
5356 (enlarge-window, shrink-window): Don't report an error when the
5357 window can't be resized as requested (Bug#8862).
9b9c9e3a 5358
2b75be67
SM
53592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5360
9ffdd3ba
SM
5361 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5362
cb581a67
SM
5363 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5364
2b75be67
SM
5365 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5366
8c0e3589
AM
53672011-06-15 Alan Mackenzie <acm@muc.de>
5368
cb581a67
SM
5369 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5370 for declarators, disable knr checking to speed up for normal files.
5371 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5372
b96e6cde
LMI
53732011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5374
4bba86e6
LMI
5375 * net/network-stream.el (open-network-stream): Add the keyword
5376 :always-query-capabilities for the case where you want to force a
5377 `plain' network connection, but the protocol still requires the
5378 capabilitiy command (i.e., SMTP and EHLO).
5379
2b75be67 5380 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5381 consistency with other `-live-p' functions.
5382
efdcdbf8
SM
53832011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * window.el (same-window-buffer-names, same-window-regexps)
5386 (special-display-frame-alist, special-display-popup-frame)
5387 (special-display-function, special-display-buffer-names)
5388 (special-display-regexps, pop-up-frame-alist)
5389 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5390 (pop-up-windows, split-window-preferred-function)
5391 (split-height-threshold, split-width-threshold, even-window-heights)
5392 (display-buffer-mark-dedicated): Don't encourage the use of
5393 display-buffer-alist from Elisp code.
5394
c5cde042
DN
53952011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5396
5397 * progmodes/python.el (python-mode): Derive from prog-mode.
5398 * progmodes/ps-mode.el (ps-mode):
5399 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5400 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5401 * progmodes/ld-script.el (ld-script-mode): Likewise.
5402
baa1c9ab
MR
54032011-06-15 Martin Rudalics <rudalics@gmx.at>
5404
5405 * window.el (display-buffer-alist): Trim default value to avoid
5406 popping up a new frame (Bug#8857) or reusing an arbitrary window
5407 on another frame.
5408 (display-buffer): Do not fall back on popping up a new frame in
5409 batch mode (Bug#8857).
5410
c5dd5a51
CY
54112011-06-14 Chong Yidong <cyd@stupidchicken.com>
5412
5413 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5414 (custom-theme-summary): New function.
5415 (customize-themes): Use it.
5416
d647b7c4
GM
54172011-06-13 Glenn Morris <rgm@gnu.org>
5418
5419 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5420
9481c002
MR
54212011-06-13 Martin Rudalics <rudalics@gmx.at>
5422
357f93d2
MR
5423 * help.el (help-window): Remove variable.
5424 (help-window-point-marker, temp-buffer-max-height)
5425 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5426 (help-print-return-message): Don't set help-window.
5427 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5428 (help-window-setup-finish): Remove.
5429 (help-window-display-message, help-window-setup)
5430 (with-help-window): Major rewrite based on new
5431 display-buffer-window variable.
5432
5433 * help-mode.el (help-mode-finish): Remove help-window related
5434 code.
5435
5436 * view.el (view-exits-all-viewing-windows): Remove reference to
5437 view-return-to-alist in doc-string.
5438 (view-return-to-alist): Make obsolete.
5439 (view-buffer): Call pop-to-buffer-same-window and remove
5440 undo-window code.
5441 (view-buffer-other-window): Call pop-to-buffer-other-window and
5442 simplify code. Ignore second argument.
5443 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5444 simplify code. Ignore second argument.
5445 (view-return-to-alist-update): Make obsolete.
5446 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5447 Rewrite using quit-restore window parameters.
2b75be67
SM
5448 (view-mode-exit): Rename second argument to EXIT-ONLY.
5449 Rewrite using quit-restore-window.
357f93d2
MR
5450 (View-exit, View-exit-and-edit, View-leave, View-quit)
5451 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5452 appropriate arguments.
5453 (view-end-message): Use quit-restore window parameter.
5454
9481c002
MR
5455 * window.el (display-buffer-function): Rewrite doc-string.
5456 (display-buffer-window, display-buffer-alist): New variables.
5457 (display-buffer-split-specifiers)
5458 (display-buffer-side-specifiers)
5459 (display-buffer-macro-specifiers): New constants.
5460 (display-buffer-even-window-sizes, display-buffer-set-height)
5461 (display-buffer-set-width, display-buffer-select-window)
5462 (display-buffer-in-window, display-buffer-reuse-window)
5463 (display-buffer-split-window-1, display-buffer-split-window)
5464 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5465 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5466 (display-buffer-in-side-window, normalize-buffer-to-display)
5467 (display-buffer-normalize-specifiers-1)
5468 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5469 (display-buffer-normalize-specifiers, display-buffer-frame):
5470 New functions.
9481c002
MR
5471 (display-buffer): Major rewrite.
5472 (display-buffer-other-window, display-buffer-other-frame)
5473 (pop-to-buffer, switch-to-buffer-other-window)
5474 (switch-to-buffer-other-frame): Rewrite.
5475 (display-buffer-same-window, display-buffer-same-frame)
5476 (display-buffer-same-frame-other-window)
5477 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5478 (pop-to-buffer-other-window)
5479 (pop-to-buffer-same-frame-other-window)
5480 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5481 (switch-to-buffer-other-window-same-frame): New functions.
5482 (same-window-p, special-display-p): Rewrite disabling warnings.
5483 Make obsolete.
5484 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5485 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5486 Make obsolete
5487 (same-window-buffer-names, same-window-regexps)
5488 (special-display-frame-alist, special-display-popup-frame)
5489 (special-display-function, special-display-buffer-names)
5490 (special-display-regexps, pop-up-frame-alist)
5491 (pop-up-frame-function, split-window-preferred-function)
5492 (split-height-threshold, split-width-threshold)
5493 (even-window-heights): Make obsolete.
5494
9db51aca
GM
54952011-06-12 Glenn Morris <rgm@gnu.org>
5496
5497 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5498 Misc simplifications.
9db51aca 5499
39cffb44
MR
55002011-06-12 Martin Rudalics <rudalics@gmx.at>
5501
5502 * window.el (window-safely-shrinkable-p): Restore function which
5503 was inadvertently removed in change from 2011-06-11. Declare as
5504 obsolete.
5505
2b75be67
SM
5506 * calendar/calendar.el (calendar-generate-window):
5507 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5508 window-safely-shrinkable-p.
5509
a8955be7
GM
55102011-06-12 Glenn Morris <rgm@gnu.org>
5511
5512 * progmodes/fortran.el (fortran-mode-syntax-table):
5513 * progmodes/f90.el (f90-mode-syntax-table):
5514 Set % to punctuation. (Bug#8820)
5515 (f90-find-tag-default): Remove, no longer needed.
5516
f0d4059d
DC
55172011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5518
5519 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5520
1100a63c
CY
55212011-06-11 Chong Yidong <cyd@stupidchicken.com>
5522
5523 * image.el (image-animated-p): Return animation delay in seconds.
5524 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5525 (image-animate-timeout): Remove DELAY argument. Don't assume
5526 every subimage has the same delay; get it from image-animated-p.
5527 (image-animate): Caller changed.
5528
def722bf
MA
55292011-06-11 Michael Albinus <michael.albinus@gmx.de>
5530
5531 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5532 to ignored backtrace functions.
5533
0a2bb1a9
GM
55342011-06-11 Glenn Morris <rgm@gnu.org>
5535
5536 * calendar/appt.el (appt-disp-window-function): Doc fix.
5537 (appt-check): Handle overlapping appointments. (Bug#8337)
5538
6198ccd0
MR
55392011-06-11 Martin Rudalics <rudalics@gmx.at>
5540
5541 * window.el (window-tree-1, window-tree): New functions, moving
5542 the latter to window.el.
5543 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5544 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5545 (bw-refresh-edges): Remove.
5546 (balance-windows-1, balance-windows-2): New functions.
5547 (balance-windows): Rewrite in terms of window tree functions,
5548 balance-windows-1 and balance-windows-2.
5549 (bw-adjust-window): Remove.
5550 (balance-windows-area-adjust): New function with functionality of
5551 bw-adjust-window but using resize-window.
2b75be67
SM
5552 (set-window-text-height): Rewrite doc-string.
5553 Use normalize-live-window and resize-window.
5554 (enlarge-window-horizontally, shrink-window-horizontally):
5555 Rename argument to DELTA.
6198ccd0
MR
5556 (window-buffer-height): New function.
5557 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5558 Rewrite using new window resize routines.
2b75be67
SM
5559 (kill-buffer-and-window, mouse-autoselect-window-select):
5560 Use ignore-errors instead of condition-case.
6198ccd0
MR
5561 (quit-window): Call delete-frame instead of delete-windows-on
5562 for the only buffer on frame.
5563
9397e56f
MR
55642011-06-10 Martin Rudalics <rudalics@gmx.at>
5565
5566 * loadup.el (top-level): Load window before files for the sake
5567 of replace-buffer-in-windows.
5568
5569 * files.el (read-buffer-to-switch)
5570 (switch-to-buffer-other-window)
2b75be67
SM
5571 (switch-to-buffer-other-frame, display-buffer-other-frame):
5572 Move to window.el.
9397e56f
MR
5573
5574 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5575 (previous-buffer): Move to window.el.
5576
5577 * bindings.el (unbury-buffer): Move to window.el.
5578
5579 * window.el (delete-other-windows-vertically): Move after
5580 definition of delete-other-windows.
5581 (other-window, delete-windows-on, replace-buffer-in-windows):
5582 Move here from window.c.
5583 (record-window-buffer, unrecord-window-buffer)
5584 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5585 (switch-to-next-buffer): New functions.
5586 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5587 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5588 (previous-buffer): Move here from simple.el.
5589 Call switch-to-prev-buffer.
9397e56f
MR
5590 (bury-buffer): Move here from buffer.c. Switch to previous
5591 buffer when window cannot be deleted.
5592 (unbury-buffer): Move here from bindings.el.
5593 (ctl-x-map): Move binding for other-window from window.c to
5594 here.
5595 (read-buffer-to-switch, switch-to-buffer-other-window)
5596 (switch-to-buffer-other-frame): Move here from files.el.
5597 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5598 (switch-to-buffer): Move here from buffer.c.
5599 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5600
562dd5e9
MR
56012011-06-10 Martin Rudalics <rudalics@gmx.at>
5602
5603 * window.el (window-min-height, window-min-width): Move here
5604 from window.c. Add defcustoms and rewrite doc-strings.
5605 (resize-mini-window, resize-window): New functions.
5606 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5607 Move here from window.c.
5608 (maximize-window, minimize-window): New functions.
5609 (delete-window, delete-other-windows, split-window): Move here
5610 from window.c.
5611 (window-split-min-size): New function.
5612 (split-window-keep-point): Mention split-window-above-each-other
5613 instead of split-window-vertically.
2b75be67
SM
5614 (split-window-above-each-other, split-window-vertically):
5615 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5616 provide defalias for old definition.
5617 (split-window-side-by-side, split-window-horizontally): Rename
5618 split-window-horizontally to split-window-side-by-side and provide
5619 defalias for the old definition.
5620 (ctl-x-map): Move bindings for delete-window,
5621 delete-other-windows and enlarge-window here from window.c.
5622 Replace bindings for split-window-vertically and
5623 split-window-horizontally by bindings for
5624 split-window-above-each-other and split-window-side-by-side.
5625
5626 * cus-start.el (all): Remove entries for window-min-height and
5627 window-min-width. Add entries for window-splits and
5628 window-nest.
5629
f0da764a
GM
56302011-06-09 Glenn Morris <rgm@gnu.org>
5631
80675c21
GM
5632 * calendar/appt.el (appt-mode-line): New function.
5633 (appt-check, appt-disp-window): Use it.
5634
f0da764a
GM
5635 * files.el (hack-one-local-variable-eval-safep):
5636 Allow minor-modes with explicit +/-1 arguments.
5637
59f623b7
TZ
56382011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5639
5640 * term/xterm.el (xterm): Add defgroup.
5641 (xterm-extra-capabilities): Add defcustom to supply known xterm
5642 capabilities, skip querying them, or query them (default).
5643 (terminal-init-xterm): Use it.
5644 (terminal-init-xterm-modify-other-keys): New function to set up
5645 modifyOtherKeys support to simplify `terminal-init-xterm'.
5646
9aab8e0d
MR
56472011-06-09 Martin Rudalics <rudalics@gmx.at>
5648
5649 * window.el (resize-window-reset, resize-window-reset-1)
5650 (resize-subwindows-skip-p, resize-subwindows-normal)
5651 (resize-subwindows, resize-other-windows, resize-this-window)
5652 (resize-root-window, resize-root-window-vertically)
5653 (window-deletable-p, window-or-subwindow-p)
5654 (frame-root-window-p): New functions.
5655
e8b08aee
GM
56562011-06-09 Glenn Morris <rgm@gnu.org>
5657
5658 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5659 (ange-ftp-get-files): Use it.
5660
254c37a5
AK
56612011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5662
5663 * mail/sendmail.el (mail-recover-1, mail-recover):
5664 * files.el (recover-file, recover-session):
5665 Handle dired-listing-switches not being just a single short option.
5666
35d7dbd3
GM
56672011-06-09 Glenn Morris <rgm@gnu.org>
5668
5669 * calendar/appt.el (appt-display-message, appt-disp-window):
5670 Handle lists of appointments.
5671
387522b2
MR
56722011-06-08 Martin Rudalics <rudalics@gmx.at>
5673
2b75be67
SM
5674 * window.el (one-window-p): Move down in code.
5675 Rewrite doc-string.
5676 (window-current-scroll-bars): Rewrite doc-string.
5677 Normalize live window argument.
387522b2
MR
5678 (walk-windows, get-window-with-predicate, count-windows):
5679 Rewrite doc-string. Use window-list-1.
5680 (window-in-direction-2, window-in-direction, get-mru-window):
5681 New functions.
5682
d8e4b68b 56832011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5684
5685 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5686 Doc fix (Bug#8713).
5687
56882011-06-08 Chong Yidong <cyd@stupidchicken.com>
5689
5690 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5691
56922011-06-08 Juanma Barranquero <lekktu@gmail.com>
5693
5694 * loadhist.el (unload-feature-special-hooks):
5695 Add `comint-output-filter-functions'.
5696
0de12c52
IK
56972011-06-08 Ivan Kanis <gnu@kanis.fr>
5698
5699 * calendar/appt.el (appt-check): Move some initializations into the let.
5700
f3d1777e
MR
57012011-06-08 Martin Rudalics <rudalics@gmx.at>
5702
5703 * window.el (window-height): Defalias to window-total-height.
5704 (window-width): Defalias to window-body-width.
5705
18af70d0
CY
57062011-06-07 Chong Yidong <cyd@stupidchicken.com>
5707
5708 * image-mode.el (image-toggle-animation): New command.
5709 (image-mode-map): Bind it to RET.
5710 (image-mode): Update message.
5711 (image-toggle-display-image): Avoid a spurious cache flush.
5712 (image-transform-rotation): Doc fix.
5713 (image-transform-properties): Return quickly in the normal case.
5714 (image-animate-loop): Rename from image-animate-max-time.
5715
2b75be67 5716 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5717 (create-animated-image): Remove unnecessary function.
5718 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5719 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5720 (image-animate-timer): Use car-safe.
5721 (image-animate-timeout): Rename argument.
5722
190b47e6
MR
57232011-06-07 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5726 window.c. Rename first argument to ALL-FRAMES.
5727 Rephrase doc-strings.
5728 (get-buffer-window-list): Rewrite using window-list-1.
5729 Rephrase doc-string.
a1511caf
MR
5730 (window-safe-min-height, window-safe-min-width): New constants.
5731 (window-size-ignore, window-min-size, window-min-size-1)
5732 (window-sizable, window-sizable-p, window-size-fixed-1)
5733 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5734 (window-max-delta-1, window-max-delta, window-resizable)
5735 (window-resizable-p, window-total-height, window-total-width)
5736 (window-body-width): New functions.
5737 (window-full-height-p, window-full-width-p): Rewrite using
5738 window-total-size.
5739 (window-body-height): Rewrite using window-body-size.
190b47e6 5740
85cc1f11
MR
57412011-06-06 Martin Rudalics <rudalics@gmx.at>
5742
5743 * window.el (window-right, window-left, window-child)
5744 (window-child-count, window-last-child, window-any-p)
5745 (normalize-live-buffer, normalize-live-frame)
5746 (normalize-any-window, normalize-live-window)
5747 (window-iso-combination-p, window-iso-combined-p)
5748 (window-iso-combinations)
5749 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5750 (windows-with-parameter, window-with-parameter)
5751 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5752 (window-atom-check, window-side-check, window-check):
5753 New functions.
85cc1f11
MR
5754 (ignore-window-parameters, window-sides, window-sides-vertical)
5755 (window-sides-slots): New variables.
5756 (window-size-fixed): Move down in code. Minor doc-string fix.
5757
e7156492
AS
57582011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5759
5760 * comint.el (comint-dynamic-complete-as-filename)
5761 (comint-dynamic-complete-filename): Correctly call
5762 completion-in-region.
5763
7e821d0d
DD
57642011-06-05 Deniz Dogan <deniz@dogan.se>
5765
5766 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5767 in last change.
5768
ac09b8a1
DD
57692011-06-05 Deniz Dogan <deniz@dogan.se>
5770
5771 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5772 (rcirc): Use it to prompt for encryption.
5773
34699b85
RW
57742011-06-05 Roland Winkler <winkler@gnu.org>
5775
5776 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5777 (bibtex-search-entries): New command bound to C-c C-a.
5778 (bibtex-display-entries): New function.
5779
004dedd3
RW
57802011-06-05 Roland Winkler <winkler@gnu.org>
5781
5782 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5783 (bibtex-insert-kill): After yanking insert newline if necessary.
5784 (bibtex-initialize): Call bibtex-string-files-init only once.
5785 (bibtex-mode): Do not call easy-menu-add.
5786 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5787 (bibtex-yank): Set arg properly if nil.
5788
022fe7ce
RW
57892011-06-05 Roland Winkler <winkler@gnu.org>
5790
2b75be67
SM
5791 * textmodes/bibtex.el (bibtex-search-entry-globally):
5792 New variable.
022fe7ce
RW
5793 (bibtex-search-entry): Use it.
5794
b7c3692a
RW
57952011-06-05 Roland Winkler <winkler@gnu.org>
5796
5797 * textmodes/bibtex.el (bibtex-entry-format): New option
5798 sort-fields.
5799 (bibtex-format-entry, bibtex-reformat): Honor this option.
5800 (bibtex-parse-entry): Return fields in proper order.
5801
8eda563d
JB
58022011-06-05 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * doc-view.el (doc-view-remove-if): Move computation of result out
5805 of `dolist' to silence misleading lexical-binding warning.
5806
7dbe3dbc
CY
58072011-06-04 Chong Yidong <cyd@stupidchicken.com>
5808
5809 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5810 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5811
0c33dd17
MA
58122011-06-04 Michael Albinus <michael.albinus@gmx.de>
5813
5814 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5815 "SunOS 5.10".
5816
f8f91c2b
MA
58172011-06-04 Michael Albinus <michael.albinus@gmx.de>
5818
5819 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5820 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5821 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5822 (tramp-parse-putty):
5823 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5824 (tramp-completion-function-alist-ssh)
5825 (tramp-completion-function-alist-telnet)
5826 (tramp-completion-function-alist-su)
5827 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5828 cookie.
5829
5830 * net/tramp-ftp.el:
5831 * net/tramp-sh.el:
5832 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5833 load "tramp.el" `tramp-set-completion-function'.
5834
e17d9003
SM
58352011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * shell.el: Require and use pcomplete.
5838 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5839 (shell-completion-vars): Set pcomplete-default-completion-function.
5840
6c4cab03
DD
58412011-06-04 Deniz Dogan <deniz@dogan.se>
5842
5843 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5844 `memq' (Bug#8799).
5845
ea9fafe0
SM
58462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5849
b3e945d3
JB
58502011-06-02 Juanma Barranquero <lekktu@gmail.com>
5851
5852 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5853 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5854 * vc/log-view.el (log-view-beginning-of-defun):
5855 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5856 (smerge-refine-forward, smerge-refine-chopup-region):
5857 Silence warning for unused `dotimes' counter variables.
5858
7d520089
SM
58592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * net/tramp.el (tramp-with-progress-reporter): Rename from
5862 with-progress-reporter. Use `declare'.
5863 * net/tramp-smb.el:
5864 * net/tramp-sh.el:
5865 * net/tramp-gvfs.el: Update all uses.
5866
a1c2400f
JB
58672011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5868
5869 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5870 buffer isn't killed before making it current.
5871
2403c841
SM
58722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 Silence various byte-compiler warnings.
5875 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5876 `access-type' and new obsolescence format.
5877 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5878 new format.
5879 (byte-compile-check-variable): New `access-type' argument.
5880 Only warn if the access-type is obsolete.
5881 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5882 (byte-compile-variable-set): Adjust callers.
5883 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5884 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5885 setting it as obsolete.
5886 * simple.el (minibuffer-completing-symbol):
5887 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5888 access as obsolete.
5889 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5890 obsolete yet.
5891 * international/quail.el (quail-mouse-choose-completion): Remove unused
5892 code referring to obsolete var.
5893 (quail-choose-completion-string): Remove.
5894 * server.el (server-clients-with, server-kill-buffer-query-function)
5895 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5896 * proced.el (proced-send-signal):
5897 * emacs-lisp/lisp.el (lisp-complete-symbol):
5898 Replace completion-annotate-function with completion-extra-properties.
5899
2462470b
SM
59002011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5901
fb5b2591
SM
5902 * simple.el (goto-line): Use read-number.
5903 (overriding-map-is-bound): Remove.
5904 (saved-overriding-map): Change default.
5905 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5906 Take the map as argument.
5907 (universal-argument, negative-argument, digit-argument): Use it.
5908 (restore-overriding-map): Adjust.
5909 (do-auto-fill): Use fill-forward-paragraph.
5910 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5911
fd6fa53f
SM
5912 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5913 (minibuffer-inactive-mode): New major mode.
5914 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5915 the *Messages* buffer" hack.
5916 (mouse-popup-menubar): Don't burp if the event is a normal key.
5917
2462470b
SM
5918 Miscellaneous tweaks.
5919 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5920 lexical scoping as in subr.el's dolist and dotimes.
5921 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5922 Silence compiler warning.
5923 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5924 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5925 * international/ccl.el (ccl-compile): Trivial simplification.
5926 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5927 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5928 `printflag' argument.
5929 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5930 Purecopy the whole obsolescence data.
5931
108bf785
LL
59322011-06-01 Leo Liu <sdl.web@gmail.com>
5933
5934 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5935 improve doc-string as suggested by Marco Pessotto
5936 <melmothx@gmail.com>.
5937 (rcirc-print): Fix last change.
5938
30a23501
SM
59392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * minibuffer.el (complete-with-action): Return nil for the metadata and
5942 boundaries of non-functional tables.
5943 (completion-table-dynamic): Return nil for the metadata.
5944 (completion-table-with-terminator): Add default case, using
5945 complete-with-action.
5946 (completion--metadata): New function.
5947 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5948 to try and avoid pathological performance problems.
5949 (completion--embedded-envvar-table): Return `category' metadata.
5950
bcd54f83
LMI
59512011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952
5953 * subr.el (process-alive-p): New tiny convenience function.
5954
e227544d
SM
59552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5958 content but also its previous major mode.
5959
e8296fdc
HE
59602011-05-31 Helmut Eller <eller.helmut@gmail.com>
5961
4d61f28d 5962 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5963 *Backtrace* buffer when we exit with C-M-c.
5964
620c53a6
SM
59652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * minibuffer.el: Add metadata method to completion tables.
5968 (completion-category-overrides): New defcustom.
5969 (completion-metadata, completion--field-metadata)
5970 (completion-metadata-get, completion--styles)
5971 (completion--cycle-threshold): New functions.
5972 (completion-try-completion, completion-all-completions):
5973 Add `metadata' argument to choose completion-styles.
5974 (completion--do-completion): Use metadata to choose cycling.
5975 (completion-all-sorted-completions): Use metadata for sorting.
5976 Remove :completion-cycle-penalty which is not needed any more.
5977 (completion--try-word-completion): Add `metadata' argument.
5978 (minibuffer-completion-help): Check metadata for annotation function
5979 and sorting.
5980 (completion-file-name-table): Return `category' metadata.
5981 (minibuffer-completing-file-name): Make obsolete.
5982 * simple.el (minibuffer-completing-symbol): Make obsolete.
5983 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5984 completion-try-completion.
5985
1257e755
SM
59862011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5989
3767e706
LL
59902011-05-30 Leo Liu <sdl.web@gmail.com>
5991
5992 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5993 (rcirc-print): Decode all incoming messages (bug#8744).
5994 (rcirc-decode-coding-system): Allow value nil for automatic coding
5995 system detection.
3767e706 5996
d1a5d56a
GM
59972011-06-01 Glenn Morris <rgm@gnu.org>
5998
5999 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6000
e8cbec34
CY
60012011-05-29 Chong Yidong <cyd@stupidchicken.com>
6002
6003 * image.el (image-animate-max-time): Allow nil and t values.
6004 Default to nil.
6005 (create-animated-image): Doc fix.
6006 (image-animate-start): Remove second arg; just use
6007 image-animate-max-time.
6008 (image-animate-timeout): Doc fix. Args changed.
6009
6010 * image-mode.el (image-toggle-display-image): Ensure that the
6011 image spec passed to the animate timer is the same object as in
58179cce 6012 the buffer's display property (Bug#6981).
e8cbec34
CY
6013 (image-transform-properties): Doc fix.
6014
6015 * image.el (image-animate-max-time): Default to nil.
6016
159daf87
MR
60172011-05-29 Martin Rudalics <rudalics@gmx.at>
6018
6019 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6020 entire buffer list (Bug#8184).
6021
d66c4c7c
CY
60222011-05-29 Chong Yidong <cyd@stupidchicken.com>
6023
6024 * image.el (imagemagick-types-inhibit)
6025 (imagemagick-register-types): Doc fix.
6026
80aec780
DD
60272011-05-29 Deniz Dogan <deniz@dogan.se>
6028
6029 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6030 default.
6031
1dd3c2d9
CY
60322011-05-29 Chong Yidong <cyd@stupidchicken.com>
6033
6034 * select.el: Don't perform clipboard-manager saving in hooks;
6035 leave the hooks empty.
6036
60e56523
LL
60372011-05-28 Leo Liu <sdl.web@gmail.com>
6038
6039 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6040 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6041 (occur-edit-mode): New major mode (Bug#8463).
6042 (occur-after-change-function): New function.
6043 (occur-engine): Give Occur tags a read-only property.
6044
2b1e1a22
KR
60452011-05-28 Kevin Ryde <user42@zip.com.au>
6046
6047 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6048
5d344e88
CY
60492011-05-28 Chong Yidong <cyd@stupidchicken.com>
6050
8e6ca83d
CY
6051 * bindings.el (help-echo): Make the initial non-indicator dash
6052 empty on graphical terminals (Bug#7295).
6053
5d344e88
CY
6054 * files.el (auto-mode-alist): Move config rule after the
6055 in-stripping one (Bug#8547).
6056
bfbbace7
CY
6057 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6058
fbeba6e2
CY
6059 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6060 setting (Bug#8740).
6061
60ed8c72
AA
60622011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6063
4ac619f0
AA
6064 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6065 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6066 (Bug#8539).
60ed8c72 6067
23db196e
CY
60682011-05-28 Chong Yidong <cyd@stupidchicken.com>
6069
6070 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6071
5012f24c
DK
60722011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6073
6074 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6075 (hs-hide-block-at-point, hs-find-block-beginning)
6076 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6077 (Bug#8279).
6078
6a639b16
GM
60792011-05-28 Glenn Morris <rgm@gnu.org>
6080
6081 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6082
d43eaf2c
CY
60832011-05-28 Chong Yidong <cyd@stupidchicken.com>
6084
5199bde1
CY
6085 * help-fns.el (describe-function-1): If the function is a derived
6086 major mode, print the parent mode.
6087
d43eaf2c
CY
6088 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6089 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6090
423428a8
SM
60912011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6092
0ff8e1ba 6093 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6094 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6095 * progmodes/etags.el (tags-completion-at-point-function):
6096 * info-look.el (info-lookup-completions-at-point): Mark as
6097 non-exclusive.
6098 (info-complete): Adjust accordingly.
6099
423428a8
SM
6100 * info-look.el: Convert to lexical-binding and completion-at-point.
6101 (info-lookup-completions-at-point): New function.
6102 (info-complete): Use it and completion-in-region.
6103
b74aa22b
DA
61042011-05-28 Drew Adams <drew.adams@oracle.com>
6105
6106 * isearch.el: Let M-e start with point at the first mismatched char.
6107 (isearch-fail-pos): New function.
6108 (isearch-edit-string): Use it.
6109
66e2e71d
DK
61102011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6111
6112 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6113
eb95d01d
TC
61142009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6115
6116 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6117 traversal functions for avl-trees.
6118 (avl-tree--stack): New struct.
6119 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6120 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6121 (avl-tree--do-enter): Add optional `updatefun' arg.
6122 Change return value.
eb95d01d 6123 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6124 (avl-tree--do-delete): Add `test' and `nilflag' args.
6125 Change return value.
eb95d01d
TC
6126 (avl-tree-member): Add optional `nilflag'
6127 (avl-tree-member-p): New function.
6128 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6129 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6130 (avl-tree-stack-empty-p): New functions.
6131
3769ddcf
TC
61322009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6133
6134 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6135 avl-tree--del-balance1 and make it work both ways.
6136 (avl-tree--del-balance2): Remove.
6137 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6138 make it work both ways.
6139 (avl-tree--enter-balance2): Remove.
6140 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6141 New macros.
6142 (avl-tree--mapc, avl-tree-map): Add direction argument.
6143
eb95d01d 61442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6145
6146 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6147
a9f737ee
CY
61482011-05-27 Chong Yidong <cyd@stupidchicken.com>
6149
6150 * select.el: Support clipboard managers with built-in function
6151 x-clipboard-manager-save, via delete-frame-functions and
6152 kill-emacs-hook.
6153 (xselect-convert-to-targets): Add MULTIPLE target to list.
6154 (xselect-convert-to-save-targets): New function.
6155
c92a1e54
KH
61562011-05-27 Kenichi Handa <handa@m17n.org>
6157
6158 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6159 let-binding rfc2047-encode-encoded-words to nil.
6160
e145f188
GM
61612011-05-27 Glenn Morris <rgm@gnu.org>
6162
5ec8a862
GM
6163 * mail/emacsbug.el: Don't require url-util.
6164
4b29d9fb
GM
6165 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6166
e145f188
GM
6167 * files.el (set-auto-mode):
6168 Also respect mode: entries at the end of the file. (Bug#8586)
6169
7d15102b
GM
61702011-05-26 Glenn Morris <rgm@gnu.org>
6171
98f593b8
GM
6172 * files.el (hack-local-variables-prop-line, hack-local-variables):
6173 Downcase mode names, as seems to be traditional.
27b48e63 6174 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6175
7d15102b
GM
6176 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6177 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6178
51d5b4ec
JD
61792011-05-25 Julien Danjou <julien@danjou.info>
6180
6181 * textmodes/rst.el (rst-define-level-faces): Do not define face
6182 symbol if it is already defined.
6183
91513f63
VB
61842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6185
6186 * play/5x5.el (5x5-new-game, 5x5-randomize):
6187 Reset 5x5-solver-output to nil when a new grid is cast.
6188 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6189 these debugging traces, as defmacro breaks the compiled code.
6190
4d90d6d0
DK
61912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6192
6193 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6194
e1b90ef6
LL
61952011-05-24 Leo Liu <sdl.web@gmail.com>
6196
6197 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6198 (vc-bzr-sha1): Adapt.
6199
d8e4b68b 6200 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6201
6202 * bindings.el: Provide sha1 feature.
6203
db0406bb 62042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6205
6206 * mail/sendmail.el: Require `rfc2047'.
6207 (mail-insert-from-field): Do not perform RFC2047 encoding.
6208 (mail-encode-header): New function.
6209 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6210 buffer to the return value of select-message-coding-system.
6211 Call mail-encode-header.
b8d747b9
KH
6212
6213 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6214
db0406bb 62152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6216
4d90d6d0
DK
6217 * mail/supercite.el (sc-default-cite-frame):
6218 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6219
eb8a5e9b
GM
62202011-05-24 Glenn Morris <rgm@gnu.org>
6221
f8630703
GM
6222 * progmodes/python.el (brm-menu): Declare.
6223
8831bbed
GM
6224 * emulation/viper.el (viper-set-hooks): Declare.
6225
eb8a5e9b
GM
6226 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6227 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6228 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6229 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6230 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6231 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6232
a2a25d24
SM
62332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 Add an :exit-function for completion-at-point.
6236
6237 * minibuffer.el (completion--done): New fun.
6238 (completion--do-completion): Use it. New arg `expect-exact'.
6239 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6240 since completion--do-completion does it for us now.
6241 (minibuffer-force-complete): Use completion--done and
6242 completion--replace. Handle sole-completion case with more care.
6243 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6244 (completion-extra-properties): New var.
6245 (completion-annotate-function): Make obsolete.
6246 (minibuffer-completion-help): Adjust accordingly.
6247 Use completion-list-insert-choice-function.
6248 (completion-at-point, completion-help-at-point):
6249 Bind completion-extra-properties.
6250 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6251 * simple.el (completion-list-insert-choice-function): New var.
6252 (completion-setup-function): Preserve it.
6253 (choose-completion): Pay attention to it, shuffle the code a bit.
6254 (choose-completion-string): New arg `insert-function'.
6255
6256 * textmodes/bibtex.el: Convert to lexical binding.
6257 (bibtex-mode-map): Use completion-at-point.
6258 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6259 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6260 (bibtex-complete): Define as obsolete alias.
6261 (bibtex-complete-internal): Remove.
6262 (bibtex-format-entry): Remove unused sub-group in regexp.
6263 * shell.el (shell--command-completion-data)
6264 (shell-environment-variable-completion):
6265 * pcomplete.el (pcomplete-completions-at-point):
6266 * comint.el (comint--complete-file-name-data): Use :exit-function
6267 instead of completion-table-with-terminator so it also works for
6268 choose-completion.
6269
e44e373d
SM
62702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6271
4f91a816
SM
6272 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6273
782fc819
SM
6274 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6275 (bug#8710).
6276
e44e373d
SM
6277 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6278
381987c3
KM
62792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6280
6281 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6282 customization variable and implement: If non-nil, auto-fill will
6283 be inhibited while on topic's header line.
6284
b776bc70
VB
62852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6286
6287 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6288 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6289 always have a solution in grid size = 5 cases.
6290 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6291 (5x5-solver-output, 5x5-log-buffer): New vars.
6292 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6293 Make these variables buffer local to achieve 5x5 multi-session-ness.
6294 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6295 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6296 (5x5-solve-suggest): New funs.
6297 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6298 randomize a grid so that we ensure that there is always a solution.
6299 (5x5-make-random-grid): Allow other movement than flipping.
6300
7de88b6e
KR
63012011-05-23 Kevin Ryde <user42@zip.com.au>
6302
6303 * emacs-lisp/advice.el (ad-read-advised-function):
6304 Use `function-called-at-point' as the default default, if it has
6305 advice and passes PREDICATE.
6306
b1ef1257
SM
63072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6308
bbca48fe
SM
6309 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6310 byte-compile-lambda if it's actually a lambda.
6311
b1ef1257
SM
6312 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6313 Fix function quoting. Use backquote better.
6314
92a9cc65
YS
63152011-05-22 Yuanle Song <sylecn@gmail.com>
6316
6317 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6318 matching (Bug#8516).
6319
f0fb8059
JA
63202011-01-22 Jari Aalto <jari.aalto@cante.net>
6321
6322 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6323 different face (Bug#8178).
6324
d5b44c93
CY
63252011-05-22 Chong Yidong <cyd@stupidchicken.com>
6326
6327 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6328 defface (Bug#8144).
6329
79106a44
SM
63302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6331
9c848d8a
SM
6332 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6333 funcall as well (bug#8712). Warn when performing those conversions.
6334 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6335
79106a44
SM
6336 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6337
88dfa756
GM
63382011-05-22 Glenn Morris <rgm@gnu.org>
6339
6340 * files.el (hack-local-variables-prop-line): Small simplifications.
6341 (hack-local-variables, hack-local-variables-prop-line):
6342 If MODE-ONLY, return the mode, rather than just `t'.
6343
b7cf2c79
SM
63442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6347
3f1a8558
GM
63482011-05-21 Glenn Morris <rgm@gnu.org>
6349
7e4ccca3
GM
6350 * files.el (hack-local-variables-prop-line, hack-local-variables):
6351 If only interested in the mode, don't bother doing the other stuff.
6352
637d46ca
GM
6353 * image-mode.el (image-after-revert-hook):
6354 Redraw all frames on which the image is visible. (Bug#8567)
6355
973d955b
GM
6356 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6357
3f1a8558
GM
6358 * wid-edit.el (widget-checklist-match-inline):
6359 Fix 2011-04-19 change. (Bug#8649)
6360
96479927
SM
63612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6362
1dcf791f
SM
6363 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6364 Also allow singlespace after single-letter capitals followed by a dot.
6365
96479927
SM
6366 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6367 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6368
35fd0881
N
63692011-05-20 Nix <nix@esperi.org.uk>
6370
6371 * files.el (basic-save-buffer-2):
6372 Fix handling of break-hardlink-on-save with non-existent files.
6373
82745640
DD
63742011-05-19 Deniz Dogan <deniz@dogan.se>
6375
6376 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6377 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6378
4a720484
GM
63792011-05-19 Glenn Morris <rgm@gnu.org>
6380
d1f21341
GM
6381 * progmodes/f90.el (f90-type-def-re):
6382 Handle "type, bind(c)". (Bug#8691)
6383
4a720484
GM
6384 * emacs-lisp/autoload.el (batch-update-autoloads):
6385 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6386
2fb0a219
MA
63872011-05-18 Michael Albinus <michael.albinus@gmx.de>
6388
6389 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6390 property for the correct connection in case of multihops.
6391
e565dd37
GM
63922011-05-18 Glenn Morris <rgm@gnu.org>
6393
c2571358 6394 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6395 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6396
e565dd37
GM
6397 Rationalize calendar handling of day and month abbrev-arrays.
6398 * calendar/calendar.el (calendar-customized-p): New function.
6399 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6400 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6401 Add :set function.
6402 (calendar-abbrev-length, calendar-day-abbrev-array)
6403 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6404 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6405 Elements may no longer be nil.
6406 (calendar-day-name, calendar-month-name):
6407 Update for changed nature of abbrev arrays.
6408 * calendar/diary-lib.el (diary-name-pattern):
6409 Update for changed nature of abbrev arrays.
6410 (diary-mark-entries-1): Update calendar-make-alist calls.
6411 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6412 * calendar/cal-html.el (cal-html-day-abbrev-array):
6413 Simply inherit from calendar-day-abbrev-array.
6414
1d99a745
SM
64152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * progmodes/grep.el (grep-mode): Disable default
6418 compilation-directory-matcher setting (bug#8684).
6419
7c1d9aa0
MA
64202011-05-17 Michael Albinus <michael.albinus@gmx.de>
6421
6422 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6423 instead of "head" and "tail". There were problems with SunOS 5.9,
6424 and it performs better.
6425
3952e9d8
GM
64262011-05-17 Glenn Morris <rgm@gnu.org>
6427
2dd12e7f
GM
6428 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6429
e4157b9c
GM
6430 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6431 Replace obsolete function.
6432
8e249bbd
GM
6433 * shell.el (pcomplete-parse-arguments-function): Declare.
6434
3952e9d8
GM
6435 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6436 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6437 (appt-check): Doc fixes.
6438 (appt-disp-window-function, appt-delete-window-function):
6439 Remove needless special case in custom :type.
6440 (appt-display-count): Default to 0, not nil.
6441 (appt-check): Reset appt-display-count to 0, not nil.
6442
c71a0d48 64432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6444
c71a0d48
GM
6445 * progmodes/python.el (python-font-lock-keywords):
6446 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6447
31d55be9
SM
64482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6451
3bfacb2f
KR
64522011-05-16 Kevin Ryde <user42@zip.com.au>
6453
6454 * info-look.el (makefile-automake-mode): New setups, looking in
6455 automake manual, then makefile-mode.
6456 (makefile-mode): Remove automake manual, have it just in
6457 makefile-automake-mode since there's various things different or
6458 not relevant to plain make.
6459 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6460 believe a hypothetical automake-mode would go to makefile-mode,
6461 not the other way around.
6462
c8e83751
CY
64632011-05-15 Chong Yidong <cyd@stupidchicken.com>
6464
5e9e35cd
CY
6465 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6466 hunk-end tags (Bug#8672).
6467
c8e83751
CY
6468 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6469 vc-annotate-show-diff-revision-at-line (Bug#8671).
6470
50b23e5a
GM
64712011-05-14 Glenn Morris <rgm@gnu.org>
6472
7210a739
GM
6473 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6474 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6475 (change-log-font-lock-keywords): Also handle multiple author lines
6476 with leading tabs. (Bug#8644)
7210a739 6477
4691905a
GM
6478 * calendar/appt.el (appt-check): Rename some local variables.
6479 Some simplification/reordering.
6480
50b23e5a
GM
6481 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6482 (feedmail-sendmail-f-doesnt-sell-me-out)
6483 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6484 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6485 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6486 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6487 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6488 (feedmail-binmail-gnulinuxish-template):
6489 Rename from feedmail-binmail-linuxish-template.
6490 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6491 Use insert-buffer-substring.
6492
215cda7c
BC
64932011-05-14 Bill Carpenter <bill@carpenter.org>
6494
6495 * mail/feedmail.el (feedmail-patch-level): Increase.
6496 (feedmail-debug): New custom group.
6497 (feedmail-confirm-outgoing-timeout)
6498 (feedmail-sendmail-f-doesnt-sell-me-out)
6499 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6500 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6501 (feedmail-sender-line, feedmail-from-line)
6502 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6503 (feedmail-spray-this-address)
215cda7c
BC
6504 (feedmail-spray-address-fiddle-plex-list)
6505 (feedmail-queue-use-send-time-for-date)
6506 (feedmail-queue-use-send-time-for-message-id)
6507 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6508 (feedmail-buffer-eating-function):
6509 Doc fixes.
6510 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6511 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6512 (feedmail-message-action-scroll-down): New functions.
6513 (feedmail-queue-directory, feedmail-queue-draft-directory):
6514 Use expand-file-name.
6515 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6516 Remove C-v help entry.
6517 (feedmail-queue-buffer-file-name): New variable.
6518 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6519 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6520 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6521 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6522 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6523 (feedmail-message-action-toggle-spray)
6524 (feedmail-run-the-queue-no-prompts)
6525 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6526 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6527 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6528 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6529 (feedmail-envelope-deducer, feedmail-fiddle-from)
6530 (feedmail-fiddle-sender, feedmail-default-date-generator)
6531 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6532 (feedmail-fiddle-spray-address)
6533 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6534 (feedmail-fiddle-list-of-fiddle-plexes)
6535 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6536 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6537 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6538 Change default. Doc fix.
6539 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6540 (feedmail-binmail-linuxish-template): New constant.
6541 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6542 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6543 (feedmail-send-it): Add debug call.
6544 Use feedmail-queue-buffer-file-name, and
6545 feedmail-send-it-immediately-wrapper.
6546 (feedmail-message-action-send): Add debug call.
6547 Use feedmail-send-it-immediately-wrapper.
6548 (feedmail-queue-express-to-queue): Add debug call.
6549 Run feedmail-queue-express-hook.
6550 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6551 (feedmail-message-action-help-blat):
6552 Rename from feedmail-queue-send-edit-prompt-help-first.
6553 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6554 Check line-endings. Handle errors better.
6555 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6556 Doc fix. Add debug call.
6557 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6558 Use feedmail-queue-send-edit-prompt-inner.
6559 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6560 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6561 from feedmail-queue-send-edit-prompt.
6562 (feedmail-queue-send-edit-prompt-help)
6563 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6564 (feedmail-tidy-up-slug): Add debug call.
6565 Respect feedmail-queue-slug-suspect-regexp.
6566 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6567 (feedmail-dump-message-to-queue): Add debug call.
6568 Expand queue-directory.
6569 (feedmail-dump-message-to-queue): Change message slightly.
6570 Use feedmail-say-chatter.
6571 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6572 (feedmail-send-it-immediately-wrapper): New function.
6573 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6574 Insert empty string rather than newline. Handle full-frame case.
6575 Use catch/throw. Use feedmail-say-chatter.
6576 (feedmail-fiddle-from): Try mail-host-address.
6577 (feedmail-default-message-id-generator): Doc fix.
6578 Bind system-time-locale. Handle missing end.
6579 (feedmail-fiddle-x-mailer): Add debug call.
6580 Handle feedmail-x-mailer-line being nil.
6581 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6582 Add debug call. Use buffer-substring-no-properties.
6583 (feedmail-say-debug, feedmail-say-chatter): New functions.
6584 (feedmail-find-eoh): Give an explicit error.
6585
42c7e61e
UJ
65862011-05-13 Ulf Jasper <ulf.jasper@web.de>
6587
c2571358 6588 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6589 family from helvetica to sans.
c2571358 6590 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6591 etc/images/newsticker.
6592
c2571358 6593 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6594 family from helvetica to sans.
6595
6596 * net/newst-plainview.el (newsticker-new-item-face)
6597 (newsticker-old-item-face, newsticker-immortal-item-face)
6598 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6599 (newsticker-statistics-face): Change default family from
42c7e61e 6600 helvetica to sans.
c2571358 6601 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6602 etc/images/newsticker.
6603
6604 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6605 (newsticker--process-auto-mark-filter-match): : Tell user about
6606 auto-marking.
6607
8497a297
DV
66082011-05-13 Didier Verna <didier@xemacs.org>
6609
6610 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6611 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6612 TODO entries.
8497a297
DV
6613 (lisp-lambda-list-keyword-parameter-indentation)
6614 (lisp-lambda-list-keyword-parameter-alignment)
6615 (lisp-lambda-list-keyword-alignment): New customizable user options.
6616 (lisp-indent-defun-method): Improve docstring.
6617 (extended-loop-p): Fix comment.
6618 (lisp-indent-lambda-list-keywords-regexp): New variable.
6619 (lisp-indent-lambda-list): New function.
6620 (lisp-indent-259): Use it.
6621 (lisp-indent-defmethod): Support for more than one
6622 method qualifier and properly indent methods lambda-lists.
6623 (defgeneric): Provide a missing common-lisp-indent-function property.
6624
f278f87f
SM
66252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6628 bounds for the empty string (bug#8667).
6629
5233edd7
GM
66302011-05-13 Glenn Morris <rgm@gnu.org>
6631
5237a44f
GM
6632 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6633
8340026c 6634 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6635 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6636
5233edd7 6637 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6638 (appt-time-msg-list): Doc fix.
a5464014 6639 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6640
92d10796
AS
66412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6642
6643 * progmodes/ld-script.el (ld-script-keywords)
6644 (ld-script-builtins): Update keywords list.
6645
914a0ae1
SM
66462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6647
c89be45f
SM
6648 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6649
914a0ae1
SM
6650 * shell.el (shell-completion-vars): New function.
6651 (shell-mode):
6652 * simple.el (read-shell-command): Use it.
6653 (blink-matching-open): No need for " [...]" in minibuffer-message.
6654
98dc3df3
GM
66552011-05-12 Glenn Morris <rgm@gnu.org>
6656
6657 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6658 (appt-check): Simplify.
6659
d2fc7e3d 66602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6661
4d61f28d 6662 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6663 literal "/dev/null".
6664
d2fc7e3d 66652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6666
6667 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6668 Fix typo.
6669
d2fc7e3d 66702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6671
3f254caa
SM
6672 * progmodes/which-func.el (which-function):
6673 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6674 which might not be defined (Bug#8260).
6675
d45885f7
GM
66762011-05-12 Glenn Morris <rgm@gnu.org>
6677
6678 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6679 Let byte-compile-initial-macro-environment always take precedence.
6680
488086f4
SM
66812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * net/rcirc.el: Add support for SSL/TLS connections.
6684 (rcirc-server-alist): New field `encryption'.
6685 (rcirc): Check `encryption' settings.
6686 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6687 Merge make-local-variable into `set'.
6688 (rcirc--connection-open-p): New function.
6689 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6690 the process is not a network process (e.g. running gnutls-cli).
6691 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6692 Make rcirc-(en|de)code-coding-system local here.
6693 (rcirc-mode): Merge make-local-variable into `set'.
6694 (rcirc-parent-buffer): Make permanent buffer-local.
6695 (rcirc-multiline-minor-mode): Don't do it here.
6696 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6697 there's no server buffer.
6698
7d3b9d44
GM
66992011-05-11 Glenn Morris <rgm@gnu.org>
6700
f64049c6
GM
6701 * newcomment.el (comment-kill): Prefix "unused" local.
6702
93c9df73
GM
6703 * term/w32console.el (get-screen-color): Declare.
6704
7d3b9d44
GM
6705 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6706 Handle symbol elements of byte-compile-initial-macro-environment.
6707
9e2dd53f
LL
67082011-05-10 Leo Liu <sdl.web@gmail.com>
6709
488086f4
SM
6710 * bookmark.el (bookmark-bmenu-mode-map):
6711 Bind bookmark-bmenu-search to `/'.
8b340240 6712
9e2dd53f 6713 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6714 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6715 (Footnote-unicode): New function.
6716 (footnote-style-alist): Add unicode style to the list.
6717 (footnote-style): Doc fix.
9e2dd53f 6718
79b70037
GM
67192011-05-10 Jim Meyering <meyering@redhat.com>
6720
6721 Fix doubled-word typos.
6722 * international/quail.el (quail-insert-kbd-layout): and and -> and
6723 * kermit.el: and and -> and
6724 * net/ldap.el (ldap-search-internal): to to -> to
6725 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6726 * progmodes/js.el (js-mode): and and -> and
6727 * textmodes/artist.el (artist-move-to-xy): at at -> at
6728 (artist-draw-region-trim-line-endings): if if -> if
6729 And Safetyc -> Safety.
6730 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6731
b8f82dc1 67322011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6733 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6734
6735 * files.el (hack-one-local-variable-eval-safep):
6736 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6737
4f99f44b
GM
67382011-05-10 Glenn Morris <rgm@gnu.org>
6739
6740 * calendar/diary-lib.el (diary-list-entries-hook)
6741 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6742 (diary-nongregorian-marking-hook, diary-list-entries)
6743 (diary-include-other-diary-files, diary-mark-entries)
6744 (diary-mark-included-diary-files): Doc fixes.
6745
84f29e6b
JB
67462011-05-09 Juanma Barranquero <lekktu@gmail.com>
6747
6748 * misc.el: Require tabulated-list.el during compilation.
6749
9bedd73a
CY
67502011-05-09 Chong Yidong <cyd@stupidchicken.com>
6751
488086f4
SM
6752 * progmodes/compile.el (compilation-start):
6753 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6754 (compilation-filter-hook): Doc fix.
6755
797c735c
DD
67562011-05-09 Deniz Dogan <deniz@dogan.se>
6757
6758 * wdired.el: Remove outdated installation comment. Fix usage
6759 comment.
6760
5f4b1dfe
JB
67612011-05-09 Juanma Barranquero <lekktu@gmail.com>
6762
6763 * misc.el: Implement new command `list-dynamic-libraries'.
6764 (list-dynamic-libraries--loaded-only-p): New variable.
6765 (list-dynamic-libraries--refresh): New function.
6766 (list-dynamic-libraries): New command.
6767
4c44026c
CY
67682011-05-09 Chong Yidong <cyd@stupidchicken.com>
6769
488086f4
SM
6770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6771 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6772 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6773 higher priority to avoid clobbering by gnu.
6774
027f966d
CY
67752011-05-08 Chong Yidong <cyd@stupidchicken.com>
6776
6777 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6778 if the face has existing theme settings (Bug#8454).
6779
085f5d7d
CY
67802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6781
488086f4
SM
6782 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6783 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6784
2a86a00c
RS
6785 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6786 special file names `.' and `..' (Bug#8259).
6787
d9c54a06
CY
67882011-05-08 Chong Yidong <cyd@stupidchicken.com>
6789
488086f4
SM
6790 * progmodes/grep.el (grep-mode-font-lock-keywords):
6791 Remove buffer-changing entries.
d9c54a06
CY
6792 (grep-filter): New function.
6793 (grep-mode): Add it to compilation-filter-hook.
6794
6795 * progmodes/compile.el (compilation-filter-hook)
6796 (compilation-filter-start): New defvars.
6797 (compilation-filter): Call compilation-filter-hook prior to
6798 updating the process mark.
6799
c4662635
SM
68002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6803
b0512a1d
EZ
68042011-05-07 Eli Zaretskii <eliz@gnu.org>
6805
605c9376
EZ
6806 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6807 mailclient-send-it even if window-system is nil. (Bug#8595)
6808
c4662635
SM
6809 * term/w32console.el (terminal-init-w32console):
6810 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6811 background-mode. (Bug#8597)
6812
d1dc2cc2
SM
68132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6816 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6817 New functions.
6818 (defgeneric, eieio--defmethod): Use them.
6819 (eieio-defgeneric): Remove.
6820 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6821
915d1300
GM
68222011-05-07 Glenn Morris <rgm@gnu.org>
6823
a3961c3e
GM
6824 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6825 Use let rather than let*.
6826 (timeclock-find-discrep): Remove unused local.
6827
314347b9
GM
6828 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6829
915d1300
GM
6830 * calendar/appt.el (appt-time-msg-list): Doc fix.
6831
275b59b0
NF
68322011-05-06 Noah Friedman <friedman@splode.com>
6833
6834 * apropos.el (apropos-print-doc): Only use
6835 emacs-lisp-docstring-fill-column when it is bound to an integer,
6836 per that variable's documentation.
6837
6c19f744
SM
68382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6841 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6842
60f884b2
GM
68432011-05-06 Glenn Morris <rgm@gnu.org>
6844
5006e634
GM
6845 * calendar/appt.el (appt-message-warning-time): Doc fix.
6846 (appt-warning-time-regexp): New option.
6847 (appt-make-list): Respect appt-message-warning-time.
6848
548d0a63
GM
6849 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6850 New options.
6851 (diary-add-to-list): Strip comments from the displayed string.
6852 (diary-mode): Set comment-start and comment-end.
6853
60f884b2
GM
6854 * vc/diff-mode.el (smerge-refine-subst): Declare.
6855 (diff-refine-hunk): Don't require smerge-mode when compiling.
6856
989681bb
JB
68572011-05-06 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * simple.el (list-processes): Return nil as the docstring says.
6860
a6bc05e1
MA
68612011-05-05 Michael Albinus <michael.albinus@gmx.de>
6862
6863 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6864 to "".
6865 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6866 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6867 determining of binary transfer. (Bug#7383)
6868
23c22e9a
MA
68692011-05-05 Michael Albinus <michael.albinus@gmx.de>
6870
c4662635
SM
6871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6872 Fix port computation bug. (Bug#8618)
23c22e9a 6873
0bff894f
GM
68742011-05-05 Glenn Morris <rgm@gnu.org>
6875
b8296902
GM
6876 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6877
1f522ce8
GM
6878 * simple.el (shell-dynamic-complete-functions)
6879 (comint-dynamic-complete-functions): Declare.
6880
cf5bee67
GM
6881 * net/network-stream.el (gnutls-negotiate):
6882 * simple.el (tabulated-list-print): Fix declarations.
6883
6884 * progmodes/gud.el (syntax-symbol, syntax-point):
6885 Remove unnecessary and incorrect declarations.
6886
0bff894f
GM
6887 * emacs-lisp/check-declare.el (check-declare-scan):
6888 Handle byte-compile-initial-macro-environment in bytecomp.el
6889
9869b3ae
SM
68902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 Fix earlier half-done eieio-defmethod change (bug#8338).
6893 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6894 Streamline and change calling convention.
6895 (defmethod): Adjust accordingly and simplify.
6896 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6897 new eieio--defmethod.
6898 (slot-boundp): Minor CSE simplification.
6899
9c1d5ac5
MZ
69002011-05-05 Milan Zamazal <pdm@zamazal.org>
6901
6902 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6903 (glasses-make-readable): Use glasses-separate-capital-groups.
6904
455c834e
JB
69052011-05-05 Juanma Barranquero <lekktu@gmail.com>
6906
6907 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6908 (warning-series): Doc fix.
6909 (display-warning): Don't try to create the buffer if we just found it.
6910
9ed7c8cb
CY
69112011-05-04 Chong Yidong <cyd@stupidchicken.com>
6912
6913 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6914 (autoload-find-generated-file): New function.
6915 (generate-file-autoloads): Bind generated-autoload-file to
6916 buffer-file-name.
9869b3ae
SM
6917 (update-file-autoloads, update-directory-autoloads):
6918 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6919 output file (Bug#7989).
6920 (batch-update-autoloads): Doc fix.
6921
0898ca10
JB
69222011-05-04 Juanma Barranquero <lekktu@gmail.com>
6923
6924 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6925
31dfb76c
GM
69262011-05-04 Glenn Morris <rgm@gnu.org>
6927
f330b642
GM
6928 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6929 function, so it follows changes in calendar-date-style.
6930 (diary-fancy-date-matcher): New function.
6931 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6932 (diary-fancy-font-lock-fontify-region-function):
6933 Use diary-fancy-date-pattern as a function.
6934
31dfb76c
GM
6935 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6936 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6937
48e79d6a
TZ
69382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6939
6940 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6941 instead of positional arguments. Allow :keylist and :crlfiles
6942 arguments.
6943 (open-gnutls-stream): Call it.
6944
6945 * net/network-stream.el (network-stream-open-starttls): Adjust to
6946 call `gnutls-negotiate' with :process and :hostname arguments.
6947
dd5a5ee0
SM
69482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6949
ef80fc09
SM
6950 * minibuffer.el (completion--message): New function.
6951 (completion--do-completion, minibuffer-complete)
6952 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6953 (completion--do-completion): Don't ignore completion-auto-help when in
6954 icomplete-mode.
6955
dd5a5ee0
SM
6956 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6957 internal encoding (e.g. tibetan zero is not whitespace).
6958 (global-whitespace-mode): Prefer save-current-buffer.
6959 (whitespace-trailing-regexp): Remove useless save-match-data.
6960 (whitespace-empty-at-bob-regexp): Minor simplification.
6961
b7d22a83
CY
69622011-05-03 Chong Yidong <cyd@stupidchicken.com>
6963
6964 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6965
5192af46
AM
69662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6967
6968 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6969 Use `concat' to create string for insertion.
5192af46 6970
5767d190
SM
69712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6974 Avoid open-line which runs post-self-insert-hook.
6975 (bibtex-fill-entry): Remove unused `end' var.
6976
bf242939
AM
69772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6978
5767d190
SM
6979 * textmodes/ispell.el (ispell-add-per-file-word-list):
6980 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6981
25666126
LL
69822011-05-03 Leo Liu <sdl.web@gmail.com>
6983
6984 * isearch.el (isearch-yank-pop): New command.
5767d190 6985 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6986 (isearch-forward): Mention it.
6987
52d3c2d0
SM
69882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6989
1bcace58
SM
6990 * simple.el (minibuffer-complete-shell-command): Remove.
6991 (minibuffer-local-shell-command-map): Use completion-at-point.
6992 (read-shell-command): Setup completion vars here instead.
6993 (read-expression-map): Bind TAB to symbol completion.
6994
52d3c2d0
SM
6995 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6996 error directly rather via storing it into `results'.
6997
35813471
LL
69982011-05-02 Leo Liu <sdl.web@gmail.com>
6999
7000 * vc/diff.el: Fix description.
7001
e793a940
LMI
70022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003
7004 * server.el (server-eval-at): New function.
7005
8de66e05
LMI
70062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7007
7008 * net/network-stream.el (open-network-stream): Take a :nowait
7009 parameter and pass it on to `make-network-process'.
7010 (network-stream-open-plain): Ditto.
7011
dcb79f20
AS
70122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7013
7014 * faces.el (face-spec-set-match-display): Don't match toolkit
7015 options on terminal frames.
7016
14a7fbd8
SM
70172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7eabc1be
SM
7019 * progmodes/pascal.el: Use lexical binding.
7020 (pascal-mode-map): Remove author preferences.
7021
14a7fbd8
SM
7022 * pcomplete.el (pcomplete-std-complete): Don't abuse
7023 completion-at-point.
7024
50f84510
JB
70252011-04-28 Juanma Barranquero <lekktu@gmail.com>
7026
6e087a44
JB
7027 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7028 removing code that has been dead since 1991 or so.
7029
50f84510
JB
7030 * startup.el (command-line): When warning about "_emacs", use a
7031 delayed warning to allow the user to filter it out.
7032
0ba690bd
DD
70332011-04-28 Deniz Dogan <deniz@dogan.se>
7034
7035 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7036 user has not joined.
7037
08abfaad
SM
70382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7041 aren't any completions at point.
7042
638f053a
JB
70432011-04-28 Juanma Barranquero <lekktu@gmail.com>
7044
7045 * subr.el (display-delayed-warnings): New function.
7046 (delayed-warnings-hook): New variable.
7047
8fff8daa
SM
70482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7049
08abfaad
SM
7050 * minibuffer.el (completion-at-point, completion-help-at-point):
7051 Don't presume that a given completion-at-point-function will always
7052 use the same calling convention.
7053
8fff8daa
SM
7054 * pcomplete.el (pcomplete-completions-at-point):
7055 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7056 pcomplete-seen is non-nil.
7057 (pcomplete-comint-setup): Also recognize the new comint/shell
7058 completion functions.
7059 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7060 pcomplete-seen is non-nil.
7061
841a1577 70622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7063
841a1577 7064 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7065 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7066 the first character in the entry. This allows for code to add its
211ec907
UJ
7067 own uid to the entry.
7068 (icalendar--convert-float-to-ical): Add export of
7069 `diary-float'-entries save for those with the optional DAY
7070 argument.
7071
2a782793
DC
70722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7073
7074 * subr.el (shell-quote-argument): Use alternate escaping strategy
7075 when we spot a variable reference in a string.
7076
0438ce91
DC
70772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7078
7079 * cus-start.el (all): Define customization for debug-on-event.
7080
841a1577 70812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7082
7083 * subr.el (shell-quote-argument): Escape correctly under Windows.
7084
d090ed6c
SM
70852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7088
bfd31217
MA
70892011-04-25 Michael Albinus <michael.albinus@gmx.de>
7090
d090ed6c
SM
7091 * net/tramp.el (tramp-process-actions): Add POS argument.
7092 Delete region between POS and (pos).
bfd31217 7093
d090ed6c
SM
7094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7095 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7096 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7097
7098 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7099 position in `tramp-process-actions' call.
7100
7101 * net/trampver.el: Update release number.
7102
e92f3bd3
SM
71032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7104
850256b5
SM
7105 * custom.el (defcustom): Obey lexical-binding.
7106
e92f3bd3
SM
7107 Fix octave-inf completion problems reported by Alexander Klimov.
7108 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7109 Inherit from octave-mode-syntax-table.
7110 (inferior-octave-mode): Set info-lookup-mode.
7111 (inferior-octave-completion-at-point): New function.
7112 (inferior-octave-complete): Use it and completion-in-region.
7113 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7114 comint-filename-completion.
7115 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7116 symbol elements which shouldn't be word elements.
7117 (octave-font-lock-keywords, octave-beginning-of-defun)
7118 (octave-function-header-regexp): Adjust regexps accordingly.
7119 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7120
cd22b309
JB
71212011-04-25 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * net/gnutls.el (gnutls-errorp): Declare before first use.
7124
8b492194
TZ
71252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7126
7127 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7128 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7129 default trustfile exists before going to use it. Add missing
7130 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7131 Reported by Claudio Bley <claudio.bley@gmail.com>.
7132 (open-gnutls-stream): Add usage example.
7133
7134 * net/network-stream.el (network-stream-open-starttls): Give host
7135 parameter to `gnutls-negotiate'.
7136 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7137 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7138
841a1577 71392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7140
cd22b309
JB
7141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7142 Use correct match group (bug#8438).
05842630 7143
3ba7869c
CY
71442011-04-24 Chong Yidong <cyd@stupidchicken.com>
7145
512e3ae1
CY
7146 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7147 (package-menu--generate): New arg specifying packages to show.
7148 (package-menu-refresh, package-menu-execute, list-packages):
7149 Callers changed.
7150 (package-show-package-list): New function, replacing deleted
7151 package--list-packages (renamed because it is non-internal).
7152
7153 * finder.el (finder-list-matches): Use package-show-package-list
7154 instead of deleted package--list-packages.
7155
e92f3bd3
SM
7156 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7157 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7158 (vc-annotate-mode-map): Bind it to RET.
7159
7031be6d
UR
71602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7161
7162 * progmodes/etags.el (next-file): Don't use set-buffer to change
7163 buffers (Bug#8478).
7164
4ef177aa
CY
71652011-04-24 Chong Yidong <cyd@stupidchicken.com>
7166
c8d173eb
CY
7167 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7168
4ef177aa
CY
7169 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7170 (apropos-accumulator): Doc fix.
7171 (apropos-function, apropos-macro, apropos-command)
7172 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7173 (apropos-plist): Add face property.
7174 (apropos-symbols-internal): Fix indentation.
7175 (apropos-print): Simplify help, and recognize apropos-multi-type.
7176 (apropos-print-doc): Use button-type-get to extract the button's
7177 face property. Fill docstring (Bug#8352).
7178
4ffd0d6b 71792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7180
7181 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7182
c6c32125 7183 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7184 (mpuz-mode-map): Use mapc.
c6c32125
JB
7185 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7186 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7187 Fix typos in docstrings.
7188
58d468b4
JB
7189 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7190 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7191
6470c3c6
JB
7192 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7193
4ffd0d6b 71942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7195
7196 * minibuffer.el (completion--do-completion): Avoid the "Next char
7197 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7198
3ad8bad0
CY
7199 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7200 mouse-2 into unread-command-events, it is interpreted correctly.
7201
71d73c9c 7202 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7203 (image-toggle-display): Doc fix.
71d73c9c 7204
841a1577 72052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7206
4ffd0d6b
GM
7207 * textmodes/page.el (what-page): Use line-number-at-pos to
7208 calculate line number (Bug#6825).
6e1dbaa9 7209
c2fb1b60
JB
72102011-04-22 Juanma Barranquero <lekktu@gmail.com>
7211
7212 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7213 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7214 Pass argument NO-DEFAULT to `find-tag-interactive'.
7215
e02f48d7
JB
72162011-04-22 Juanma Barranquero <lekktu@gmail.com>
7217
7218 Lexical-binding cleanup.
7219
7220 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7221 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7222 * progmodes/ada-prj.el (ada-prj-initialize-values)
7223 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7224 (ada-prj-show-value):
7225 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7226 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7227 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7228 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7229 * progmodes/bug-reference.el (bug-reference-push-button):
7230 * progmodes/fortran.el (fortran-line-length):
7231 * progmodes/glasses.el (glasses-change):
7232 * progmodes/octave-mod.el (octave-fill-paragraph):
7233 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7234 (python-pdbtrack-grub-for-buffer, python-sentinel):
7235 * progmodes/sql.el (sql-save-connection):
7236 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7237 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7238 Mark unused parameters.
7239
7240 * progmodes/compile.el (compilation--flush-directory-cache)
7241 (compilation--flush-parse, compile-internal): Mark unused parameters.
7242 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7243 (compilation-next-error-function): Remove unused variable `timestamp'.
7244
7245 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7246 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7247
7248 * progmodes/dcl-mode.el (dcl-end-of-command):
7249 Remove unused variable `start'.
7250 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7251 (dcl-option-value-basic, dcl-option-value-offset)
7252 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7253 Mark unused parameters.
7254 (dcl-save-local-variable): Remove unused variable `val'.
7255 (mode): Declare.
7256
7257 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7258 Mark unused parameters.
7259 (delphi-ignore-changes): Move before first use.
7260 (delphi-charset-token-at): Remove unused variable `start'.
7261 (delphi-else-start): Remove unused variable `if-count'.
7262 (delphi-comment-block-start, delphi-comment-block-end):
7263 Remove unused variable `kind'.
7264 (delphi-indent-line): Remove unused variable `new-point'.
7265
7266 * progmodes/ebrowse.el (ebrowse-files-list)
7267 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7268 Mark unused parameters. Don't quote `lambda'.
7269 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7270 Don't quote `lambda'.
7271 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7272 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7273 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7274 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7275 Use `ignore-errors'.
7276 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7277 (ebrowse-view/find-file-and-search-pattern)
7278 (ebrowse-view/find-member-declaration/definition):
7279 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7280 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7281 Rename parameter PREFIX-ARG to PREFIX.
7282 (ebrowse-tags-read-name): Remove unused variables `start' and
7283 `member-info'.
7284 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7285 to `tags-file'.
7286
7287 * progmodes/etags.el (local-find-tag-hook): Declare.
7288 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7289 Mark unused parameters.
7290
7291 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7292 (executable-interpret): Mark unused parameter.
7293
7294 * progmodes/flymake.el (flymake-process-sentinel)
7295 (flymake-after-change-function)
7296 (flymake-create-temp-with-folder-structure)
7297 (flymake-get-include-dirs-dot): Mark unused parameters.
7298 (flymake-safe-delete-directory): Remove unused variable `err'.
7299
7300 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7301 (speedbar-timer-fn, speedbar-line-text)
7302 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7303 (speedbar-center-buffer-smartly): Declare functions.
7304 (gdb-find-watch-expression): Remove unused variable `array'.
7305 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7306 (gdb-starting): Mark unused parameters.
7307 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7308 (gdb-table-string): Remove unused variable `res'.
7309 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7310 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7311 (gdb-display-buffer): Remove unused variable `cur-size'.
7312
7313 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7314 allow lexical-binding compilation.
7315 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7316 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7317 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7318 Mark unused parameters.
7319 (gud-gdb-marker-filter): Remove unused variable `match'.
7320 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7321 lambda expressions and funcall them, instead of using `fset'.
7322
7323 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7324 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7325
7326 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7327 variable `header-beg'; use `let'.
7328
7329 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7330 `restart', `last-sexp' and `at-do'.
7331
7332 * progmodes/js.el (js--debug): Mark unused parameter.
7333 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7334 (js--splice-into-items): Remove unused variable `item'.
7335 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7336
7337 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7338 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7339 (makefile-complete): Remove unused variable `try'.
7340 (makefile-fill-paragraph, makefile-match-function-end):
7341 Mark unused parameters.
7342
7343 * progmodes/octave-inf.el (inferior-octave-complete):
7344 Remove unused variable `proc'.
7345 (inferior-octave-output-digest): Mark unused parameter.
7346
7347 * progmodes/perl-mode.el (perl-calculate-indent):
7348 Remove unused variable `err'.
7349
7350 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7351 (prolog-indent-line): Mark unused parameters.
7352 (prolog-indent-line): Remove unused variable `beg'.
7353
7354 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7355 (reporter-dont-compact-list): Declare.
7356
7357 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7358 Remove unused variable `char'.
7359 (sh-debug): Mark unused parameter.
7360 (sh-get-indent-info): Remove unused variable `start'.
7361 (sh-calculate-indent): Remove unused variable `var'.
7362
7363 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7364 (simula-electric-keyword): Remove unused variable `null'.
7365 (simula-search-backward, simula-search-forward): Remove unused
7366 variables `begin' and `end'.
7367
7368 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7369 Remove unused variable `pos'.
7370 (vera-electric-tab, vera-comment-uncomment-region):
7371 Mark unused parameters.
7372 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7373
7ede3b65
CY
73742011-04-22 Chong Yidong <cyd@stupidchicken.com>
7375
7376 * emacs-lisp/package.el (package--builtins, package-alist)
7377 (package-load-descriptor, package-built-in-p, package-activate)
7378 (define-package, package-installed-p)
7379 (package-compute-transaction, package-buffer-info)
7380 (package--push): Doc fix. Distinguish more clearly between
7381 version strings and version lists.
7382
121656e9
JB
73832011-04-21 Juanma Barranquero <lekktu@gmail.com>
7384
7385 Lexical-binding cleanup.
7386
7387 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7388 (5x5-make-mutate-best):
7389 * play/fortune.el (fortune-in-buffer):
7390 * play/gomoku.el (gomoku-init-display):
7391 * play/solitaire.el (solitaire, solitaire-do-check):
7392 * play/tetris.el (tetris-default-update-speed-function):
7393 Mark unused parameters.
7394
7395 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7396 (bubbles--shift): Remove unused variable `char-org'.
7397 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7398 (bubbles--show-images): Remove unused variable `char'.
7399
7400 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7401 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7402 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7403 (decipher-analyze-buffer): Use ?\s.
7404 (decipher-make-checkpoint): Remove unused variable `mapping'.
7405
7406 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7407
7408 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7409 Remove unused variable `result'; use `let'.
7410
7411 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7412 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7413 (gametree-children-shown-p, gametree-compute-reduced-score):
7414 Use `ignore-errors'.
7415
7416 * play/handwrite.el (ps-lpr-switches): Declare.
7417 (handwrite): Remove unused variables `pmin' and `lastp'.
7418
7419 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7420
7421 * play/landmark.el (landmark-init-display)
7422 (landmark-update-naught-weights): Mark unused parameters.
7423 (landmark-y): Remove unused variable `noise'. Simplify.
7424 (landmark-human-plays): Remove unused variable `score'.
7425
7426 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7427 (mpuz-try-proposal): Remove unused variable `game'.
7428
7429 * play/zone.el (life-patterns): Declare.
7430
80f499c7
JB
74312011-04-20 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * vc/vc.el (ediff-vc-internal): Declare function.
7434
024ff170
SM
74352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7436
c0a193ea
SM
7437 * shell.el: Use lexical-binding and std completion UI.
7438 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7439 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7440 comint-preoutput-filter-functions rather than on
7441 comint-output-filter-functions.
7442 (shell-command-completion, shell--command-completion-data)
7443 (shell-filename-completion, shell-environment-variable-completion)
7444 (shell-c-a-p-replace-by-expanded-directory): New functions.
7445 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7446 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7447 (shell-dynamic-complete-environment-variable): Use them.
7448 (shell-dynamic-complete-as-environment-variable)
7449 (shell-dynamic-complete-as-command): Remove.
7450 (shell-match-partial-variable): Match past point.
7451 * comint.el: Clean up use of completion-at-point-functions.
7452 (comint-completion-at-point): New function.
7453 (comint-mode): Use it completion-at-point-functions.
7454 (comint-dynamic-complete): Make it obsolete.
7455 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7456 (comint-c-a-p-replace-by-expanded-history): New function.
7457 (comint-dynamic-complete-functions)
7458 (comint-replace-by-expanded-history): Use it.
7459 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7460 termination strings. Try harder to avoid second try-completion.
7461 (completion-in-region-mode-map): Disable bindings that don't work yet.
7462
2dbaa080
SM
7463 * comint.el: Use lexical-binding. Require CL.
7464 (comint-dynamic-complete-functions): Use comint-filename-completion.
7465 (comint-completion-addsuffix): Tweak custom type.
7466 (comint-filename-completion, comint--common-suffix)
7467 (comint--common-quoted-suffix, comint--table-subvert)
7468 (comint--complete-file-name-data): New functions.
7469 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7470 (comint-dynamic-list-filename-completions): Use them.
7471 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7472
2dbaa080
SM
7473 * minibuffer.el (completion-in-region-mode):
7474 Keep completion-in-region-mode--predicate global.
7475 (completion-in-region--postch):
7476 Assume completion-in-region-mode--predicate is not null.
7477
c79a6f38
SM
7478 * progmodes/flymake.el (flymake-start-syntax-check-process):
7479 Obey `dir'. Simplify.
7480
024ff170
SM
7481 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7482 we're in VC after all.
7483
1c6c854e
CS
74842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7485
7486 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7487 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7488 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7489
bed7f140
SM
74902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7491
332e62ab
SM
7492 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7493 add sanity check.
7494
bed7f140
SM
7495 * obsolete/erc-hecomplete.el: Make obsolete.
7496 * obsolete/: Standardize obsolescence info in the header.
7497
f195c582
GM
74982011-04-20 Glenn Morris <rgm@gnu.org>
7499
7500 * calendar/solar.el (solar-horizontal-coordinates):
7501 Use the longitude argument rather than `calendar-longitude'.
7502 (solar-date-next-longitude): Remove unused locals.
7503
cb79b8c0
VJL
75042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7505
7506 * whitespace.el: New version 13.2.1.
7507
75082011-04-20 felix <EmacsWiki> (tiny change)
7509
d8e4b68b 7510 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7511 switching between major modes on a file.
7512
602ea69d
SM
75132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7516 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7517 multi-line comments as well.
7518
06b60517
JB
75192011-04-19 Juanma Barranquero <lekktu@gmail.com>
7520
7521 Lexical-binding cleanup.
7522
7523 * arc-mode.el (archive-mode-revert):
7524 * cmuscheme.el (scheme-interactively-start-process):
7525 * custom.el (custom-initialize-delay):
7526 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7527 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7528 * emacs-lock.el (emacs-lock-clear-sentinel):
7529 * ezimage.el (defezimage):
7530 * follow.el (follow-avoid-tail-recenter):
7531 * fringe.el (set-fringe-mode-1):
7532 * generic-x.el (bat-generic-mode-compile):
7533 * help-mode.el (help-info-variable, help-do-xref)
7534 (help-mode-revert-buffer):
7535 * help.el (view-emacs-todo):
7536 * iswitchb.el (iswitchb-completion-help):
7537 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7538 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7539 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7540 * locate.el (locate-update):
7541 * longlines.el (longlines-encode-region)
7542 (longlines-after-change-function):
7543 * outline.el (outline-isearch-open-invisible):
7544 * ps-def.el (declare-function, charset-dimension, char-width)
7545 (encode-char):
7546 * ps-mule.el (ps-mule-plot-string):
7547 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7548 (recentf-edit-list-select, recentf-edit-list-validate)
7549 (recentf-open-files-action):
7550 * rect.el (delete-whitespace-rectangle-line)
7551 (rectangle-number-line-callback):
7552 * register.el (window-configuration-to-register)
7553 (frame-configuration-to-register):
7554 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7555 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7556 (xselect-convert-to-targets, xselect-convert-to-delete)
7557 (xselect-convert-to-filename, xselect-convert-to-charpos)
7558 (xselect-convert-to-lineno, xselect-convert-to-colno)
7559 (xselect-convert-to-os, xselect-convert-to-host)
7560 (xselect-convert-to-user, xselect-convert-to-class)
7561 (xselect-convert-to-name, xselect-convert-to-integer)
7562 (xselect-convert-to-atom, xselect-convert-to-identity):
7563 * subr.el (declare, ignore, process-kill-without-query)
7564 (text-clone-maintain):
7565 * terminal.el (te-get-char, te-tic-sentinel):
7566 * tool-bar.el (tool-bar-make-keymap):
7567 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7568 * type-break.el (type-break-mode, type-break-noninteractive-query):
7569 * view.el (View-back-to-mark):
7570 * wid-browse.el (widget-browse-action, widget-browse-widget)
7571 (widget-browse-widgets, widget-browse-sexp):
7572 * widget.el (define-widget-keywords):
7573 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7574 Mark unused parameters.
7575
7576 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7577 (align-areas): Remove unused variable `look'.
7578 (align-region): Remove unused variables `real-end' and `pos-list'.
7579
7580 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7581
7582 * bindings.el (mode-line-modified, mode-line-remote):
7583 Mark unused parameters.
7584 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7585
7586 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7587 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7588
7589 * comint.el (comint-history-isearch-pop-state)
7590 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7591 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7592 (comint-substitute-in-file-name): Doc fix.
7593
7594 * completion.el (cmpl-statistics-block): Mark unused parameter.
7595 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7596 (save-completions-to-file, load-completions-from-file):
7597 Remove unused local variable `e'.
7598
7599 * composite.el (compose-chars): Remove unused variable `len'.
7600 (lgstring-insert-glyph): Remove unused variable `g'.
7601 (compose-glyph-string): Remove unused variables `ascent',
7602 `descent', `lbearing' and `rbearing'.
7603 (compose-glyph-string-relative): Remove unused variables
7604 `lbearing', `rbearing' and `wadjust'.
7605 (compose-gstring-for-graphic): Remove unused variables `header',
7606 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7607 (compose-gstring-for-terminal): Remove unused variables `header'
7608 and `nchars'. Use `let', not `let*'.
7609
7610 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7611 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7612 (Custom-buffer-done, custom-buffer-create-internal)
7613 (custom-browse-visibility-action, custom-browse-group-tag-action)
7614 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7615 (widget-magic-mouse-down-action, custom-toggle-parent)
7616 (custom-add-parent-links, custom-toggle-hide-variable)
7617 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7618 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7619 (custom-face-menu-create, custom-variable-menu-create, get)
7620 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7621 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7622 (customize-apropos): Remove unused variable `tests'.
7623 (custom-group-value-create): Remove unused variable `hidden-p'.
7624 (sort-fold-case): Declare.
7625
7626 * cus-theme.el (custom-reset-standard-faces-list)
7627 (custom-reset-standard-variables-list): Declare.
7628 (customize-create-theme, custom-theme-revert, custom-theme-write)
7629 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7630 Mark unused parameters.
7631
7632 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7633
7634 * delim-col.el (delimit-columns-max): Move defvar before first use.
7635
7636 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7637 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7638
7639 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7640 (auto-insert): Declare.
7641 (desktop-restore-file-buffer): Rename desktop-* parameters;
7642 mark unused ones.
7643 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7644 (desktop-buffer): Rename desktop-* parameters.
7645
7646 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7647 (dframe-reposition-frame-xemacs, dframe-help-echo)
7648 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7649 Mark unused parameters.
7650
7651 * dired-aux.el (backup-extract-version-start, overwrite-query)
7652 (overwrite-backup-query, rename-regexp-query)
7653 (rename-non-directory-query): Declare.
7654 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7655 (dired-add-entry): Remove unused variable `orig-file-name'.
7656 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7657 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7658 `dired-copy-preserve-time' directly.
7659 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7660 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7661
7662 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7663 (dired-virtual-revert, dired-make-relative-symlink):
7664 Mark unused parameters.
7665 (manual-program): Declare.
7666 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7667 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7668 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7669
7670 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7671
7672 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7673
7674 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7675 Declare.
7676
7677 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7678
7679 * electric.el (Electric-command-loop): Rename parameter
7680 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7681
7682 * expand.el (expand-in-literal): Remove unused variable `here'.
7683
7684 * facemenu.el (facemenu-add-new-color):
7685 Remove unused variable `docstring'.
7686
7687 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7688 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7689 (face-attr-construct): Mark unused parameter. Doc fix.
7690 (read-color): Remove unused variable `hex-string'.
7691
7692 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7693 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7694 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7695 (display-buffer-other-frame): Remove unused variable `old-window'.
7696 (kill-buffer-hook): Declare.
7697 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7698 Mark unused parameters.
7699 (after-find-file): Pass 1 to `auto-save-mode', not t.
7700
7701 * files-x.el (auto-insert): Declare.
7702 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7703
7704 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7705 variable `buf'. Mark unused parameter.
06b60517
JB
7706 (find-lisp-insert-directory): Mark unused parameter.
7707
7708 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7709 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7710 (format-common-tail): Remove, unused.
7711 (format-deannotate-region): Remove unused variable `loc'.
7712 (format-annotate-region): Remove unused variable `p'.
7713 (format-annotate-single-property-change): Remove unused variables
7714 `default' and `tail'.
7715
7716 * forms.el (read-file-filter): Declare.
7717 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7718
7719 * frame.el (frame-creation-function-alist): Mark unused parameter.
7720 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7721
7722 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7723 Remove unused parameters.
7724 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7725 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7726
7727 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7728 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7729 (hfy-prepare-tag-map): Mark unused parameters.
7730 (htmlfontify-buffer): Use `called-interactively-p'.
7731
7732 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7733 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7734 (ibuffer-do-occur): Mark unused parameters.
7735 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7736 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7737
7738 * ibuffer.el: Don't quote `lambda'.
7739 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7740 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7741 Mark unused parameters.
7742
7743 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7744 (ido-completing-read): Mark unused parameters.
7745 (ido-copy-current-word): Mark unused parameters;
7746 remove unused variable `name'.
7747 (ido-sort-merged-list): Remove unused parameter `dirs'.
7748
7749 * ielm.el (ielm-input-sender): Mark unused parameter.
7750 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7751 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7752 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7753 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7754 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7755
7756 * image-dired.el (image-dired-display-thumbs): Remove unused
7757 variables `curr-file' and `count'.
7758 (image-dired-remove-tag): Remove unused variable `start'.
7759 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7760 variable `curr-file'
7761 (image-dired-rotate-original): Remove unused variable `temp-file'.
7762 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7763 Remove unused variable `file'.
7764 (image-dired-gallery-generate): Remove unused variable `curr'.
7765 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7766
7767 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7768
7769 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7770
7771 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7772
7773 * isearch.el (minibuffer-history-symbol): Declare.
7774 (isearch-edit-string): Remove unused variable `err'.
7775 (isearch-message-prefix, isearch-message-suffix):
7776 Mark unused parameters.
7777
7778 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7779
7780 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7781
7782 * makesum.el (double-column): Remove unused variable `cnt'.
7783
7784 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7785 (ido-ignore-item-temp-list): Declare.
7786
7787 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7788 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7789 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7790 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7791 `mouse-col-delta'.
7792
7793 * mouse-sel.el (mouse-extend-internal):
7794 Remove unused variable `orig-window-frame'.
7795
7796 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7797 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7798 Move declarations before first use.
7799 (pcomplete-opt): Mark unused parameters; doc fix.
7800
7801 * proced.el (proced-revert): Mark unused parameter.
7802 (proced-send-signal): Remove unused variable `err'.
7803
7804 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7805 Rename parameter PREFIX-ARG to ARG.
7806 (ps-basic-plot-string, ps-basic-plot-whitespace):
7807 Mark unused parameters.
7808
7809 * replace.el (replace-count): Define.
7810 (occur-revert-function): Mark unused parameters.
7811 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7812 (isearch-case-fold-search, isearch-string): Declare.
7813 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7814 bind `case-fold-search'. Remove unused variables `beg' and `end',
7815 and simplify.
7816 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7817 COUNT and bind `replace-count'.
7818 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7819 to COUNT.
7820
7821 * savehist.el (print-readably, print-string-length): Declare.
7822
7823 * shadowfile.el (shadow-expand-cluster-in-file-name):
7824 Remove unused variable `cluster'.
7825 (shadow-copy-file): Remove unused variable `i'.
7826 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7827 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7828 (shadow-define-literal-group, shadow-define-regexp-group)
7829 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7830
7831 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7832 (shell): Use `called-interactively-p'.
7833 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7834
7835 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7836 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7837 (delete-backward-char): Remove unused variable `ocol'.
7838 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7839 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7840 (event-apply-hyper-modifier, event-apply-shift-modifier)
7841 (event-apply-control-modifier, event-apply-meta-modifier):
7842 Mark unused parameters.
7843 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7844 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7845
7846 * speedbar.el (speedbar-ignored-directory-expressions)
7847 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7848 (speedbar-find-file, speedbar-dir-follow)
7849 (speedbar-directory-buttons-follow, speedbar-tag-find)
7850 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7851 (speedbar-buffers-line-directory, speedbar-buffer-click):
7852 Mark unused parameters.
7853 (speedbar-tag-file): Remove unused variable `mode'.
7854 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7855
7856 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7857
7858 * talk.el (talk): Remove unused variable `display'.
7859
7860 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7861 (tar-write-region-annotate): Mark unused parameter.
7862
7863 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7864 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7865 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7866 warning by another.
7867
7868 * time-stamp.el (time-stamp-string-preprocess):
7869 Remove unused variable `require-padding'.
7870
7871 * tree-widget.el (widget-glyph-enable): Declare.
7872 (tree-widget-action): Mark unused parameter.
7873
7874 * w32-fns.el (x-get-selection): Mark unused parameter.
7875 (autoload-make-program, generated-autoload-file): Declare.
7876
7877 * wdired.el (wdired-revert): Mark unused parameters.
7878 (wdired-xcase-word): Remove unused variable `err'.
7879
7880 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7881 (whitespace-help-scroll): Remove unused variable `data-help'.
7882
7883 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7884 (widget-image-insert, widget-after-change, default)
7885 (widget-default-format-handler, widget-default-notify)
7886 (widget-default-prompt-value, widget-info-link-action)
7887 (widget-url-link-action, widget-function-link-action)
7888 (widget-variable-link-action, widget-file-link-action)
7889 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7890 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7891 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7892 (widget-insert-button-action, widget-delete-button-action, visibility)
7893 (widget-documentation-link-action, widget-documentation-string-action)
7894 (widget-const-prompt-value, widget-regexp-match, symbol)
7895 (widget-coding-system-prompt-value)
7896 (widget-key-sequence-value-to-external, sexp)
7897 (widget-sexp-value-to-internal, character, vector, cons)
7898 (widget-choice-prompt-value, widget-boolean-prompt-value)
7899 (widget-color--choose-action): Mark unused parameters.
7900 (widget-item-match-inline, widget-choice-match-inline)
7901 (widget-checklist-match, widget-checklist-match-inline)
7902 (widget-group-match): Rename parameter VALUES to VALS.
7903 (widget-field-value-set): Remove unused variable `size'.
7904 (widget-color-action): Remove unused variables `value' and `start'.
7905
7906 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7907 variable `dir'. Doc fix.
06b60517
JB
7908 (windmove-find-other-window): Don't pass it.
7909
7910 * window.el (count-windows): Mark unused parameter.
7911 (bw-adjust-window): Remove unused variable `err'.
7912
7913 * woman.el (woman-file-name): Remove unused variable `default'.
7914 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7915 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7916 (global-font-lock-mode): Declare.
7917 (woman-decode-region): Mark unused parameter.
7918 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7919
7920 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7921 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7922 (x-dnd-handle-moz-url): Remove unused variable `title'.
7923 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7924
7925 * xml.el (xml-parse-tag, xml-parse-attlist):
7926 Remove unused variable `pos'.
7927
bc4f7f3d
GM
79282011-04-19 Glenn Morris <rgm@gnu.org>
7929
7930 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7931 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7932 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7933 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7934 * calendar/cal-html.el (cal-html-insert-minical):
7935 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7936 (calendar-mark-date-pattern):
7937 Prefix "unused" locals.
7938
7939 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7940 optional argument `style'.
7941
7942 * calendar/appt.el (appt-make-list):
7943 * calendar/cal-china.el (calendar-chinese-date-string):
7944 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7945 (diary-hebrew-yahrzeit):
7946 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7947 * calendar/calendar.el (calendar-generate-window):
7948 * calendar/time-date.el (time-to-days):
7949 Remove unused local variables.
7950
16a43933
CY
79512011-04-18 Chong Yidong <cyd@stupidchicken.com>
7952
7953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7954 glyphless-char-display table.
7955 (tabulated-list-glyphless-char-display): New var.
7956
7eed1860
SS
79572011-04-18 Sam Steingold <sds@gnu.org>
7958
7959 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7960 to acknowledgments.
7961
4d2d1ccd
GM
79622011-04-17 Glenn Morris <rgm@gnu.org>
7963
7964 * calendar/diary-lib.el (diary-sexp-entry):
7965 * calendar/holidays.el (holiday-sexp):
7966 Set debug-on-error rather than the removed stack-trace-on-error.
7967
239da61d
GM
79682011-04-16 Glenn Morris <rgm@gnu.org>
7969
7970 * progmodes/f90.el: Use lexical-binding.
7971 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7972
8b05752a
SM
79732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7974
daca8ba5
SM
7975 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7976 (mail-mode): Setup mailalias completion here instead.
7977 * mail/mailalias.el: Use lexical-binding.
7978 (pattern, mailalias-done): Declare dynamic.
7979 (mail-completion-at-point-function): New function, from mail-complete.
7980 (mail-complete): Use it.
7981 (mail-completion-expand): New function.
7982 (mail-get-names): Use it.
7983 (mail-directory, mail-directory-process, mail-directory-stream):
7984 Don't use `pattern' for lexically bound arg.
7985
6f542485
SM
7986 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7987
037e7c3f
SM
7988 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7989 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7990 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7991
8b05752a
SM
7992 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7993 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7994 (byte-interactive-p): Define them again, for use when inlining
7995 old code.
7996
49093f60
JB
79972011-04-15 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * loadup.el: Use `string-to-number', not `string-to-int'.
8000
b5b8e7de
SM
80012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8004 gud-gdb-complete-command.
8005 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8006 (gud-gdb-completion-at-point): New function.
8007 (gud-gdb-completions): Remove.
8008
f42efeb5
MA
80092011-04-14 Michael Albinus <michael.albinus@gmx.de>
8010
49093f60
JB
8011 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8012 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8013 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8014 whether `executable-find' is bound.
f42efeb5
MA
8015
8016 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8017
e240cc21
SM
80182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * minibuffer.el (completion-in-region-mode-predicate)
8021 (completion-in-region-mode--predicate): New vars.
8022 (completion-in-region, completion-in-region--postch)
8023 (completion-in-region-mode): Use them.
8024 (completion--capf-wrapper): Also return the hook function.
8025 (completion-at-point, completion-help-at-point):
8026 Adjust and provide a predicate.
c2bd2ab0
SM
8027
8028 Preserve arg names for advice of subr and lexical functions (bug#8457).
8029 * help-fns.el (help-function-arglist): Consolidate the subr and
8030 new-byte-code cases. Add argument `preserve-names' to extract names
8031 from the docstring when needed.
8032 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8033 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8034 (ad-arglist): Use help-function-arglist's new arg.
8035 (ad-definition-type): Use cond.
8036
c183f693
JB
80372011-04-13 Juanma Barranquero <lekktu@gmail.com>
8038
06641a47
JB
8039 * autorevert.el (auto-revert-handler):
8040 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8041 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8042 Don't quote lambda.
8043
c183f693
JB
8044 * image-mode.el (image-transform-set-scale):
8045 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8046
1e3b6001
G
80472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8048
8049 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8050 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8051 Upgrades via gnutls-cli are too slow to be done opportunistically.
8052
2d6af8dd
JB
80532011-04-12 Juanma Barranquero <lekktu@gmail.com>
8054
8055 * dframe.el (dframe-current-frame): Remove spurious quote.
8056
c0749a51
GM
80572011-04-12 Glenn Morris <rgm@gnu.org>
8058
088d0d61
GM
8059 * calendar/cal-tex.el (cal-tex-end-document):
8060 Try to automatically use latin1 input if needed.
8061
c0749a51
GM
8062 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8063 Don't try to cons a mark onto an empty element.
8064
5c90fde0
LL
80652011-04-11 Leo Liu <sdl.web@gmail.com>
8066
8067 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8068 buffers.
8069 (ido-kill-buffer-at-head): Support killing virtual buffers.
8070
369e974d
CY
80712011-04-10 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * minibuffer.el (completion-show-inline-help): New var.
8074 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8075 (minibuffer-force-complete, minibuffer-complete-word):
8076 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8077
8078 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8079 to avoid interference from inline help (Bug#5849).
8080
37f1c930
LL
80812011-04-10 Leo Liu <sdl.web@gmail.com>
8082
099c39a4
JB
8083 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8084 Fix typo.
37f1c930 8085
a32d4040
CY
80862011-04-09 Chong Yidong <cyd@stupidchicken.com>
8087
8088 * image-mode.el (image-toggle-display-image): Signal an error if
8089 not in Image mode.
8090 (image-transform-mode, image-transform-resize)
8091 (image-transform-set-rotation): Doc fix.
daca8ba5 8092 (image-transform-set-resize): Delete.
a32d4040
CY
8093 (image-transform-set-scale, image-transform-fit-to-height)
8094 (image-transform-fit-to-width): Handle image-toggle-display-image
8095 and image-transform-resize directly.
8096
099c39a4 80972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8098
8099 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8100 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8101 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8102 (doc-view-mode-map): Add bindings for the new functions.
8103
099c39a4 81042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8105
4d61f28d 8106 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8107 Fix typo in docstring.
8108
3726838a
EZ
81092011-04-08 Eli Zaretskii <eliz@gnu.org>
8110
04f33f1e
EZ
8111 * files.el (file-size-human-readable): Produce one digit after
8112 decimal, like "ls -lh" does.
8113
8114 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8115 the file size representation.
8116
3726838a
EZ
8117 * simple.el (list-processes): If async subprocesses are not
8118 available, error out with a clear error message.
8119
cbb59342
CY
81202011-04-08 Chong Yidong <cyd@stupidchicken.com>
8121
8122 * help.el (help-form-show): New function, to be called from C.
8123 Put help-form output in a buffer named differently than *Help*.
8124
e3971c44
EZ
81252011-04-08 Eli Zaretskii <eliz@gnu.org>
8126
8127 * files.el (file-size-human-readable): New function.
8128
8129 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8130 computing the representation inline. Don't require `cl'.
8131
12544bbe
GM
81322011-04-08 Glenn Morris <rgm@gnu.org>
8133
a1de6c6a
GM
8134 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8135
3c4671f4
GM
8136 * net/browse-url.el (browse-url-firefox):
8137 Test system-type, not system-configuration.
8138
b605679c
GM
8139 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8140 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8141 Use log-edit-empty-buffer-p. (Bug#7598)
8142
56442f0c
GM
8143 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8144 (rlogin-mode-map): Initialize in the defvar.
8145 (rlogin): Use ignore-errors.
8146
12544bbe
GM
8147 * replace.el (occur-mode-map): Some fixes for menu items.
8148
eb237b0f
AH
81492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8150
8151 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8152
7d668f2c
CY
81532011-04-06 Chong Yidong <cyd@stupidchicken.com>
8154
e67a13ab
CY
8155 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8156 issuing unused warnings.
8157
8158 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8159 macro directly.
8160
7d668f2c
CY
8161 * simple.el: Lisp reimplement of list-processes. Based on an
8162 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8163 (process-menu-mode): New major mode.
8164 (list-processes--refresh, list-processes):
8165 (process-menu-visit-buffer): New functions.
8166
8167 * files.el (save-buffers-kill-emacs): Don't assume any return
8168 value of list-processes, which is undocumented anyway.
8169
a83ec3c9
CY
81702011-04-06 Chong Yidong <cyd@stupidchicken.com>
8171
8172 * emacs-lisp/tabulated-list.el: New file.
8173
e91a96fe
CY
8174 * emacs-lisp/package.el: Use Tabulated List mode.
8175 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8176 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8177 table format using Tabulated List mode variables.
8178 (package--push): New macro, replacing package-list-maybe-add.
8179 (package-menu--generate): Use package--push. Renamed from
8180 package--generate-package-list.
8181 (package-menu-refresh, list-packages): Use it.
daca8ba5 8182 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8183 Return insertion data instead of inserting it directly.
099c39a4
JB
8184 (package-menu-describe-package, package-menu-execute):
8185 Use tabulated-list-get-id.
e91a96fe
CY
8186 (package-menu-mark-delete, package-menu-mark-install)
8187 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8188 (package-menu-mark-obsolete-for-deletion):
8189 Use tabulated-list-put-tag.
e91a96fe
CY
8190 (package--list-packages, package-menu-revert)
8191 (package-menu-get-package, package-menu-get-version)
8192 (package-menu-sort-by-column): Functions deleted.
8193 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8194 (package-menu--status-predicate, package-menu--version-predicate)
8195 (package-menu--name-predicate)
8196 (package-menu--description-predicate): Handle arguments in the
8197 Tabulated List format.
8198 (package-list-packages-no-fetch): Call list-packages.
8199
3e214b50
JB
82002011-04-06 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8203 (after-find-file): Don't bind it.
3e214b50
JB
8204 (revert-buffer-in-progress-p): New variable.
8205 (revert-buffer): Bind it.
8206 Pass nil for `after-find-file-from-revert-buffer'.
8207
8208 * saveplace.el (save-place-find-file-hook): Use new variable
8209 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8210
3f0f1700
GM
82112011-04-06 Glenn Morris <rgm@gnu.org>
8212
c0274801
GM
8213 * Makefile.in (AUTOGEN_VCS): New variable.
8214 (autoloads): Use $AUTOGEN_VCS.
8215
3f0f1700
GM
8216 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8217 * calendar/calendar.el (calendar-mode-map):
8218 Check for toolkit scroll bars. (Bug#8305)
8219
41ea9e48
CY
82202011-04-05 Chong Yidong <cyd@stupidchicken.com>
8221
8222 * minibuffer.el (completion-in-region--postch)
8223 (completion-in-region-mode): Remove unnecessary messages.
8224
6194c800
JB
82252011-04-05 Juanma Barranquero <lekktu@gmail.com>
8226
33256f14
JB
8227 * font-lock.el (font-lock-refresh-defaults):
8228 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8229 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8230
6194c800
JB
8231 * info.el (Info-directory-list, Info-read-node-name-2)
8232 (Info-split-parameter-string): Doc fixes.
8233 (Info-virtual-nodes): Reflow docstring.
8234 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8235 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8236 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8237 Fix typos in docstrings.
8238 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8239 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8240 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8241 (Info-restore-desktop-buffer): Mark unused parameters.
8242 (Info-directory-find-file, Info-directory-find-node)
8243 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8244 (Info-virtual-index-find-node, Info-apropos-find-file)
8245 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8246 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8247 (Info-virtual-index): Remove unused local variable `nodename'.
8248
b87a8200 82492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8250
b87a8200
DD
8251 * net/rcirc.el: Update my e-mail address.
8252 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8253
3b2ff876
CY
82542011-04-05 Chong Yidong <cyd@stupidchicken.com>
8255
8256 * startup.el (command-line): Save the cursor's theme-face
8257 directly, instead of using face-override-spec.
8258
8259 * custom.el (load-theme): Minor optimization in assigning faces.
8260
8d17e7ca
JB
82612011-04-04 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * help-fns.el (describe-variable): Complete all variables having
8264 documentation, including keywords.
8265 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8266
2fbc1934
JB
82672011-04-04 Juanma Barranquero <lekktu@gmail.com>
8268
8269 Convert to lexical-binding.
8270
8271 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8272 (bs--get-marked-string, bs--get-modified-string)
8273 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8274 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8275 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8276
8277 * ehelp.el (electric-help-execute-extended)
8278 (electric-help-ctrl-x-prefix):
8279 * hexl.el (hexl-revert-buffer-function):
8280 * linum.el (linum-after-change, linum-after-scroll):
8281 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8282
8283 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8284
74f50695
DU
82852011-04-04 Daiki Ueno <ueno@unixuser.org>
8286
8287 * epa-dired.el:
8288 * epa-mail.el:
8289 * epa-hook.el:
8290 * epa-file.el:
8291 * epa.el:
8292 * epg.el: Use lexical binding.
8293
c11325f7
CY
82942011-04-03 Chong Yidong <cyd@stupidchicken.com>
8295
0d9e9a12
CY
8296 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8297
c11325f7 8298 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8299 dictionary case for flyspell-mark-duplications-exceptions.
8300 Use regexp matching for languages.
c11325f7
CY
8301 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8302 default dictionary (Bug#7926).
8303
da91b5f2
CY
83042011-04-02 Chong Yidong <cyd@stupidchicken.com>
8305
099c39a4
JB
8306 * emacs-lisp/package.el (package--with-work-buffer):
8307 Recognize https URLs.
da91b5f2 8308
099c39a4
JB
8309 * net/network-stream.el: Move from gnus/proto-stream.el.
8310 Change prefix to network-stream throughout.
da91b5f2
CY
8311 (open-protocol-stream): Merge into open-network-stream, leaving
8312 open-protocol-stream as an alias. Handle nil BUFFER args.
8313
8314 * subr.el (open-network-stream): Move to net/network-stream.el.
8315
afa8e9f6
GM
83162011-04-02 Glenn Morris <rgm@gnu.org>
8317
1d2e369d
GM
8318 * find-dired.el (find-exec-terminator): New option.
8319 (find-ls-option): Test for -ls support.
8320 (find-ls-subdir-switches): Test for -b in find-ls-option.
8321 (find-dired, find-grep-dired): Doc fixes.
8322 (find-dired): Use find-exec-terminator.
8323
8abb7da8 8324 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8325 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8326 (find-name-arg): Remove purecopy.
8abb7da8 8327
f3ca7378
GM
8328 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8329 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8330 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8331 accordingly. Don't add the null-device if not needed.
8332
afa8e9f6
GM
8333 * files.el (save-some-buffers): Doc fix.
8334
35eae264
EZ
83352011-04-02 Eli Zaretskii <eliz@gnu.org>
8336
8337 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8338
26b51db5
JB
83392011-04-01 Juanma Barranquero <lekktu@gmail.com>
8340
8341 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8342 Use `dolist' rather than `mapcar'.
8343
7200d79c
SM
83442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8345
03408648 8346 Add lexical binding.
7200d79c 8347
03408648
SM
8348 * subr.el (apply-partially): Use new closures rather than CL.
8349 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8350 (dolist, dotimes): Use slightly different expansion for lexical code.
8351 (functionp): Move to C.
8352 (letrec): New macro.
8353 (with-wrapper-hook): Use it and apply-partially instead of CL.
8354 (eval-after-load): Preserve lexical-binding.
8355 (save-window-excursion, with-output-to-temp-buffer): Turn them
8356 into macros.
7200d79c 8357
03408648
SM
8358 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8359
8360 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8361 than the arglist.
8362 (help-add-fundoc-usage): Don't add `Not documented'.
8363 (help-function-arglist): Handle closures, subroutines, and new
8364 byte-code-functions.
8365 (help-make-usage): Remove leading underscores.
8366 (describe-function-1): Handle closures.
8367 (describe-variable): Use special-variable-p for completion.
8368
8369 * files.el (lexical-binding): Declare safe.
f488fb65 8370
03408648
SM
8371 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8372 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8373 (pcase): Add `let' pattern.
8374 Change memoization so it actually works.
8375 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8376 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8377 <let>: New case.
f488fb65 8378
03408648
SM
8379 * emacs-lisp/macroexp.el: Use lexical binding.
8380 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8381 Don't convert ' to #' without checking that it's indeed quoting
8382 a lambda.
8383
8384 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8385 Use eval-sexp-add-defvars.
03408648
SM
8386 (eval-sexp-add-defvars): New fun.
8387
8388 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8389
8390 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8391 Don't autoload.
8392 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8393 than the internal `byte-compile-lambda'.
8394 (defmethod): Don't hide code under quotes.
8395 (eieio-defmethod): New `code' argument.
8396
8397 * emacs-lisp/eieio-comp.el: Remove.
8398
8399 * emacs-lisp/edebug.el (edebug-eval-defun)
8400 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8401 (edebug-toggle): Avoid `eval'.
8402
8403 * emacs-lisp/disass.el (disassemble-internal): Handle new
8404 `closure' objects.
8405 (disassemble-1): Handle new byte codes.
8406
8407 * emacs-lisp/cl.el (pushnew): Silence warning.
8408
8409 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8410 (cl-byte-compile-throw): Remove.
8411 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8412
8413 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8414 closures.
8415
8416 * emacs-lisp/cconv.el: New file.
8417
8418 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8419 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8420 (byte-compile-initial-macro-environment):
8421 Handle declare-function here.
8422 (byte-compile--lexical-environment): New var.
8423 (byte-stack-ref, byte-stack-set, byte-discardN)
8424 (byte-discardN-preserve-tos): New lap codes.
8425 (byte-interactive-p): Don't use any more.
8426 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8427 New macros.
8428 (byte-compile-lapcode): Use them and handle new lap codes.
8429 (byte-compile-obsolete): Remove.
8430 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8431 (byte-compile-arglist-warn): Check late def of inlinable funs.
8432 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8433 since they should have been expanded by now.
8434 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8435 (byte-compile-from-buffer): Remove unused second arg.
8436 (byte-compile-preprocess): New function.
8437 (byte-compile-toplevel-file-form): New function to distinguish
8438 file-form calls from outside from file-form calls from hunk-handlers.
8439 (byte-compile-file-form): Simplify.
8440 (byte-compile-file-form-defsubst): Remove.
8441 (byte-compile-file-form-defmumble): Simplify now that
8442 byte-compile-lambda always returns a byte-code-function.
8443 (byte-compile): Preprocess.
8444 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8445 Remove, not used any more.
8446 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8447 (byte-compile-make-args-desc): New funs.
8448 (byte-compile-lambda): Handle lexical functions. Always return
8449 a byte-code-function.
8450 (byte-compile-reserved-constants): New var, to make up room for
8451 closed-over variables.
8452 (byte-compile-constants-vector): Obey it.
8453 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8454 (byte-compile-macroexpand-declare-function): New function.
8455 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8456 byte-code-functions.
8457 (byte-compile-form): Check obsolescence here.
8458 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8459 (byte-compile-variable-ref): Remove.
8460 (byte-compile-dynamic-variable-op): New fun.
8461 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8462 (byte-compile-variable-set): New funs.
8463 (byte-compile-discard): Add 2 args.
8464 (byte-compile-stack-ref, byte-compile-stack-set)
8465 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8466 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8467 macroexpand-all instead.
8468 (byte-compile-quote-form): Remove.
8469 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8470 (byte-compile-bind, byte-compile-unbind): New funs.
8471 (byte-compile-let): Handle let* and lexical binding.
8472 (byte-compile-let*): Remove.
8473 (byte-compile-catch, byte-compile-unwind-protect)
8474 (byte-compile-track-mouse, byte-compile-condition-case):
8475 Handle a new :fun-body form, used for lexical scoping.
8476 (byte-compile-save-window-excursion)
8477 (byte-compile-with-output-to-temp-buffer): Remove.
8478 (byte-compile-defun): Simplify.
8479 (byte-compile-stack-adjustment): New fun.
8480 (byte-compile-out): Use it.
8481 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8482
8483 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8484 handler any more.
8485
8486 * emacs-lisp/byte-opt.el: Use lexical binding.
8487 (byte-inline-lapcode): Remove (to bytecomp).
8488 (byte-compile-inline-expand): Pay attention to inlining to/from
8489 lexically bound code.
8490 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8491 any more.
8492 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8493 any more and don't call compiler-macros.
8494 (byte-compile-splice-in-already-compiled-code): Remove.
8495 (byte-code): Don't inline any more.
8496 (disassemble-offset): Receive `bytes' as argument rather than via
8497 dynamic scoping.
8498 (byte-compile-tag-number): Declare before first use.
8499 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8500 `return' even if make-spliceable.
8501 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8502 obsolete interactive-p.
8503 (byte-optimize-lapcode): Optimize new lap-codes.
8504 Don't trip up on new form of `byte-constant' lap code.
8505
8506 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8507
8508 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8509
8510 * custom.el (custom-initialize-default, custom-declare-variable):
8511 Use `defvar'.
8512
8513 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8514 New variables.
8515 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8516 (COMPILE_FIRST): Add macroexp and cconv.
8517 * makefile.w32-in: Mirror changes in Makefile.in.
8518
8519 * vc/cvs-status.el:
8520 * vc/diff-mode.el:
8521 * vc/log-edit.el:
8522 * vc/log-view.el:
8523 * vc/smerge-mode.el:
8524 * textmodes/bibtex-style.el:
8525 * textmodes/css.el:
8526 * startup.el:
8527 * uniquify.el:
da91b5f2
CY
8528 * minibuffer.el:
8529 * newcomment.el:
8530 * reveal.el:
8531 * server.el:
8532 * mpc.el:
8533 * emacs-lisp/smie.el:
8534 * doc-view.el:
8535 * dired.el:
03408648
SM
8536 * abbrev.el: Use lexical binding.
8537
0f0c1f27
EZ
85382011-04-01 Eli Zaretskii <eliz@gnu.org>
8539
8540 * info.el (info-display-manual): New function.
8541
c82b2579
SM
85422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8545
221ddf68
TH
85462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8547
8548 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8549 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8550
cba6e77e
GM
85512011-03-31 Glenn Morris <rgm@gnu.org>
8552
e040639f
GM
8553 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8554
cba6e77e
GM
8555 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8556
6d0f1c9e
CS
85572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8558
8559 * progmodes/python.el (python-default-interpreter)
8560 (python-python-command-args, python-jython-command-args)
8561 (python-which-shell, python-which-args, python-which-bufname)
8562 (python-file-queue, python-comint-output-filter-function)
8563 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8564 variables and functions.
8565
3e2d70fd
SM
85662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8569 (completion-in-region-mode): New minor mode.
8570 (completion-in-region): Use it.
8571 (completion-in-region--data, completion-in-region-mode-map): New vars.
8572 (completion-in-region--postch): New function.
8573 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8574 New vars.
8575 (completion--capf-wrapper): New function.
8576 (completion-at-point): Use it to track well-behavedness of
8577 hook functions.
8578 (completion-help-at-point): New command.
8579
f3e4086c
JM
85802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8581
8582 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8583 syntax class to search for whitespace on a single line
8584 (Message-ID: <4D938140.4030905@redhat.com>).
8585
eb7ffc14
LL
85862011-03-30 Leo Liu <sdl.web@gmail.com>
8587
8588 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8589 New commands.
8590 (edit-abbrevs-map): Bind them here.
8591 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8592
d806ab68
KM
85932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8594
8595 * allout.el (allout-hide-by-annotation, allout-flag-region):
8596 Reduce possibility of overlay leakage by making them volatile.
8597
8598 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8599 hash is not shared between buffers. Mode initialization is
8600 responsible for giving it a useful starting value.
8601 (allout-item-span): Reduce possibility of overlay leakage by
8602 making them volatile.
8603 (allout-widgets-count-buttons-in-region): Add diagnostic function
8604 for tracking down button overlay leaks.
8605
ea622834
LL
86062011-03-29 Leo Liu <sdl.web@gmail.com>
8607
8608 * ido.el (ido-read-internal): Use the default history var
8609 minibuffer-history if no HISTORY is specified.
8610
b62f8267
G
86112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8612
03408648
SM
8613 * net/imap.el (imap-shell-open, imap-process-connection-type):
8614 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8615 Kerberos, SSL, other subprocesses.
8616
947b6566
LL
86172011-03-28 Leo Liu <sdl.web@gmail.com>
8618
8619 * abbrev.el (abbrev-table-empty-p): New function.
8620 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8621 nonempty ones. (Bug#5937)
8622
5ffb62aa
JD
86232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8624
8625 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8626
7a097943
LL
86272011-03-27 Leo Liu <sdl.web@gmail.com>
8628
8629 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8630 for foreground and background colors.
8631 (ansi-color-make-color-map): Adapt.
8632
c5b40130
LL
86332011-03-25 Leo Liu <sdl.web@gmail.com>
8634
1f48f7d2
LL
8635 * midnight.el (midnight-time-float): Remove. Note it calculates
8636 the microsecond component incorrectly and seconds-to-time does the
8637 same job.
625897ec 8638 Remove redundant (require 'timer).
1f48f7d2 8639
c5b40130
LL
8640 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8641 (ido-completions): Remove unused arguments. (Bug#8329)
8642
d86d2721
SM
86432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * minibuffer.el (completion--flush-all-sorted-completions):
8646 Remove itself from hook.
8647 (completion-at-point): Let the functions perform the completion
8648 immediately and return nil or t.
8649 * comint.el (comint-dynamic-complete-functions): Now identical to
8650 completion-at-point-functions.
8651 (comint-dynamic-list-input-ring): Remove unused var `index'.
8652 (comint--match-partial-filename, comint--unquote&expand-filename):
8653 New funs, split from comint-match-partial-filename.
8654 (comint-dynamic-complete): Use completion-at-point.
8655 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8656
e8974c48
DA
86572011-03-24 Drew Adams <drew.adams@oracle.com>
8658
8659 * thingatpt.el: Support `defun'.
8660
def71b5e
LL
86612011-03-23 Leo Liu <sdl.web@gmail.com>
8662
cb5af48e
LL
8663 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8664
def71b5e
LL
8665 * help-mode.el (help-mode-finish): Tweak regexp.
8666
927c53e7
GM
86672011-03-23 Glenn Morris <rgm@gnu.org>
8668
18d05bed
GM
8669 * eshell/esh-opt.el (eshell-eval-using-options):
8670 Do not bind unused local variable `eshell-option-stub'.
8671
927c53e7
GM
8672 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8673
9d0da923
JB
86742011-03-22 Juanma Barranquero <lekktu@gmail.com>
8675
8676 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8677 keymap variable in `with-no-warnings' to avoid a warning when the
8678 keymap has been already `defconst'ed.
8679
4b978a67
LL
86802011-03-22 Leo Liu <sdl.web@gmail.com>
8681
8682 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8683 encode all chars in abbrevs; otherwise use emacs-mule or
8684 utf-8-emacs. (Bug#8308)
8685
5fd62452
JB
86862011-03-22 Juanma Barranquero <lekktu@gmail.com>
8687
0b1596c6
JB
8688 * simple.el (backward-delete-char-untabify):
8689 Avoid warning about using `delete-backward-char'.
8690
5fd62452
JB
8691 * image.el (image-type-file-name-regexps): Make it variable.
8692 `imagemagick-register-types' modifies it, and the user may want
8693 to add new extensions for known image types.
8694 (imagemagick-register-types): Throw error if not using ImageMagick.
8695
0b4e93f1
LL
86962011-03-22 Leo Liu <sdl.web@gmail.com>
8697
8698 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8699 located before rcirc-prompt-end-marker.
8700 (rcirc-complete): Error if point is not after rcirc prompt.
8701 Handle the case when table is nil.
9882e214 8702 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8703
fccee4ab
CY
87042011-03-22 Chong Yidong <cyd@stupidchicken.com>
8705
8706 * custom.el (custom--inhibit-theme-enable): Make it affect only
8707 custom-theme-set-variables and custom-theme-set-faces.
8708 (provide-theme): Ignore custom--inhibit-theme-enable.
8709 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8710 (custom-enabling-themes): Delete variable.
d86d2721
SM
8711 (enable-theme): Accept only loaded themes as arguments.
8712 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8713 (custom-enabled-themes): Forbid themes from setting this.
8714 Eliminate use of custom-enabling-themes.
8715 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8716
af896da6
LL
87172011-03-21 Leo Liu <sdl.web@gmail.com>
8718
8719 * ido.el (ido-read-internal): Add ido-selected to history instead
8720 of user input.
8721
78f64af0
SM
87222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * subr.el (deferred-action-list, deferred-action-function):
8725 Mark obsolete.
8726
b16ac1ec
LL
87272011-03-21 Leo Liu <sdl.web@gmail.com>
8728
810f7698
LL
8729 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8730 change on 2011-02-13 (bug#8309).
8731
b16ac1ec
LL
8732 * minibuffer.el (read-file-name-function): Change default value.
8733 (read-file-name--defaults): Rename from read-file-name-defaults.
8734 (read-file-name-default): Rename from read-file-name.
8735 (read-file-name): Call read-file-name-function.
8736
4e05e67e
GM
87372011-03-21 Glenn Morris <rgm@gnu.org>
8738
8739 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8740 Doc fixes.
8741
4359915b
CY
87422011-03-21 Chong Yidong <cyd@stupidchicken.com>
8743
8744 * cus-theme.el: Add missing provide statement.
8745 (customize-create-theme): Extract theme value correctly.
8746 (custom-theme-visit-theme): Autoload.
8747 (customize-create-theme): Prompt before inserting default faces.
8748
1fe275ee
JB
87492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8750
8751 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8752 units and musical notes.
8753
3ec03f7e
LL
87542011-03-20 Leo <sdl.web@gmail.com>
8755
8756 * ido.el (ido-read-internal): Use completing-read-default.
8757 (ido-completing-read): Fix compatibility with completing-read.
8758
7d476bde
CO
87592011-03-20 Christian Ohler <ohler@gnu.org>
8760
8761 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8762 (ert-delete-all-tests): Use `called-interactively-p' rather than
8763 `interactive-p'.
8764 (ert--make-xrefs-region): Respect END.
8765
fe0fb33e
CY
87662011-03-19 Chong Yidong <cyd@stupidchicken.com>
8767
ff854b0b
CY
8768 * dired-aux.el (dired-create-directory): Signal an error if the
8769 directory already exists (Bug#8246).
8770
fe0fb33e
CY
8771 * facemenu.el (list-colors-display): Call list-faces-display
8772 inside with-help-window.
8773 (list-colors-print): Use display property to align the final
8774 column, instead of checking window-width.
8775
576bce32
EZ
87762011-03-19 Eli Zaretskii <eliz@gnu.org>
8777
4d61f28d 8778 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8779 windows-nt systems.
8780 (emerge-protect-metachars): Quote correctly for ms-dos and
8781 windows-nt systems.
8782
89c41d68 87832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8784
8785 * info.el (info-initialize): Replace all uses of `:' with
8786 path-separator for compatibility with non-Unix systems.
8787 Cache quoting of path-separator. (Bug#8258)
8788
b14e3e21 87892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8790
8791 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8792 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8793 (mouse-avoidance-mode): Fix typos in docstrings.
8794
4525ce3e
CY
87952011-03-19 Chong Yidong <cyd@stupidchicken.com>
8796
8797 * startup.el (package-subdirectory-regexp): Move from package.el.
8798 Omit \\` and \\', and let callers add them.
8799
8800 * emacs-lisp/package.el (package-strip-version)
8801 (package-load-all-descriptors): Add \\` and \\' to
8802 package-subdirectory-regexp before using it.
8803 (package-untar-buffer): New arg DIR; ensure that file untars only
8804 into this expected directory. Remove superfluous delete-region.
8805 (package-unpack): Caller changed.
8806 (package-tar-file-info): Use package-subdirectory-regexp.
8807
a904a09a 88082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8809
a904a09a
SM
8810 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8811 diff-mode-shared-map (bug#8284).
8812 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8813
88142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
8816 * calendar/time-date.el (format-seconds): Use assoc instead of
8817 assoc-string, since assoc-string doesn't exist in XEmacs.
8818
171fc304
JB
88192011-03-17 Juanma Barranquero <lekktu@gmail.com>
8820
8821 * custom.el (custom-known-themes): Reflow docstring.
8822 (custom-theme-load-path): Fix typo in docstring.
8823 (load-theme): Fix typo in error message.
8824 (custom-available-themes, custom-variable-theme-value):
8825 Use `let', not `let*'.
8826
d71990a1
JB
88272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8828
8829 * calc/README: Mention inclusion of musical notes.
8830
8831 * calc/calc-units.el (calc-lu-quant): Rename from
8832 `calc-logunits-quantity'.
8833 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8834 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8835 (calc-db): Rename from `calc-dblevel'.
8836 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8837 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8838 (calc-np): Rename from `calc-nplevel'.
8839 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8840 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8841 (calc-lu-plus): Rename from `calc-logunits-add'.
8842 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8843 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8844 (calc-lu-minus): Rename from `calc-logunits-sub'.
8845 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8846 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8847 (calc-lu-times): Rename from `calc-logunits-mul'.
8848 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8849 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8850 (calc-lu-divide): Rename from `calc-logunits-div'.
8851 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8852 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8853
8854 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8855 functions being autoloaded.
8856
8857 * calc/calc.el (calc-lu-power-reference): Rename from
8858 `calc-logunits-power-reference'.
8859 (calc-lu-field-reference): Rename from
8860 `calc-logunits-field-reference'.
8861
8862 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8863
40c2934b
SM
88642011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * minibuffer.el (completion-all-sorted-completions):
8867 Use :completion-cycle-penalty text property if present.
8868
b0911414
KM
88692011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8870
8871 * allout.el (allout-yank-processing): Adjust for new rebulleting
8872 regime so bullet being yanked is used without prompting the user
8873 for a choice.
8874
8a05b668
JB
88752011-03-16 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * startup.el (command-line): Warn the user that _emacs is deprecated.
8878
5ba5fb81
JB
88792011-03-16 Juanma Barranquero <lekktu@gmail.com>
8880
8881 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8882 (delphi-verbose, delphi-comment-face, delphi-string-face)
8883 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8884 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8885 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8886 (delphi-new-comment-line, delphi-font-lock-defaults)
8887 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8888 Fix typos in docstrings.
8889
2dab465b
KM
88902011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8891
5ba5fb81 8892 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8893 Invert the roles of character and string values for INSTEAD, so a
8894 string is used for the more common case of a defaulting prompt.
8895
0adf5618
SM
88962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * progmodes/ruby-mode.el (ruby-backward-sexp):
8899 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8900 * play/gamegrid.el (gamegrid-make-face):
8901 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8902 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8903 * notifications.el (notifications-notify):
8904 * net/xesam.el (xesam-search-engines):
8905 * net/quickurl.el (quickurl-list-insert):
8906 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8907
d72700e5
CY
89082011-03-15 Chong Yidong <cyd@stupidchicken.com>
8909
8910 * startup.el (command-line): Update package subdirectory regexp.
8911
49c5410a
SM
89122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8913
c6eee9aa
SM
8914 * allout.el (allout-abbreviate-flattened-numbering)
8915 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8916
49c5410a
SM
8917 * subr.el (read-char-choice): Only show the cursor after the prompt,
8918 not after the answer.
8919
047b2bb9
KR
89202011-03-15 Kevin Ryde <user42@zip.com.au>
8921
8922 * help-fns.el (variable-at-point): Skip leading quotes, if any
8923 (bug#8253).
8924
0a57d256
SM
89252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8928 warning message.
8929
77c992bc
MA
89302011-03-14 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * shell.el (shell): When called interactively, offer to change the
8933 shell file name on remote hosts.
8934
eebc475d
TZ
89352011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8936
8937 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8938 integration for LDAP parameters. The host, base, user or binddn,
8939 and secret tokens can be specified in a netrc file, for instance.
8940 This is optional because an `auth-source' parameter must be
8941 specified in the search attributes.
8942
9d05d1ba
JB
89432011-03-13 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8946
09d9db2c
GM
89472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8950 into declaration. Remove redundant and harmful binding.
8951
89522011-03-12 Eli Zaretskii <eliz@gnu.org>
8953
8954 * files.el (file-ownership-preserved-p): Pass `integer' as an
8955 explicit 2nd argument to `file-attributes'. If the file's owner
8956 is the Administrators group on Windows, and the current user is
8957 Administrator, consider that a match.
8958
8959 * server.el (server-ensure-safe-dir): Consider server directory
8960 safe on MS-Windows if its owner is the Administrators group while
8961 the current Emacs user is Administrator. Use `=' to compare
8962 numerical UIDs, since they could be integers or floats.
8963
219bd536
JB
89642011-03-12 Juanma Barranquero <lekktu@gmail.com>
8965
8966 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8967
f3afd36b
MA
89682011-03-12 Michael Albinus <michael.albinus@gmx.de>
8969
8970 Sync with Tramp 2.2.1.
8971
8972 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8973
8974 * net/trampver.el: Update release number.
8975
3aaaa6f1
SM
89762011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8977
94642599
SM
8978 * progmodes/compile.el (compilation--previous-directory): Fix up
8979 various nil/dead-marker mismatches (bug#8014).
8980 (compilation-directory-properties, compilation-error-properties):
8981 Don't call it at a position past the one we're about to change.
8982
3aaaa6f1
SM
8983 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8984 Disable obsolescence warnings in the file that declares it.
8985
14239447
KM
89862011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8987
099c39a4
JB
8988 * allout-widgets.el (allout-widgets-tally):
8989 Initialize allout-widgets-tally as a hash table rather than nil to
8990 prevent mode-line redisplay warnings. Also, clarify the module
8991 description and fix a comment typo.
14239447 8992
135e287c
JB
89932011-03-11 Juanma Barranquero <lekktu@gmail.com>
8994
8995 * help-fns.el (describe-variable): Don't complete keywords.
8996 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8997
ffbf300e
CY
89982011-03-10 Chong Yidong <cyd@stupidchicken.com>
8999
ba08b241
CY
9000 * emacs-lisp/package.el (package-version-join): Impose a standard
9001 string representation for pre/alpha/beta version lists.
9002 (package-unpack-single): Standardize the directory name by passing
9003 it through package-version-join.
9004 (package-strip-rcs-id): Accept any version string that does not
9005 signal an error in version-to-list.
ffbf300e 9006
f346fd6b
MA
90072011-03-10 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * simple.el (delete-trailing-whitespace): Return nil for the
9010 benefit of `write-file-functions'.
9011
ccb55d27
GM
90122011-03-10 Glenn Morris <rgm@gnu.org>
9013
5ceaac0c
GM
9014 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9015
02da65ff
GM
9016 * vc/vc-git.el (vc-git-program): New option.
9017 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9018 (vc-git--call): Use it.
9019
b2f603cc
GM
9020 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9021
5772caab
GM
9022 * cus-edit.el (Custom-newline): If no button at point, look
9023 for a subgroup button at start-of-line. (Bug#2298)
9024
ccb55d27
GM
9025 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9026
ec6ecaed
JD
90272011-03-10 Julien Danjou <julien@danjou.info>
9028
9029 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9030 `cursor-type' is nil.
9031
9d5aa01d
JB
90322011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9033
9034 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9035
b6a5875b
KM
90362011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9037
9038 * allout.el Summary: Change so yank of distinctive-bullet items
9039 preserves the existing header prefix, rebulleting it if necessary,
9040 rather than replacing it. This is necessary for proper operation
9041 of cooperative addons like allout-widgets.
219bd536 9042 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9043 SOLICIT arg to INSTEAD, and interpret additionally a string value
9044 as alternate bullet to be used, instead of prompting the user for
9045 a bullet character.
9046
ee545c35
MA
90472011-03-09 Michael Albinus <michael.albinus@gmx.de>
9048
d86d2721
SM
9049 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9050 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9051 `tramp-default-port'.
9052
c47971d7
DD
90532011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9054
9055 * net/rcirc.el (rcirc-handler-001): Remove useless
9056 with-rcirc-process-buffer.
9057 (rcirc-check-auth-status): Swap arguments to string-match.
9058
13522cb4
GM
90592011-03-09 Glenn Morris <rgm@gnu.org>
9060
0be6f4f1
GM
9061 * shell.el (shell-mode):
9062 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9063
13522cb4
GM
9064 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9065 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9066
515de2e3
CY
90672011-03-08 Chong Yidong <cyd@stupidchicken.com>
9068
9069 * emacs-lisp/package.el (package-refresh-contents)
9070 (package-menu-execute): Use condition-case-no-debug.
9071
b511b994
MA
90722011-03-08 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * simple.el (shell-command-to-string): Use `process-file'.
9075
9076 * emacs-lisp/package.el (package-tar-file-info): Handle also
9077 remote files.
9078
d86d2721
SM
9079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9080 Use `equal' for upload base check.
b511b994 9081
25bbfb31
AM
90822011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9083
9084 * textmodes/texinfo.el (texinfo-environments):
9085 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9086
be996521
GM
90872011-03-08 Glenn Morris <rgm@gnu.org>
9088
e9c8529f
GM
9089 * cus-start.el (cursor-in-non-selected-windows):
9090 Fix :set quoting oddness. (Bug#8192)
9091
be996521
GM
9092 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9093 in some setf expressions. (Bug#2159)
9094
2bb5649e
CY
90952011-03-08 Chong Yidong <cyd@stupidchicken.com>
9096
9097 * custom.el (custom-available-themes): Return themes in
9098 alphabetical order.
9099
33383987 9100See ChangeLog.15 for earlier changes.
e3d51b27
MR
9101
9102;; Local Variables:
9103;; coding: utf-8
e3d51b27
MR
9104;; End:
9105
33383987 9106 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9107
9108 This file is part of GNU Emacs.
9109
9110 GNU Emacs is free software: you can redistribute it and/or modify
9111 it under the terms of the GNU General Public License as published by
9112 the Free Software Foundation, either version 3 of the License, or
9113 (at your option) any later version.
9114
9115 GNU Emacs is distributed in the hope that it will be useful,
9116 but WITHOUT ANY WARRANTY; without even the implied warranty of
9117 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9118 GNU General Public License for more details.
9119
9120 You should have received a copy of the GNU General Public License
9121 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.