* lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cbe71af3
SM
12011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
c400c4d7
SM
3 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4 Don't hardcode point-min==1.
5
6dbe3e96
SM
6 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7 (eshell-rewrite-for-command): Remove workaround.
8 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11
cbe71af3
SM
12 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13
a8e1496d
GM
142011-11-17 Glenn Morris <rgm@gnu.org>
15
16 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17 Ignore buffer-local generated-autoload-file if it is the same
18 as the global value. (Bug#10049)
19
df85d315
JB
202011-11-17 Juanma Barranquero <lekktu@gmail.com>
21
22 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
23 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
24 (reftex-toc-previous-heading, reftex-toc-max-level)
25 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
26 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
27 (reftex-toc-do-promote, reftex-toc-promote-prepare)
28 (reftex-toc-promote-action, reftex-toc-extract-section-number)
29 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
30 (reftex-toc-rename-label, reftex-toc-visit-location)
31 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
32 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
33 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
34 leaving "*toc*" only for references to the buffer.
35
a0c2d0ae
MR
362011-11-17 Martin Rudalics <rudalics@gmx.at>
37
38 * window.el (window-resize, delete-window, split-window):
39 Replace window-splits by window-combination-resize.
40 * cus-start.el (window-splits): Replace by
41 window-combination-resize.
42
35c0bac8
GM
432011-11-17 Glenn Morris <rgm@gnu.org>
44
45 * progmodes/sh-script.el (sh-font-lock-keywords-var):
46 Make bash entry derive from sh entry, not shell entry.
47
d0c8fc8a
MA
482011-11-16 Michael Albinus <michael.albinus@gmx.de>
49
50 * net/tramp.el (tramp-handle-file-truename): Cache only the local
51 file name.
52
53 * net/tramp-cache.el (tramp-flush-file-property): Flush also
54 properties of linked files. (Bug#9879)
55
7877f373
JB
562011-11-16 Juanma Barranquero <lekktu@gmail.com>
57
58 * menu-bar.el (menu-bar-file-menu):
59 * printing.el (pr-ps-utility):
60 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
61 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
62 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
63 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
64 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
65 (icalendar--convert-cyclic-to-ical)
66 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
67 (icalendar--convert-ical-to-diary)
68 (icalendar--convert-recurring-to-diary)
69 (icalendar--convert-non-recurring-all-day-to-diary)
70 (icalendar-import-format-sample):
71 * progmodes/idlw-shell.el (idlwave-shell-mode):
72 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
73 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
74 (vhdl-ps-print-init): Fix typos.
75
10649b82
KM
762011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
77
9d0cfcd6
GM
78 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
79 FSF and collapse date sequence, obscure author/maintainer email address
80 better, remove extra version line, track relocation of author's webpage.
10649b82 81
9d0cfcd6
GM
82 * progmodes/python.el (python-pdbtrack-input-prompt)
83 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
84 regular python pdb prompts. Adjustments shamelessly taken exactly as
85 suggested in EmacsWiki page (tiny change):
86 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 87
58179cce
JB
882011-11-16 Juanma Barranquero <lekktu@gmail.com>
89
90 * expand.el (expand-pos, expand-index, expand-point):
91 Remove redundant info from docstring.
92 (expand-add-abbrevs): Doc fix.
93 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
94 (expand-sample-perl-mode-expand-list): Fix typos.
95
96 * net/dbus.el (dbus-event-member-name):
97 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
98 * term/pc-win.el (msdos-create-frame-with-faces):
99 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
100
b6f67890
MR
1012011-11-16 Martin Rudalics <rudalics@gmx.at>
102
103 * window.el (split-window, window-state-get-1)
104 (window-state-put-1, window-state-put-2): Rename occurrences of
105 window-nest to window-combination-limit.
106 * cus-start.el (window-nest): Rename to
107 window-combination-limit.
108
ce7ddba0
CY
1092011-11-16 Chong Yidong <cyd@gnu.org>
110
111 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
112 regexp (Bug#10033).
113
3ae704f4
SM
1142011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
117 `completing-read' will remove *Completions* and will preserve
118 current-buffer for us.
119 (tmm-add-prompt): Users of *Completions* will always (re)set its
120 major mode.
121 (tmm-old-comp-map): Remove.
122
6ad1cdde
GM
1232011-11-16 Glenn Morris <rgm@gnu.org>
124
125 * mail/rmailedit.el: Require rmailmm when compiling.
126 (rmail-old-mime-state): New declaration.
127 (rmail-edit-current-message): If editing a mime message,
128 edit the "raw" message from the mbox buffer.
129 (rmail-cease-edit): Handle mime messages. (Bug#9840)
130
d20faa20
GM
1312011-11-15 Glenn Morris <rgm@gnu.org>
132
133 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
134 which wasn't being used. Add optional arg to force given state.
135 (rmail-mime): Add optional arg to force given state.
136
c7015153
JB
1372011-11-15 Juanma Barranquero <lekktu@gmail.com>
138
139 * allout.el (allout-encryption-plaintext-sanitization-regexps):
140 * frame.el (display-mm-dimensions-alist):
141 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
142 (outline-move-subtree-down):
143 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
144 (newsticker--treeview-do-get-node):
145 * net/quickurl.el (quickurl-list-buffer-name):
146 * progmodes/dcl-mode.el (dcl-mode):
147 * progmodes/gdb-mi.el (gdb-mapcar*):
148 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
149
45261b50
GM
1502011-11-15 Glenn Morris <rgm@gnu.org>
151
152 * mail/rmail.el (rmail-file-coding-system): It's only ever used
153 in a boolean sense, so just make it a boolean, and fix the doc.
154 (rmail-show-mime-function, rmail-mime-feature)
155 (rmail-require-mime-maybe): Doc fixes.
156 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
157
158 * mail/rmailmm.el (rmail-show-mime): Doc fix.
159
0d26e0b6
JB
1602011-11-15 Juanma Barranquero <lekktu@gmail.com>
161
162 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
163 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
164 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
165 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
166
447f30f6
GM
1672011-11-15 Glenn Morris <rgm@gnu.org>
168
672b871d
GM
169 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
170 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
171 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
172 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
173 (rmail-mime, rmail-show-mime): Doc fixes.
174
f6aa5bb1
GM
175 * term/ns-win.el (mode-line-frame-identification):
176 Leave it alone. (Bug#10051)
177
947cd66b
GM
178 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
179
447f30f6
GM
180 * mail/rmailout.el (rmail-output-to-rmail-buffer):
181 Handle empty buffers. (Bug#9978)
182
0b381c7e
JB
1832011-11-14 Juanma Barranquero <lekktu@gmail.com>
184
185 * international/mule.el (define-charset):
186 * mail/rmailmm.el (rmail-mime-find-header-encoding):
187 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
188 * progmodes/verilog-mode.el (verilog-backward-token):
189 * textmodes/ispell.el (lookup-words):
190 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
191
71e027ac
GM
1922011-11-14 Glenn Morris <rgm@gnu.org>
193
56632ce4
GM
194 * progmodes/executable.el
195 (executable-make-buffer-file-executable-if-script-p):
196 Handle file-modes returning nil.
197
40500957
GM
198 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
199 message - not necessary, and causes problems. (Bug#9831)
200
071c2340
GM
201 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
202
d3cfca60
GM
203 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
204
71e027ac
GM
205 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
206 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
207 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
208
89d61221
MR
2092011-11-12 Martin Rudalics <rudalics@gmx.at>
210
211 * window.el (window-resize, delete-window): Use window-splits
212 variable instead of function.
213 (window-state-get-1, window-state-put-2, window-state-put):
214 Don't deal with windows' splits status.
215
98282f6f
GM
2162011-11-12 Glenn Morris <rgm@gnu.org>
217
218 * apropos.el (apropos-do-all, apropos-library, apropos-value)
219 (apropos-documentation): Doc fixes.
220
40a8bdf6
JB
2212011-11-11 Juanma Barranquero <lekktu@gmail.com>
222
223 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
224 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
225
65bd19ff
SM
2262011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * electric.el (electric-indent-post-self-insert-function): Make it
229 possible for a char to only indent in some circumstances.
230 (electric-indent-mode): Simplify.
231
54f9154c
MR
2322011-11-11 Martin Rudalics <rudalics@gmx.at>
233
234 * window.el (windows-with-parameter): Remove unused function.
235 (windows-at-side): Rename to window-at-side-list.
236 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
237 (window-side-check, window-size-ignore, window-size-fixed-1)
238 (window-in-direction-2): Prefix with "window--".
239 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 240
68cbc58b
GM
2412011-11-11 Glenn Morris <rgm@gnu.org>
242
243 * subr.el (eval-after-load): If FILE is already loaded,
244 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
245
b2621720
GM
2462011-11-10 Glenn Morris <rgm@gnu.org>
247
9a4de110
GM
248 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
249 Call svn via vc-svn-command rather than vc-do-command.
250 (vc-svn-command): Add --non-interactive. (Bug#9993)
251 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
252
b2621720
GM
253 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
254 Add toggle-read-only. (Bug#7292)
255 * files.el (toggle-read-only): Mention that it should only
256 be used interactively. (Bug#10006)
257
1dce7193
SM
2582011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
259
d9ac1a1e
SM
260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
261 Adjust regexp for OCaml warnings.
262
0c325082
SM
263 * electric.el (electric-pair-post-self-insert-function): Let user
264 turn it off buffer-locally (bug#9932).
265
90132c14
SM
266 * progmodes/python.el (python-beginning-of-statement):
267 Rewrite (bug#2703).
268
1dce7193
SM
269 * progmodes/compile.el: Better handle TABs (bug#9749).
270 (compilation-internal-error-properties)
271 (compilation-next-error-function): Obey the target buffer's
272 compilation-error-screen-columns.
273
c4e7c63a
JB
2742011-11-09 Juanma Barranquero <lekktu@gmail.com>
275
276 * progmodes/meta-mode.el: Remove obsolete comments.
277 (meta-right-comment-regexp, meta-ignore-comment-regexp):
278 Fix typos in docstrings.
279
2cffd681
MR
2802011-11-09 Martin Rudalics <rudalics@gmx.at>
281
282 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 283 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
284 (window--resizable): New function. Make all callers of
285 window-resizable call window--resizable instead.
286 (window-resizable): Rewrite in terms of window--resizable.
287
0edcba87
GM
2882011-11-08 Glenn Morris <rgm@gnu.org>
289
290 * progmodes/delphi.el (delphi-mode-syntax-table):
291 Let define-derived-mode define a proper syntax table. (Bug#9994)
292
4b0d61e3
SM
2932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * window.el: Stay away from defsubst.
296 (window-list-no-nils): Remove.
297 (window-state-get-1, window-state-get): Use backquote instead.
298
fcbcac2e 2992011-11-08 thierry <thierry.volpiatto@gmail.com>
300
4b0d61e3 301 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 302 Fix incorrect use of default argument in `completing-read'.
303
e1c2c6f2
MR
3042011-11-08 Martin Rudalics <rudalics@gmx.at>
305
306 * window.el (display-buffer-function, special-display-function):
307 Mention display-buffer-record-window but do not mention
308 help-setup parameter in doc-strings.
b3f4a882 309 (window-min-delta): Fix doc-string typo.
e1c2c6f2 310
105216ed
CY
3112011-11-08 Chong Yidong <cyd@gnu.org>
312
313 * window.el (window-total-height, window-total-width): Doc fix.
314 (window-body-size): Move from C.
315 (window-body-height, window-body-width): Move to C.
316
0a9f9ab5
SM
3172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * window.el: Make special-display like display-buffer-alist (bug#9532).
320 (display-buffer--special-action): New function, morphed
321 from display-buffer--special.
322 (display-buffer): Use it to handle special-display-buffers at higher
323 priority (just after display-buffer-alist).
324 (display-buffer-fallback-action, display-buffer--other-frame-action)
325 (pop-to-buffer-same-window): Remove display-buffer--special.
326
a769dd15
GM
3272011-11-07 Glenn Morris <rgm@gnu.org>
328
329 * calendar/cal-menu.el (cal-menu-set-date-title):
330 Do nothing if not in a calendar. (Bug#9976)
331
05a61ee3
SM
3322011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * files.el (find-file): Always use selected-window.
335
be7f5545
MR
3362011-11-07 Martin Rudalics <rudalics@gmx.at>
337
338 * window.el (window-combinations): Make WINDOW argument
339 mandatory. Rewrite doc-string.
340 (walk-window-subtree, window-atom-check, window-min-delta)
341 (window-max-delta, window--resize-this-window)
342 (window--resize-root-window-vertically, window-tree)
343 (balance-windows, window-state-put): Rewrite doc-strings as to
344 not mention the term "subwindow".
345 (window--resize-subwindows-skip-p): Rename to
346 window--resize-child-windows-skip-p.
347 (window--resize-subwindows-normal): Rename to
348 window--resize-child-windows-normal.
349 (window--resize-subwindows): Rename to
350 window--resize-child-windows.
351 (window-or-subwindow-p): Rename to window--in-subtree-p.
352
3c6702ef
ML
3532011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
354
355 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
356 Ensure that mbox format messages end in two newlines (Bug#9974).
357
49745b39
CY
3582011-11-06 Chong Yidong <cyd@gnu.org>
359
360 * window.el (window-combination-p): Function deleted; its
361 side-effect is not used in any existing code.
362 (window-combinations, window-combined-p): Call window-*-child
363 directly.
364
24300f5f
CY
3652011-11-05 Chong Yidong <cyd@gnu.org>
366
367 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
368 (window-size-ignore, window-state-get): Callers changed.
369 (window-normalize-window): Rename from window-normalize-any-window.
370 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 371 (window-normalize-live-window): Delete.
447f16b8
CY
372 (window-combination-p, window-combined-p, window-combinations)
373 (walk-window-subtree, window-atom-root, window-min-size)
374 (window-sizable, window-sizable-p, window-size-fixed-p)
375 (window-min-delta, window-max-delta, window-resizable)
376 (window-resizable-p, window-full-height-p, window-full-width-p)
377 (window-current-scroll-bars, window-point-1, set-window-point-1)
378 (window-at-side-p, window-in-direction, window-resize)
379 (adjust-window-trailing-edge, maximize-window, minimize-window)
380 (window-deletable-p, delete-window, delete-other-windows)
381 (record-window-buffer, unrecord-window-buffer)
382 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
383 (quit-window, split-window, window-state-put)
384 (set-window-text-height, fit-window-to-buffer)
385 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 386
89bd5ee1
EZ
3872011-11-04 Eli Zaretskii <eliz@gnu.org>
388
53479029
EZ
389 * mail/rmail.el (rmail-simplified-subject): Decode subject with
390 rfc2047-decode-string.
391 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
392 warnings.
393
89bd5ee1
EZ
394 * window.el (window-body-height, window-body-width): Mention in
395 the doc string that the return values are in frame's canonical
396 units. (Bug#9949)
397
bd17fdee
AM
3982011-11-03 Alan Mackenzie <acm@muc.de>
399
400 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
401 change in cc-engine.el.
402
acc825c5
SM
4032011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * window.el (switch-to-buffer): Use `force-same-window' interactively.
406
1885e5b8
MR
4072011-11-02 Martin Rudalics <rudalics@gmx.at>
408
409 * window.el (quit-window): Call unrecord-window-buffer after
410 showing another buffer in the window. (Bug#9937)
acc825c5 411 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 412
ebe06da9
JB
4132011-11-02 Juanma Barranquero <lekktu@gmail.com>
414
415 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
416 Accept status with more than 9 shelves. (Bug#9935)
417 Reported by Colin D Bennett <colin@gibibit.com>.
418
4ee88440
MR
4192011-11-01 Martin Rudalics <rudalics@gmx.at>
420
421 * help.el (with-help-window): Don't reference
422 temp-buffer-show-specifiers in doc-string.
423
08e1d82c
AS
4242011-10-31 Andreas Schwab <schwab@linux-m68k.org>
425
426 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
427 menu-item.
428
84bd6e9e
VJL
4292011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
430
431 * whitespace.el: New version 13.2.2.
432 (whitespace-newline-mode): Disable properly. Reported by Sarah
433 <EmacsWiki>.
434
dba0634a
UJ
4352011-10-30 Ulf Jasper <ulf.jasper@web.de>
436
437 * net/newst-treeview.el: Remove "Time-stamp".
438 (newsticker--group-manage-orphan-feeds): Do not call
439 newsticker--treeview-tree-update.
db22a3c2
JB
440 (newsticker-treeview-update, newsticker-treeview):
441 Call newsticker--treeview-tree-update if necessary.
dba0634a 442
3d8daefe
MR
4432011-10-30 Martin Rudalics <rudalics@gmx.at>
444
445 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
446 (window-iso-combinations): Remove "iso-" infix.
447 Suggested by Chong Yidong.
3d8daefe
MR
448 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
449 (window-max-delta-1, window-resize, window--resize-siblings)
450 (window--resize-this-window, adjust-window-trailing-edge)
451 (split-window, balance-windows-1)
452 (shrink-window-if-larger-than-buffer):
453 * calendar/calendar.el (calendar-generate-window):
db22a3c2 454 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 455
1bc4c3ae
SM
4562011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
459 in place (bug#9907).
460 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
461 (eshell-rewrite-if-command, eshell-rewrite-for-command)
462 (eshell-structure-basic-command, eshell-rewrite-while-command)
463 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
464 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
465 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
466 (eshell-do-pipelines-synchronously, eshell-eval-command):
467 Use backquotes and prefer setq to set.
468 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
469 (eshell-macrop): Use functionp.
c1e2f5fa 470 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 471
30b65d9c
CY
4722011-10-30 Chong Yidong <cyd@gnu.org>
473
474 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
475 instead of set-mark (Bug#9810).
476
2d197ffb
CY
4772011-10-30 Chong Yidong <cyd@gnu.org>
478
479 * window.el (split-window-below, split-window-right): Rename from
480 split-window-above-each-other and split-window-side-by-side
481 respectively. All callers changed.
482 (split-window-sensibly, split-window-sensibly): Use them.
483 (split-window-keep-point): Doc fix.
484
485 * isearch.el: Add isearch-scroll property to split-window-below
486 and split-window-right.
487
488 * follow.el (follow-mode):
489 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
490 * progmodes/ada-xref.el (ada-gdb-application):
491 * emulation/vip.el (vip-buffer-in-two-windows):
492 * image-dired.el (image-dired-dired-with-window-configuration):
493 * dired-x.el (dired-do-find-marked-files):
494 * dired.el (dired-pop-to-buffer):
495 * bs.el (bs--show-with-configuration):
496 * vc/emerge.el (emerge-setup-windows):
497 * textmodes/two-column.el (2C-two-columns):
498 * textmodes/reftex-toc.el (reftex-toc):
499 * progmodes/gdb-mi.el (gdb-setup-windows):
500 * progmodes/fortran.el (fortran-window-create):
501 * net/newst-treeview.el (newsticker--treeview-window-init):
502 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
503 * emulation/tpu-edt.el (tpu-gold-map):
504 * emulation/crisp.el (crisp-mode-map):
505 * calendar/calendar.el (calendar-basic-setup): Callers changed.
506
38bb2ca8
CY
5072011-10-29 Chong Yidong <cyd@gnu.org>
508
aa4de341
CY
509 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
510
e1eb5385
CY
511 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
512
5d2ece3c
CY
513 * textmodes/flyspell.el (flyspell-word): Fix char offset for
514 forged Ispell output (Bug#7904).
515
38bb2ca8
CY
516 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
517
d0af9f77
SM
5182011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * doc-view.el: Avoid ugly errors about not finding nil.
521 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
522 (doc-view-dvipdf-program, doc-view-unoconv-program)
523 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
524 Avoid nil or absolute file name as default value.
525 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
526
52bedd34
AM
5272011-10-28 Alan Mackenzie <acm@muc.de>
528
db22a3c2 529 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 530
7e43cfa5
AM
5312011-10-28 Alan Mackenzie <acm@muc.de>
532
533 Amend the handling of c-beginning/end-of-defun in nested declaration
534 scopes.
535
52bedd34
AM
536 * progmodes/cc-vars.el (c-defun-tactic): Move here from
537 cc-langs.el. Change it to a defcustom.
7e43cfa5 538
52bedd34
AM
539 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
540 cc-vars.el.
7e43cfa5 541
d0af9f77
SM
542 * progmodes/cc-engine.el (c-beginning-of-statement-1):
543 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 544
52bedd34 545 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 546 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
547 (c-widen-to-enclosing-decl-scope): New function.
548 (c-while-widening-to-decl-block): New macro.
549 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
550 outward for defun boundaries, and correspondingly change symbol
551 `respect-enclosure' to `go-outward'.
552 (c-declaration-limits): Change algorithm to report only the "innermost"
553 defun's boundaries.
554
1a2ce9ee
DD
5552011-10-28 Deniz Dogan <deniz@dogan.se>
556
557 * net/rcirc.el (rcirc-mode): Use hard newlines.
558
bc97a826
AM
5592011-10-28 Alan Mackenzie <acm@muc.de>
560
561 Amend to indent and fontify macros "which include their own semicolon"
562 correctly, using the "virtual semicolon" mechanism.
563
52bedd34 564 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 565
d0af9f77 566 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 567 Recode to scan one line at a time rather than having \n and \r
58179cce 568 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 569 (c-forward-label): Amend for virtual semicolons.
58179cce 570 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 571
52bedd34
AM
572 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
573 of the new C macros.
bc97a826 574
52bedd34 575 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
576 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
577 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
578 (c-opt-cpp-macro-define): Make into a full language variable.
579 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
580 AWK Mode (including \n, \r) removed, no longer needed.
581
d0af9f77
SM
582 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
583 Invoke c-make-macro-with-semi-re.
bc97a826 584
52bedd34
AM
585 * progmodes/cc-vars.el (c-macro-with-semi-re):
586 (c-macro-names-with-semicolon): New variables.
58179cce 587 (c-make-macro-with-semi-re): New function.
bc97a826 588
7a6c0941
SM
5892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * vc/log-edit.el: Fill empty field rather than adding new one.
592 (log-edit-add-field): New function.
593 (log-edit-insert-changelog): Use it.
594
b0c4cdcf
ML
5952011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
596
597 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
598
ee1f1da9
SM
5992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
602 (gdb--check-interpreter): New function.
603 (gdb): Use it.
604
51bc5f8b
GM
6052011-10-27 Glenn Morris <rgm@gnu.org>
606
416a2c45
GM
607 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
608 (least-positive-float, least-negative-float)
609 (least-positive-normalized-float, least-negative-normalized-float)
610 (float-epsilon, float-negative-epsilon):
611 Remove unnecessary declarations.
612
613 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
614 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
615 (least-positive-float, least-negative-float)
616 (least-positive-normalized-float, least-negative-normalized-float)
617 (float-epsilon, float-negative-epsilon): Add doc-strings,
618 based on those in cl.texi.
619
51bc5f8b
GM
620 * files.el (set-visited-file-name): If the major-mode changed,
621 reload the local variables. (Bug#9796)
622
15de15c6
CY
6232011-10-27 Chong Yidong <cyd@gnu.org>
624
625 * subr.el (change-major-mode-after-body-hook): New hook.
626 (run-mode-hooks): Run it.
627
ee1f1da9
SM
628 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
629 Use change-major-mode-before-body-hook.
15de15c6
CY
630
631 * simple.el (fundamental-mode):
632 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
633 change introducing fundamental-mode-hook.
634
5430d399
JB
6352011-10-26 Juanma Barranquero <lekktu@gmail.com>
636
acc825c5 637 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 638
ad74a69e
MA
6392011-10-26 Michael Albinus <michael.albinus@gmx.de>
640
641 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 642 tramp.el explicitly. (Bug#7583)
ad74a69e 643
71d4c2a5
SM
6442011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * progmodes/octave-mod.el:
647 * progmodes/octave-inf.el: Update maintainer.
648
b1f6fa26
CY
6492011-10-26 Chong Yidong <cyd@gnu.org>
650
651 * subr.el (with-wrapper-hook): Rewrite doc.
652
3f04efd6
MA
6532011-10-25 Michael Albinus <michael.albinus@gmx.de>
654
655 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 656 filenames "/method:foo:". (Bug#9793)
3f04efd6 657
410488d3
SM
6582011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
661 (bug#9865).
662
c1ebb47e
GM
6632011-10-24 Glenn Morris <rgm@gnu.org>
664
665 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
666
7f5c46c7
MA
6672011-10-24 Michael Albinus <michael.albinus@gmx.de>
668
669 * notifications.el: Add the requirement of a running D-Bus session
670 bus to the Commentary.
671
db2440b6
JL
6722011-10-24 Juri Linkov <juri@jurta.org>
673
674 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
675 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
676 (Bug#9364)
677
feecf435
JL
6782011-10-24 Juri Linkov <juri@jurta.org>
679
680 * info.el (Info-following-node-name-re): Add newline to the list
681 of allowed characters for leading space. (Bug#9824)
682
a3839de2
SM
6832011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
684
acc825c5
SM
685 * progmodes/octave-inf.el (inferior-octave-mode-map):
686 Fix C-c C-h binding.
a3839de2
SM
687 * progmodes/octave-mod.el (octave-help): Remove.
688
09388e76
MA
6892011-10-23 Michael Albinus <michael.albinus@gmx.de>
690
691 Sync with Tramp 2.2.3.
692
693 * net/tramp-cache.el (top): Pacify byte-compiler using
694 `init-file-user' and `site-run-file'.
695
696 * net/trampver.el: Update release number.
697
86c60681
CY
6982011-10-23 Chong Yidong <cyd@gnu.org>
699
700 * files.el (toggle-read-only): Remove obsolete comment about
701 version control.
702
703 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
704 for toggle-read-only. Note that this hasn't called vc-next-action
705 since 2008-05-02, though it wasn't documented at the time.
706
a3839de2
SM
707 * vc/ediff-init.el (ediff-toggle-read-only-function):
708 Use toggle-read-only.
86c60681 709
cd5495ff
AM
7102011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
711
712 Fix bug #9560, sporadic wrong indentation; improve instrumentation
713 of c-parse-state.
714
00b77525 715 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 716 correct faulty logical expression.
cd5495ff
AM
717 (c-parse-state-state, c-record-parse-state-state):
718 (c-replay-parse-state-state): New defvar/defuns.
719 (c-debug-parse-state): Use new functions.
720
42ee24ed
MR
7212011-10-22 Martin Rudalics <rudalics@gmx.at>
722
723 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 724 last fix. Use window-in-direction correctly.
42ee24ed 725
a7dee7e7
CY
7262011-10-21 Chong Yidong <cyd@gnu.org>
727
728 * progmodes/idlwave.el (idlwave-mode):
729 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
730 require-final-newline; that's done in prog-mode.
731 Suggested by Stefan Monnier.
a7dee7e7 732
e07b9a6d
MR
7332011-10-21 Martin Rudalics <rudalics@gmx.at>
734
735 * mouse.el (mouse-drag-window-above)
736 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
737 (mouse-drag-mode-line-1, mouse-drag-header-line)
738 (mouse-drag-vertical-line-rightward-window): Remove.
739 (mouse-drag-line): New function.
740 (mouse-drag-mode-line, mouse-drag-header-line)
741 (mouse-drag-vertical-line): Call mouse-drag-line.
742 * window.el (window-at-side-p, windows-at-side): New functions.
743
7e1361d9
UM
7442011-10-21 Ulrich Mueller <ulm@gentoo.org>
745
746 * tar-mode.el (tar-grind-file-mode):
747 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
748
30fcaf3a
CY
7492011-10-21 Chong Yidong <cyd@gnu.org>
750
751 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
752 * progmodes/vera-mode.el (vera-mode):
753 Use mode-require-final-newline.
30fcaf3a 754
516eddb0
GM
7552011-10-20 Glenn Morris <rgm@gnu.org>
756
db22a3c2 757 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 758
10d5f513
CS
7592011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
760
761 * emulation/cua-base.el (cua-set-mark): Fix case of string.
762
ac6c8639
CY
7632011-10-20 Chong Yidong <cyd@gnu.org>
764
765 * emulation/cua-base.el (cua-mode):
766 * mail/footnote.el (footnote-mode):
767 * mail/mailabbrev.el (mail-abbrevs-mode):
768 * net/xesam.el (xesam-minor-mode):
769 * progmodes/bug-reference.el (bug-reference-mode):
770 * progmodes/cap-words.el (capitalized-words-mode):
771 * progmodes/compile.el (compilation-minor-mode)
772 (compilation-shell-minor-mode):
773 * progmodes/gud.el (gud-tooltip-mode):
774 * progmodes/hideif.el (hide-ifdef-mode):
775 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
776 * progmodes/subword.el (subword-mode):
777 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
778 * progmodes/which-func.el (which-function-mode):
779 * term/tvi970.el (tvi970-set-keypad-mode):
780 * term/vt100.el (vt100-wide-mode):
781 * textmodes/flyspell.el (flyspell-mode):
782 * textmodes/ispell.el (ispell-minor-mode):
783 * textmodes/nroff-mode.el (nroff-electric-mode):
784 * textmodes/paragraphs.el (use-hard-newlines):
785 * textmodes/refill.el (refill-mode):
786 * textmodes/reftex.el (reftex-mode):
787 * textmodes/rst.el (rst-minor-mode):
788 * textmodes/sgml-mode.el (html-autoview-mode)
789 (sgml-electric-tag-pair-mode):
790 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
791 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
792 * emulation/crisp.el (crisp-mode):
793 * emacs-lisp/eldoc.el (eldoc-mode):
794 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
795 minor mode behavior.
796
aa42ab43
JL
7972011-10-19 Juri Linkov <juri@jurta.org>
798
799 * descr-text.el (describe-char): Add #x2010 and #x2011 to
800 the list of hard-coded chars with escape-glyph face.
801
89400f1d
SM
8022011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
805
305c07f6
MA
8062011-10-19 Michael Albinus <michael.albinus@gmx.de>
807
808 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
809 running process.
810
13754b54
GM
8112011-10-19 Glenn Morris <rgm@gnu.org>
812
813 * vc/vc-bzr.el (vc-bzr-after-dir-status):
814 Ignore ignored files. (Bug#9726)
815
06e21633
CY
8162011-10-19 Chong Yidong <cyd@gnu.org>
817
818 Doc fix for minor modes, stating that an omitted argument enables
819 the mode unconditionally when called from Lisp.
820
821 * abbrev.el (abbrev-mode):
822 * allout.el (allout-mode):
823 * autoinsert.el (auto-insert-mode):
824 * autoarg.el (autoarg-mode, autoarg-kp-mode):
825 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
826 (global-auto-revert-mode):
827 * battery.el (display-battery-mode):
828 * composite.el (global-auto-composition-mode)
829 (auto-composition-mode):
830 * delsel.el (delete-selection-mode):
831 * desktop.el (desktop-save-mode):
832 * dired-x.el (dired-omit-mode):
833 * dirtrack.el (dirtrack-mode):
834 * doc-view.el (doc-view-minor-mode):
835 * double.el (double-mode):
836 * electric.el (electric-indent-mode, electric-pair-mode):
837 * emacs-lock.el (emacs-lock-mode):
838 * epa-hook.el (auto-encryption-mode):
839 * follow.el (follow-mode):
840 * font-core.el (font-lock-mode):
841 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
842 * help.el (temp-buffer-resize-mode):
843 * hilit-chg.el (highlight-changes-mode)
844 (highlight-changes-visible-mode):
845 * hi-lock.el (hi-lock-mode):
846 * hl-line.el (hl-line-mode, global-hl-line-mode):
847 * icomplete.el (icomplete-mode):
848 * ido.el (ido-everywhere):
849 * image-file.el (auto-image-file-mode):
850 * image-mode.el (image-minor-mode):
851 * iswitchb.el (iswitchb-mode):
852 * jka-cmpr-hook.el (auto-compression-mode):
853 * linum.el (linum-mode):
854 * longlines.el (longlines-mode):
855 * master.el (master-mode):
856 * mb-depth.el (minibuffer-depth-indicate-mode):
857 * menu-bar.el (menu-bar-mode):
858 * minibuf-eldef.el (minibuffer-electric-default-mode):
859 * mouse-sel.el (mouse-sel-mode):
860 * msb.el (msb-mode):
861 * mwheel.el (mouse-wheel-mode):
862 * outline.el (outline-minor-mode):
863 * paren.el (show-paren-mode):
864 * recentf.el (recentf-mode):
865 * reveal.el (reveal-mode, global-reveal-mode):
866 * rfn-eshadow.el (file-name-shadow-mode):
867 * ruler-mode.el (ruler-mode):
868 * savehist.el (savehist-mode):
869 * scroll-all.el (scroll-all-mode):
870 * scroll-bar.el (scroll-bar-mode):
871 * server.el (server-mode):
872 * shell.el (shell-dirtrack-mode):
873 * simple.el (auto-fill-mode, transient-mark-mode)
874 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
875 (line-number-mode, column-number-mode, size-indication-mode)
876 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
877 * strokes.el (strokes-mode):
878 * time.el (display-time-mode):
879 * t-mouse.el (gpm-mouse-mode):
880 * tool-bar.el (tool-bar-mode):
881 * tooltip.el (tooltip-mode):
882 * type-break.el (type-break-mode-line-message-mode)
883 (type-break-query-mode):
884 * view.el (view-mode):
885 * whitespace.el (whitespace-mode, whitespace-newline-mode)
886 (global-whitespace-mode, global-whitespace-newline-mode):
887 * xt-mouse.el (xterm-mouse-mode): Doc fix.
888
a3839de2
SM
889 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
890 Fix autogenerated docstring.
06e21633 891
5214e501
JL
8922011-10-19 Juri Linkov <juri@jurta.org>
893
894 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
895 by checking environment variables "DESKTOP_SESSION" and
896 "XDG_CURRENT_DESKTOP". (Bug#9779)
897
195f8db9
JL
8982011-10-19 Juri Linkov <juri@jurta.org>
899
900 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
901 (browse-url-chromium-program, browse-url-chromium-arguments):
902 New defcustoms.
903 (browse-url-default-browser): Check for `browse-url-chromium' and
904 call `browse-url-chromium-program'.
905 (browse-url-chromium): New command. (Bug#9779)
906
343a34ff
JB
9072011-10-18 Juanma Barranquero <lekktu@gmail.com>
908
909 * facemenu.el (list-colors-duplicates): On Windows, detect more
910 duplicates by assuming that only colors matching "^System" are
911 special "system colors". (Bug#9722)
912
6978a151
SM
9132011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
916 to distinguish the author from the committer.
917
6a80b297
MA
9182011-10-18 Michael Albinus <michael.albinus@gmx.de>
919
920 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
921
b31a5677
JK
9222011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
923
924 * international/mule.el (sgml-html-meta-auto-coding-function):
925 Add support for detecting encoding in HTML5 specified only as
926 <meta charset="UTF-8">. Implementation just makes http-equiv and
927 content-type parts from HTML4 encoding string optional. (Bug#9716)
928
80c6d77f
GM
9292011-10-18 Glenn Morris <rgm@gnu.org>
930
931 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
932
08b0fee8
CY
9332011-10-18 Chong Yidong <cyd@gnu.org>
934
935 * faces.el (cursor): Doc fix.
936
67e729a5
CY
9372011-10-17 Chong Yidong <cyd@gnu.org>
938
939 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
940
343a34ff 9412011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
942
943 * dirtrack.el (dirtrack): Support shell buffers with path
944 prefixes, e.g. tramp-based remote shells. (Bug#9647)
945
0bc06380
TZ
9462011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
947
948 * json.el: Bump version to 1.3 and note change in History.
949 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
950
8b79f3e0
SM
9512011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
952
5a7c536b
SM
953 * comint.el (comint-insert-input, comint-send-input)
954 (comint-get-old-input-default, comint-backward-matching-input)
955 (comint-next-prompt): Use nil instead of `input' for field property of
956 past user input (bug#114).
957
96a8a0df
SM
958 * minibuffer.el (completion--replace): Inherit surrounding properties
959 (bug#114).
960 (minibuffer-complete-and-exit): Use it.
961
8b79f3e0
SM
962 * comint.el (comint--table-subvert): Quote the all-completions output
963 (bug#9160).
964
b8f7ff0d
MR
9652011-10-17 Martin Rudalics <rudalics@gmx.at>
966
8b79f3e0 967 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 968
b8f7ff0d 969 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 970 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
971 entries and separate them from frame entries.
972
c235b555
GM
9732011-10-15 Glenn Morris <rgm@gnu.org>
974
975 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
976 Doc fixes.
977
6bbfa6e1
CY
9782011-10-15 Chong Yidong <cyd@stupidchicken.com>
979
8b79f3e0
SM
980 * net/network-stream.el (network-stream-open-starttls):
981 Improve detection of failure due to lack of TLS support.
ec5c990d 982
6bbfa6e1
CY
983 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
984 putting the input text in front and in bold.
985
98488977
SM
9862011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
987
3d1337be
SM
988 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
989
ee0b45e4
SM
990 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
991 empty buffer.
992
98488977
SM
993 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
994 unread-command-events rather than pushing yet-another event.
995
186f4720
EZ
9962011-10-14 Eli Zaretskii <eliz@gnu.org>
997
998 * mail/sendmail.el (sendmail-query-once): Improve the wording of
999 the explanation of the possible choices. Make the options passed
1000 to completing-read shorter.
1001
8b7a997c
AM
10022011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1003
1004 * textmodes/flyspell.el (flyspell-large-region): Make sure
1005 extended character mode is used if defined (Bug#1339).
1006
12587bbb
EZ
10072011-10-13 Eli Zaretskii <eliz@gnu.org>
1008
1009 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1010 character info for LRE, LRO, RLE, and RLO characters by appending
1011 an invisible PDF.
12587bbb 1012
bad41229
SM
10132011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1016 even in case of error; add debug spec; simplify data flow.
1017 (with-timeout-handler): Remove.
1018
28dbc92f
MA
10192011-10-12 Michael Albinus <michael.albinus@gmx.de>
1020
1021 Fix Bug#6019, Bug#9315.
1022
1023 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1024 complete `buffer-file-name', the local file name part could look
1025 remotely (for example on VMS).
1026
1027 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1028 `tramp-run-real-handler'.
1029 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1030 already quoted by '"'.
1031
1032 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1033 Let `file-name-handler-alist' be nil, the local file name part
1034 could look remotely (for example on VMS).
1035
e1b0b23a
SM
10362011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1039 from here...
1040 (flyspell-post-command-hook): ...to here.
1041
a120bde9
SM
10422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1045 if not needed.
1046 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1047 using completion. Protect against "slow" callers.
1048 Remove the "message hack".
1049
7ce7717b
JL
10502011-10-11 Juri Linkov <juri@jurta.org>
1051
1052 * isearch.el (isearch-lazy-highlight-word): New variable.
1053 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1054 Use it. (Bug#9727)
1055
c02ee9d6
GM
10562011-10-11 Glenn Morris <rgm@gnu.org>
1057
1058 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1059 like f90-previous-statement does.
1060
93e616fd 10612011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1062
1f190e73 1063 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1064 only in interactive use, to avoid error.
1065
af7b6078
SM
10662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * minibuffer.el (completion-file-name-table): Fix last change,
1069 i.e. ignore normal errors but not the other ones.
1070
0563dae9
MR
10712011-10-10 Martin Rudalics <rudalics@gmx.at>
1072
1073 * window.el (special-display-buffer-names)
1074 (special-display-regexps): Remove some remnants of earlier
1075 changes from doc-strings.
366ca7f3
MR
1076 (quit-windows-on): New function.
1077
1078 * vc/vc.el (vc-revert, vc-rollback):
1079 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1080 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1081 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1082
49677495
MR
10832011-10-09 Martin Rudalics <rudalics@gmx.at>
1084
1085 * window.el (frame-auto-hide-function): Add version tag.
1086 (Bug#9699)
1087
56f2d1e1
MA
10882011-10-09 Michael Albinus <michael.albinus@gmx.de>
1089
1090 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1091 condition.
1092
112a6592
LL
10932011-10-09 Leo Liu <sdl.web@gmail.com>
1094
1095 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1096 (Bug#9701)
1097
0812589b
GM
10982011-10-08 Glenn Morris <rgm@gnu.org>
1099
1100 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1101 before the first code statement zero indent. (Bug#9690)
1102
b2b0776e
CY
11032011-10-08 Chong Yidong <cyd@stupidchicken.com>
1104
1105 * simple.el (count-words-region): Always count in the region.
1106 Report the number of lines and characters too.
1107 (count-words): New command, which counts in the buffer if the
1108 region is inactive, as count-words-region used to.
1109 (count-words--message): New function. Handle plurals.
1110 (count-lines-region): Make it an alias for count-words-region.
1111
1112 * bindings.el (esc-map): Replace count-lines-region with
1113 count-words-region.
1114
c557cd6b
MR
11152011-10-08 Martin Rudalics <rudalics@gmx.at>
1116
1117 * window.el (window--delete): Delete dedicated frame
1118 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1119 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1120
61a57ef4 11212011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1122
1123 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1124
c3833279
CY
11252011-10-07 Chong Yidong <cyd@stupidchicken.com>
1126
1127 * bindings.el ([M-left],[M-right]): Bind to left-word and
1128 right-word respectively.
1129
21ce8245
GM
11302011-10-07 Glenn Morris <rgm@gnu.org>
1131
1132 * cus-start.el (debug-on-quit): Fix custom type.
1133
6d823bb2
LMI
11342011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1135
0181e193
LMI
1136 * subr.el (define-key-after): Clarify that the function is not
1137 useful for non-menu keymaps.
1138
6d823bb2
LMI
1139 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1140
8e3459ce 11412011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1142
21ce8245 1143 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1144 in current minibuffer (Fix bug with recursive minibuffers).
1145
a1c2d21e
CY
11462011-10-06 Chong Yidong <cyd@stupidchicken.com>
1147
1148 * progmodes/gdb-mi.el (gdb): Doc fix.
1149
5a4cf282
MR
11502011-10-05 Martin Rudalics <rudalics@gmx.at>
1151
1152 * window.el (frame-auto-hide-function): New option replacing
1153 frame-auto-delete. Suggested by Stefan Monnier.
1154 (window--delete): Call frame-auto-hide-function instead of
1155 investigating frame-auto-delete.
c96111ea
MR
1156 (window-point-1, set-window-point-1): New functions.
1157 (window-in-direction, record-window-buffer, window-state-get-1)
1158 (display-buffer-record-window): Use window-point-1 instead of
1159 window-point.
1160 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1161
9854542e
SM
11622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1165
8943cfb0
GM
11662011-10-05 Glenn Morris <rgm@gnu.org>
1167
1168 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1169 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1170
647ab967
LL
11712011-10-05 Leo Liu <sdl.web@gmail.com>
1172
1173 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1174 works with buffer object.
1175
3ddfbced
SM
11762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * mpc.el (mpc-tool-bar-map): Add labels.
1179
bdfa5dd2
GM
11802011-10-04 Glenn Morris <rgm@gnu.org>
1181
1182 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1183
0e2070b5
MR
11842011-10-04 Martin Rudalics <rudalics@gmx.at>
1185
1186 * window.el (window--delete): New function.
1187 (frame-auto-delete): Resuscitate option.
1188 (bury-buffer, replace-buffer-in-windows)
1189 (quit-window): Rewrite using window--delete.
1190 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1191 Pass display-buffer-mark-dedicated to window--display-buffer-2
1192 (Bug#9639).
1193
3dc61a09
SM
11942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1195
915a9b64
SM
1196 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1197 returns a list (bug#9554). Add remote file name completion.
1198 * comint.el (comint--table-subvert): Curry and get quote&unquote
1199 functions as arguments.
1200 (comint--complete-file-name-data): Adjust call accordingly.
1201 * pcomplete.el (pcomplete--table-subvert): Remove.
1202 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1203
3dc61a09
SM
1204 * minibuffer.el (completion-table-case-fold): Use currying.
1205 (completion--styles-type, completion--cycling-threshold-type):
1206 New constants.
1207 (completion-styles, completion-category-overrides)
1208 (completion-cycle-threshold): Use them.
1209 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1210 completion-table-case-fold.
1211
8ea0a993
SB
12122011-10-03 Stephen Berman <stephen.berman@gmx.net>
1213
1214 * minibuffer.el (completion-category-overrides): Fix type of styles
1215 and add more user friendly tags (bug#9660).
1216
8c24b7f6
SM
12172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1220 (mule-input-method-string): New widget.
1221 (default-input-method, language-info-custom-alist): Use it.
1222
428fe61a
SM
12232011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1224
32c1fffd
SM
1225 * pcomplete.el: Require comint.
1226 (pcomplete--common-suffix): Remove.
1227 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1228 (pcomplete--table-subvert): Sync with comint--table-subvert.
1229 (pcomplete--entries): Use comint-completion-file-name-table.
1230 * comint.el (comint-unquote-filename): Simplify.
1231 (comint-completion-file-name-table): New function (bug#9616).
1232 (comint--complete-file-name-data): Use it.
1233
428fe61a
SM
1234 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1235 (pcmpl-gnu-tar-buffer): Remove.
1236 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1237 around. Make sure pcomplete-suffix-list is only changed temporarily.
1238 Don't look inside the tar's file if it's too large.
428fe61a 1239
04c52e2f
CY
12402011-10-01 Chong Yidong <cyd@stupidchicken.com>
1241
ce3cefcc
CY
1242 * cus-edit.el (custom-mode-map):
1243 * epa.el (epa-key-list-mode-map):
1244 * man.el (Man-mode-map):
1245 * startup.el (splash-screen-keymap):
1246 * simple.el (special-mode-map): Use scroll-up-command and
1247 scroll-down-command.
1248
1249 * progmodes/idlw-help.el (idlwave-help-mode-map):
1250 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1251 * net/newst-plainview.el (newsticker-mode-map):
1252 * emulation/ws-mode.el (wordstar-mode-map):
1253 * emulation/vi.el (vi-com-map):
1254 * calc/calc-graph.el (calc-graph-show-dumb):
1255 * term/sun.el (terminal-init-sun):
1256 * term/ns-win.el (global-map):
1257 * progmodes/grep.el (grep-mode-map):
1258 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1259 * mail/rmail.el (rmail-mode-map):
1260 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1261
04c52e2f
CY
1262 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1263 custom-safe-themes as special.
1264
79adf8c8
JD
12652011-10-01 Julien Danjou <julien@danjou.info>
1266
1267 * notifications.el (notifications-notify): Fix docstring.
1268
63bd50d3
PS
12692011-10-01 Per Starbäck <per@starback.se>
1270
1271 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1272
199e4c7e
MR
12732011-09-30 Martin Rudalics <rudalics@gmx.at>
1274
1275 * startup.el (command-line-1): Fix last fix by inserting
1276 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1277 (Bug#9605) and (Bug#9636)
199e4c7e 1278
fe5f08dd
EZ
12792011-09-29 Eli Zaretskii <eliz@gnu.org>
1280
1281 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1282 window is hscrolled, move by logical lines. (Bug#9607)
1283 (line-move-visual): Update the doc string to the above effect.
1284
b5516bbd
MR
12852011-09-29 Martin Rudalics <rudalics@gmx.at>
1286
ccee00c0
MR
1287 * window.el (display-buffer-record-window): When WINDOW is the
1288 selected window use `point' instead of `window-point'. (Bug#9626)
1289
b5516bbd
MR
1290 * startup.el (command-line-1): Use insert-before-markers when
1291 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1292
b5516bbd
MR
1293 * help.el (help-window): Remove variable.
1294
52aa0014
GM
12952011-09-29 Glenn Morris <rgm@gnu.org>
1296
1297 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1298
df9a7357
JB
12992011-09-29 Juanma Barranquero <lekktu@gmail.com>
1300
1301 * descr-text.el (describe-char-categories): Accept category
1302 descriptions more than one line long.
1303
a8406c20
SM
13042011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1305
88d9610c
SM
1306 * simple.el (delete-trailing-whitespace): Fix last change.
1307
a5daf810
SM
1308 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1309 Don't confuse "y => 3" as the beginning of a `y' operation.
1310
a8406c20
SM
1311 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1312 object has more than 4 slots (bug#9613).
1313
a239d4e9
JB
13142011-09-28 Juanma Barranquero <lekktu@gmail.com>
1315
1316 * subr.el (with-output-to-temp-buffer):
1317 * net/quickurl.el (quickurl, quickurl-browse-url):
1318 Fix typos in docstrings.
1319
693fbdb6
EZ
13202011-09-27 Eli Zaretskii <eliz@gnu.org>
1321
1322 * minibuffer.el (completion-styles)
1323 (completion-category-overrides): Cross reference each other in doc
1324 strings.
1325
8b457e28
GM
13262011-09-27 Glenn Morris <rgm@gnu.org>
1327
1328 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1329 to split-string. (Bug#9606)
1330
85a16208
LMI
13312011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1332
1333 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1334 (bug#9615).
1335
502f9ebd
CY
13362011-09-27 Chong Yidong <cyd@stupidchicken.com>
1337
1338 * emacs-lisp/package.el (list-packages): Fix echo area message.
1339
7690bdea
LL
13402011-09-27 Leo Liu <sdl.web@gmail.com>
1341
1342 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1343
e2ee6f30
MA
13442011-09-25 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * net/dbus.el (dbus-unregister-object): Don't release services for
1347 registered signals. (Bug#9581)
1348
f3f98342
TZ
13492011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1350
1351 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1352 function that picks between cfengine 2 and 3 support
1353 automatically. Update docs accordingly.
1354
dd7aa8dd
KH
13552011-09-22 Kenichi Handa <handa@m17n.org>
1356
1357 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1358 ZERO.
1359 (indian-itrans-v5-table-for-tamil): New variable.
1360 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1361
3f2b07f8
KM
13622011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1363
1364 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1365 that's true if the current command involved collapsing of text.
1366 It's reset to false at the beginning of the next command.
1367 (allout-post-command-business): Move the cursor to the beginning
1368 of entry if the cursor is hidden and collapsing activity just
1369 happened.
1370
371d6a61
CY
13712011-09-24 Chong Yidong <cyd@stupidchicken.com>
1372
1373 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1374 tracking (Bug#9541).
1375
2ac2721a
UJ
13762011-09-24 Ulf Jasper <ulf.jasper@web.de>
1377
1378 * net/newst-reader.el (newsticker-html-renderer)
1379 (newsticker-show-news): Automatically
343a34ff
JB
1380 load html rendering package if newsticker-html-renderer is set.
1381 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1382 let-bound" and the error "Symbol's value as variable is void:
1383 w3m-fill-column".
1384
fac7ae53
MA
13852011-09-24 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1388 Release services only if they are defined. (Bug#9581)
1389
e08b633b
RS
13902011-09-23 Richard Stallman <rms@gnu.org>
1391
e488d29c
RS
1392 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1393 distinguish start of paragraph from start of its text.
1394
19c38752
RS
1395 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1396
e08b633b
RS
1397 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1398 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1399 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1400
0a39f27e
AS
14012011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1402
1403 * international/mule-diag.el (mule-diag): Insert a newline after
1404 each fontset description.
1405
db4e950d
SM
14062011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * simple.el (delete-trailing-whitespace):
1409 Document last change; simplify.
1410
eca3f3ea
PW
14112011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1412
d68e189a
PW
1413 * simple.el (delete-trailing-whitespace): Also delete
1414 extra newlines at the end of the buffer.
1415
eca3f3ea
PW
1416 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1417 (picture-newline): Use forward-line so as to ignore fields.
1418
01c157cc
SM
14192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * subr.el (with-wrapper-hook): Fix edebug spec.
1422
022de23e
LMI
14232011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1424
1425 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1426 (bug#4538).
1427
91683089
MA
14282011-09-23 Michael Albinus <michael.albinus@gmx.de>
1429
eca3f3ea
PW
1430 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1431 Fix nasty bug using wrong cached values.
91683089 1432
5bdd6fa4
AM
14332011-09-23 Alan Mackenzie <acm@muc.de>
1434
1435 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1436
97adfb97
CY
14372011-09-23 Chong Yidong <cyd@stupidchicken.com>
1438
1439 * window.el (pop-to-buffer): Ensure right window is selected if we
1440 chose another frame.
1441
d4ef2b50
EZ
14422011-09-22 Eli Zaretskii <eliz@gnu.org>
1443
1444 * simple.el (what-cursor-position): Use get-char-property-change
1445 and next-single-char-property-change, to be able to show display
1446 properties that come from overlays as well as text properties.
1447
72258fe5
CY
14482011-09-22 Chong Yidong <cyd@stupidchicken.com>
1449
1450 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1451
1452 * cmuscheme.el (run-scheme, switch-to-scheme):
1453 * cus-edit.el (customize-group, custom-buffer-create)
1454 (customize-browse):
1455 * info.el (info):
1456 * shell.el (shell):
1457 * mail/sendmail.el (mail):
1458 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1459
8f098516
RS
14602011-09-22 Richard Stallman <rms@gnu.org>
1461
1462 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1463 move back only to line beg, don't move back over blank lines.
1464
e74f1bb6
MA
14652011-09-22 Michael Albinus <michael.albinus@gmx.de>
1466
1467 * files.el (copy-directory): Set directory attributes only in case
1468 they could be retrieved from the source directory. (Bug#9565)
1469
bfeef8b6
DK
14702011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1471
1472 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1473 (hs-find-block-beginning, hs-hide-level-recursive):
1474 Ignore strings as well as comments. (Bug#9502)
1475
7e423bb8
AS
14762011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1477
1478 * progmodes/sql.el (sql-comint-postgres):
1479 Convert port number to a string. (Bug#9566)
1480
b4d72fcf
MR
14812011-09-22 Martin Rudalics <rudalics@gmx.at>
1482
1483 * window.el (quit-window): Undedicate window when switching to
1484 previous buffer. Reported by Thierry Volpiatto
1485 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1486 (special-display-popup-frame): When popping up a new frame reset
1487 its previous buffers to nil. Simplify code.
b4d72fcf 1488
a7b88dc6
MA
14892011-09-21 Michael Albinus <michael.albinus@gmx.de>
1490
1491 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1492 and process filter, as done also in `shell-command'.
1493
cf4eacfd
MR
14942011-09-21 Martin Rudalics <rudalics@gmx.at>
1495
eca3f3ea
PW
1496 * window.el (set-window-buffer-start-and-point):
1497 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1498 Volpiatto <thierry.volpiatto@gmail.com>.
1499 (quit-window): Reword doc-string. Handle new format of
1500 quit-restore parameter. Don't delete window if it has a
1501 previous buffer we can show instead of the present one.
1502 (display-buffer-record-window): Rewrite using a new format for
1503 the quit-restore window parameter
1504 (special-display-popup-frame, display-buffer-same-window)
1505 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1506 (display-buffer-pop-up-window, display-buffer-use-some-window):
1507 Adapt symbol passed to display-buffer-record-window.
1508 * help.el (help-window-setup): Handle new format of quit-restore
1509 parameter.
1510
8d28cb95
SM
15112011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1512
94ab793f
SM
1513 * faces.el (face-list): Fix docstring (bug#9564).
1514
8d28cb95
SM
1515 * window.el (display-buffer--action-function-custom-type):
1516 Don't include internal functions in the Custom interface.
1517
3820edeb
JL
15182011-09-20 Juri Linkov <juri@jurta.org>
1519
1520 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1521 (Info-forward-node, Info-backward-node, Info-next-preorder)
1522 (Info-last-preorder): Use it. (Bug#9528)
1523
5147931d
JL
15242011-09-20 Juri Linkov <juri@jurta.org>
1525
1526 * info.el (Info-last-preorder): Visit last menu item only when
1527 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1528
cf499a1a
JD
15292011-09-20 Julien Danjou <julien@danjou.info>
1530
1531 * password-cache.el (password-cache-remove): Remove entries even if the
1532 value is nil, so that password with a nil value (negative caching) is
1533 possible to invalidate.
1534
f84e2fe2
LM
15352011-09-20 Lawrence Mitchell <wence@gmx.li>
1536
1537 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1538 all whitespace around breakpoint. (Bug#9553)
1539 (f90-find-breakpoint): Only break at whitespace inside a comment.
1540
78054a46
SM
15412011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * minibuffer.el (completion-file-name-table): Keep track of errors.
1544 (completion-table-with-predicate): Handle the case where pred1 is nil.
1545 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1546
345083b2
SM
15472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1548
e24e27be
SM
1549 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1550 (debugger-return-value): Signal an error if the debugging context does
1551 not await any return value.
1552
345083b2
SM
1553 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1554 * image-mode.el (image-toggle-display-text)
1555 (image-toggle-display-image): Stay away from evil `intangible'.
1556
08d355e3
LL
15572011-09-19 Leo Liu <sdl.web@gmail.com>
1558
1559 * replace.el (occur-revert-arguments): Make it permanent-local.
1560 (occur-mode): Don't call font-lock-defontify.
1561
f01da43f
CY
15622011-09-19 Chong Yidong <cyd@stupidchicken.com>
1563
1564 * net/ldap.el (ldap-search-internal): Don't push empty search
1565 result (Bug#9508).
1566
b6072fa6
SM
15672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1570
443d6696
MA
15712011-09-19 Michael Albinus <michael.albinus@gmx.de>
1572
1573 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1574 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1575
7cc6e154
JL
15762011-09-18 Juri Linkov <juri@jurta.org>
1577
1578 * buff-menu.el (Buffer-menu-mode-map):
1579 * dired.el (dired-mode-map):
1580 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1581 (lisp-interaction-mode-map):
1582 * emacs-lisp/package.el (package-menu-mode-map):
1583 * epa.el (epa-key-list-mode-map):
1584 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1585 (menu-bar-options-menu):
1586 * outline.el (outline-mode-menu-bar-map):
1587 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1588 * vc/vc-dir.el (vc-dir-menu-map):
1589 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1590 Capitalize non-function content words in menu item strings.
1591
1592 * dired.el (dired-mode-map): Add menu item for
1593 `image-dired-dired-toggle-marked-thumbs'.
1594
80302a81
JL
15952011-09-18 Juri Linkov <juri@jurta.org>
1596
1597 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1598 to `isearch-case-fold-search' and restore its original value
1599 after the `isearch-mode' call.
1600
46c5cf66
JL
16012011-09-18 Juri Linkov <juri@jurta.org>
1602
1603 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1604 because `zgrep' returns 1 for successful matches (bug#9226).
1605
d18b513b
JL
16062011-09-18 Juri Linkov <juri@jurta.org>
1607
1608 * info.el (Info-extract-menu-node-name): Check the second match
1609 for empty string (second test-case of bug#9528).
1610 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1611 intermediate nodes to the history (first test-case of bug#9528).
1612
72753f87
JL
16132011-09-18 Juri Linkov <juri@jurta.org>
1614
1615 * info.el (Info-mode-syntax-table): New variable.
1616 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1617
c9384295
JL
16182011-09-18 Juri Linkov <juri@jurta.org>
1619
1620 * info.el (Info-file-supports-index-cookies): Increment
1621 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1622 one more line for long file names (bug#4142).
1623
d473dce8
CY
16242011-09-18 Chong Yidong <cyd@stupidchicken.com>
1625
1626 * newcomment.el (comment-normalize-vars): If prompting for
1627 comment-start, set comment-start-skip too (Bug#8424).
1628
2176854d
JB
16292011-09-18 Johan Bockgård <bojohan@gnu.org>
1630
1631 * icomplete.el: Fix previous fix of Bug#5849.
1632 (icomplete-mode): Don't set completion-show-inline-help.
1633 (icomplete-minibuffer-setup): Set completion-show-inline-help
1634 locally during icompletion.
1635
3aace4e4
CY
16362011-09-18 Chong Yidong <cyd@stupidchicken.com>
1637
c940224f
CY
1638 * woman.el (woman2-process-escapes): Don't delete unrecognized
1639 escapes (Bug#7843).
1640
3aace4e4
CY
1641 * files.el (inhibit-first-line-modes-regexps): Add image files.
1642 (hack-local-variables-prop-line): Return nil for malformed
1643 prop-lines (Bug#9044).
1644
710dec63
MA
16452011-09-18 Michael Albinus <michael.albinus@gmx.de>
1646
1647 * net/tramp.el (top): Don't require 'shell.
1648 (tramp-methods): Fix docstring.
1649 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1650 Return complete remote file name. Handle "smb" case.
1651 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1652 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1653
1654 * net/tramp-compat.el (top): Require 'shell.
1655
1656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1657 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1658 `tramp-current-host'.
1659 (tramp-get-remote-tmpdir): Remove.
1660
1661 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1662 `tramp-tmpdir' entries.
1663 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1664 (tramp-smb-handle-file-attributes): Ignore errors.
1665 (tramp-smb-wait-for-output): Check also for process end.
1666
5d5ac8ec
LMI
16672011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1668
1669 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1670 when sending QUIT (bug#9312).
1671
8c0f49f0
CY
16722011-09-17 Chong Yidong <cyd@stupidchicken.com>
1673
1674 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1675 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1676 occur-mode-display-occurrence.
1677 (occur-edit-mode): Add usage message.
1678 (occur-cease-edit): New command.
1679 (occur-after-change-function): Use text properties to find the
1680 position of the prefix text.
1681 (occur-engine): Set stickiness of prefix text properties.
1682
8f1383f7
GM
16832011-09-17 Glenn Morris <rgm@gnu.org>
1684
1685 * progmodes/etags.el (complete-tag):
1686 Fix call to completion-in-region. (Bug#9526)
1687
744ba0e3
JL
16882011-09-17 Juri Linkov <juri@jurta.org>
1689
1690 * textmodes/ispell.el (ispell-word): Add to the error message
1691 the word, ispell program name and current dictionary (bug#9121).
1692 (ispell-tex-arg-end): Capitalize "error" in the error message.
1693
d9bbf400
AS
16942011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1695
1696 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1697 check. (Bug#4251)
1698
8da11505
JL
16992011-09-17 Juri Linkov <juri@jurta.org>
1700
1701 * window.el (window-safe-min-height, window-safe-min-width):
1702 Fix typos (followup to bug#9522).
1703
a91adc7e
SJ
17042011-09-17 Sven Joachim <svenjoac@gmx.de>
1705
1706 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1707
064f328a
EZ
17082011-09-16 Eli Zaretskii <eliz@gnu.org>
1709
1710 * simple.el (line-move): If goal-column is set, move by logical
1711 lines, not by display lines. (Bug#971)
1712 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1713 to reflect the above change.
1714
e69df516
SM
17152011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * image.el (imagemagick-register-types): Use regexp-opt.
1718
cbb0f9ab
CY
17192011-09-15 Chong Yidong <cyd@stupidchicken.com>
1720
1721 * window.el (display-buffer-base-action): Rename from
1722 display-buffer-default-action. Make default value empty.
1723 (display-buffer-overriding-action): Convert to defvar.
1724 (display-buffer-fallback-action): New var.
1725
25322144
CY
17262011-09-15 Chong Yidong <cyd@stupidchicken.com>
1727
1728 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1729 declaration.
1730 (package--add-to-archive-contents): If there is a duplicate entry
1731 with an older version, remove it.
1732 (package-menu-mark-delete, package-menu-mark-install)
1733 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1734 (package-menu-mark-obsolete-for-deletion):
1735 Use package-menu-get-status instead of a regexp search.
25322144
CY
1736 (package-menu-get-status): Use tabulated-list-entry.
1737 (package-menu-mark-upgrades): New command.
d770725a 1738 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1739 (package-menu-execute): Do installation before deletion.
1740 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1741 instead of checking major-mode.
1742 (package-menu--find-upgrades): New function.
1743
7520339c
LMI
17442011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745
1746 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1747 passwords in the log buffer.
65a046c4
LMI
1748 (smtpmail-process-filter): Update the process marker so that the
1749 "broken by peer" status message is inserted in the right place.
7520339c 1750
d3c30954
SM
17512011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1752
3fe48822
SM
1753 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1754 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1755 bibtex-completion-at-point-function.
1756 (bibtex-completion-at-point-function): Use them.
1757
1b8b3954
SM
1758 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1759
d3c30954
SM
1760 * mpc.el (mpc-constraints-tag-lookup): New function.
1761 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1762 also to browser "album|playlist".
1763
72779976
JL
17642011-09-14 Juri Linkov <juri@jurta.org>
1765
1766 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1767 (isearch-edit-string): Use length of `isearch-string' when
1768 `isearch-fail-pos' returns nil.
1769 (isearch-message): Remove duplicate code and call
1770 `isearch-fail-pos' with arg `t'.
1771
a0bf2bcd
CY
17722011-09-14 Chong Yidong <cyd@stupidchicken.com>
1773
17bb0a2d
CY
1774 * replace.el (occur-mode-goto-occurrence): Don't force using other
1775 window (Bug#9499).
1776
a0bf2bcd
CY
1777 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1778
f678e0b6
MR
17792011-09-14 Martin Rudalics <rudalics@gmx.at>
1780
1781 * window.el (display-buffer-window): Remove.
1782 (display-buffer-record-window): Use help-setup window parameter
1783 instead of variable display-buffer-window.
1784 (display-buffer-function, special-display-buffer-names)
1785 (special-display-function): Mention help-setup parameter instead
1786 of display-buffer-window in doc-string.
d3c30954
SM
1787 * help.el (help-window-setup): New argument help-window.
1788 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1789 Reword some messages.
1790 (with-help-window): Pass window used for displaying the buffer
1791 to help-window-setup. Don't set display-buffer-window.
1792
8e39b2e8
GM
17932011-09-13 Glenn Morris <rgm@gnu.org>
1794
1795 * emacs-lisp/debug.el (debugger-make-xrefs):
1796 Preserve point. (Bug#9462)
1797
85e9c04b
CY
17982011-09-13 Chong Yidong <cyd@stupidchicken.com>
1799
1800 * window.el (window-deletable-p): Use next-frame.
1801
1b36ed6a
MR
18022011-09-13 Martin Rudalics <rudalics@gmx.at>
1803
1804 * window.el (window-auto-delete): Remove.
1805 (window-deletable-p): Remove argument FORCE. Don't deal with
1806 dedicatedness and previous buffers.
1807 (switch-to-prev-buffer): Don't delete window.
1808 (delete-windows-on): Delete a window's frame if and only if the
1809 window is dedicated.
1810 (replace-buffer-in-windows): Delete buffer's window or frame if
1811 and only if window is dedicated.
1812 (quit-window): Handle quit-restore as before last change.
4d61f28d 1813 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1814
ef8ef9fb
CY
18152011-09-13 Chong Yidong <cyd@stupidchicken.com>
1816
1817 * window.el (window-deletable-p): Never delete the last frame on a
1818 given terminal.
1819
b2cba41e
GM
18202011-09-13 Glenn Morris <rgm@gnu.org>
1821
1822 * help.el (describe-key-briefly): Copy previous standard-output change.
1823
51553db6 18242011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1825
1826 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1827
b7556719
GM
18282011-09-13 Glenn Morris <rgm@gnu.org>
1829
1830 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1831 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1832
64b51947
CY
18332011-09-12 Chong Yidong <cyd@stupidchicken.com>
1834
1835 * dired-aux.el (dired-mark-read-string): Don't return default
1836 value on empty input (Bug#9361).
1837 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1838 Omit initial minibuffer contents.
1839 (dired-do-chmod): Signal an error on empty input.
1840 (dired-mark-read-string): Don't return default on empty input.
1841
1842 * files.el (file-modes-symbolic-to-number): Doc fix.
1843
393a301e
SM
18442011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * international/mule-cmds.el (ucs-completions): Remove.
1847 (read-char-by-name): Use complete-with-action instead; add metadata.
1848
fa5660f9
CY
18492011-09-11 Chong Yidong <cyd@stupidchicken.com>
1850
1851 * window.el (display-buffer--action-function-custom-type)
1852 (display-buffer--action-custom-type): New vars.
1853 (display-buffer-alist, display-buffer-default-action)
1854 (display-buffer-overriding-action): Add defcustom types.
1855
4a592f66
CY
1856 * frame.el (delete-other-frames): Doc fix (Bug#276).
1857
73d56dbd
LMI
18582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1859
1860 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1861
37ac18a3
CY
18622011-09-11 Chong Yidong <cyd@stupidchicken.com>
1863
1864 Change modes that used same-window-* vars to use switch-to-buffer.
1865
1866 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1867 Use switch-to-buffer.
1868
1869 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1870 (customize-browse, custom-buffer-create-other-window):
1871 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1872
1873 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1874 (Info-prev, Info-up, Info-speedbar-goto-node)
1875 (info-display-manual): Use switch-to-buffer.
1876 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1877
1878 * mail/sendmail.el (mail): Use switch-to-buffer.
1879 (mail-recover): Use switch-to-buffer-other-window.
1880
1881 * cmuscheme.el (run-scheme, switch-to-scheme):
1882 * ielm.el (ielm):
1883 * shell.el (shell):
1884 * net/rlogin.el (rlogin):
1885 * net/telnet.el (telnet, rsh):
1886 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1887
10195bd6
AS
18882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1889
1890 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1891
b322f63a
LMI
18922011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1893
39d7fed6
LMI
1894 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1895 so don't mention it (bug#9301).
ba5a81f1 1896 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1897
ee0e9f11
LMI
1898 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1899 match `x', `w32' and `ns', like the manual says (bug#9029).
1900
0b1c89c1 1901 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1902 (process-kill-buffer-query-function): Mention the buffer name in
1903 the query.
0b1c89c1 1904
77549ea8
LMI
1905 * image-mode.el (image-next-line): The line parameter is mandatory
1906 (bug#9258).
1907
803ef892
LMI
1908 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1909 which can be useful (bug#9301).
1910
12980837
LMI
1911 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1912
91054f8f
LMI
1913 * subr.el (match-string): Mention that the current buffer should
1914 be the same as the search was done in (bug#9282).
1915
b322f63a
LMI
1916 * facemenu.el: Disable the remove-* commands if the mark isn't
1917 active (bug#9162).
1918
3199b96f
CY
19192011-09-10 Chong Yidong <cyd@stupidchicken.com>
1920
1921 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1922 of display-buffer.
1923 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1924
1925 * replace.el (occur-mode-goto-occurrence)
1926 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1927 and display-buffer.
1928
1929 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1930 display-buffer.
1931
1932 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1933 special-display and same-window variables.
1934 (mail-other-window): Use switch-to-buffer-other-window.
1935 (mail-other-frame): USe switch-to-buffer-other-frame.
1936
393a301e
SM
1937 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1938 Use display-buffer-other-frame.
3199b96f
CY
1939 (gdb-display-gdb-buffer): Use pop-to-buffer.
1940
1941 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1942
1943 * progmodes/python.el: Don't set same-window-buffer-names.
1944
1945 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1946
1947 * window.el (display-buffer-alist): Add *Python*.
1948
8319e0bf
CY
19492011-09-10 Chong Yidong <cyd@stupidchicken.com>
1950
1951 * window.el (display-buffer-alist): Add entry for buffers
1952 previously handled same-window-*.
1953 (display-buffer-alist, display-buffer-default-action)
1954 (display-buffer-overriding-action): Mark as risky.
1955 (display-buffer-alist): Document action function changes.
1956 (display-buffer--same-window-action)
1957 (display-buffer--other-frame-action): New variables.
1958 (switch-to-buffer, display-buffer-other-frame): Use them.
1959 (display-buffer): Rename reuse-frame entry to reusable-frames.
1960 (display-buffer-reuse-selected-window): Function deleted.
1961 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1962 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1963 (display-buffer-special): New function.
1964 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1965 display-buffer-reuse-or-pop-window. Split off special-display
1966 part into display-buffer-special.
1967 (display-buffer-use-some-window): Don't perform any special
1968 pop-up-frames handling.
1969 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1970 (display-buffer--maybe-same-window): Rename from
0d3ff375 1971 display-buffer-maybe-same-window.
8319e0bf 1972
919a69aa
CY
1973 * info.el: Don't set same-window-regexps.
1974 (info-setup): New function.
1975 (info-other-window, info): Call it.
1976
1977 * cus-edit.el: Don't set same-window-regexps.
1978 (customize-group): New argument.
1979 (customize-group-other-window): Use it.
1980 (customize-face, customize-face-other-window): Likewise.
1981 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1982
8319e0bf
CY
1983 * net/rlogin.el:
1984 * net/telnet.el:
1985 * progmodes/gud.el: Don't set same-window-regexps.
1986
1987 * cmuscheme.el:
1988 * ielm.el:
1989 * shell.el:
1990 * mail/sendmail.el:
1991 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1992
25173000
JL
19932011-09-10 Juri Linkov <juri@jurta.org>
1994
1995 * isearch.el (isearch-edit-string): Remove obsolete mention of
1996 `C-w' (`isearch-yank-word-or-char') from docstring.
1997 (isearch-query-replace): Fix typo in docstring (bug#9466).
1998
056e44ef
JL
19992011-09-10 Juri Linkov <juri@jurta.org>
2000
2001 * paren.el (show-paren-function): Don't show escaped parens.
2002 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2003
c3760c17
EZ
20042011-09-10 Eli Zaretskii <eliz@gnu.org>
2005
2006 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2007 (mm-default-file-encoding): Remove autoload forms, they are
2008 replaced with autoload cookies in mml.el and mm-encode.el.
2009 (mail-add-attachment): New command.
2010 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2011 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2012 the doc string.
2013 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2014
fece895e
RT
20152011-09-10 Reuben Thomas <rrt@sc3d.org>
2016
e69df516
SM
2017 * simple.el (count-words-region): Use buffer if there's no region
2018 (bug#9429).
fece895e 2019
5e68ce4a
JL
20202011-09-09 Juri Linkov <juri@jurta.org>
2021
2022 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2023 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2024 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2025
0a6b9622
AM
20262011-09-09 Alan Mackenzie <acm@muc.de>
2027
2028 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2029 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2030
14a29deb
EZ
20312011-09-09 Eli Zaretskii <eliz@gnu.org>
2032
2033 Fix for Savannah bug#9392.
2034 * simple.el (mail-encode-mml): New defvar.
2035
2036 * mail/rmail.el (mail-encode-mml): Add a defvar.
2037 (rmail-enable-mime-composing): Default to t.
2038 (rmail-forward): Use MIME method of forwarding only if both
2039 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2040 Set mail-encode-mml non-nil if the MIME method was used.
2041
2042 * mail/sendmail.el (mml-to-mime): Add autoload form.
2043 (mail-encode-mml): Add a defvar.
2044 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2045 to nil.
2046 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2047 message through mml-to-mime, and reset mail-encode-mml to nil.
2048
28c45130
GM
20492011-09-09 Glenn Morris <rgm@gnu.org>
2050
2051 * woman.el (woman-if-body): When processing an .el block,
2052 do not delete the next .el block as well. (Bug#9447)
69f4b618 2053 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2054
9b1c252e
MR
20552011-09-08 Martin Rudalics <rudalics@gmx.at>
2056
2057 * window.el (window-deletable-p): Make sure window is live before
2058 invoking window-prev-buffers.
2059
567457e3
LL
20602011-09-08 Leo Liu <sdl.web@gmail.com>
2061
2062 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2063
97f05794
JL
20642011-09-08 Juri Linkov <juri@jurta.org>
2065
2066 * progmodes/compile.el (compilation-environment): Make it
2067 a defcustom (bug#8340).
2068
8b0874b5
MR
20692011-09-08 Martin Rudalics <rudalics@gmx.at>
2070
2071 * window.el (frame-auto-delete): Rename to window-auto-delete.
2072 Make it control auto-deletion of windows and/or frames.
2073 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2074 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2075 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2076 Rewrite handling of case when window/frame can be deleted.
2077 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2078 argument t. (Bug#9456)
8b0874b5 2079
4feb6e73
CY
20802011-09-07 Chong Yidong <cyd@stupidchicken.com>
2081
2082 * help-mode.el (help-mode): Restore autoload.
2083
91ab9c13
JL
20842011-09-07 Juri Linkov <juri@jurta.org>
2085
2086 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2087 `compilation-environment'. Set buffer-local
2088 `compilation-environment' to `thisenv' later after (funcall mode).
2089 (Bug#8340)
2090
2091 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2092 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2093 instead of replacing its value. (Bug#8340)
2094
0527e251
JL
20952011-09-07 Juri Linkov <juri@jurta.org>
2096
2097 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2098 based on text properties put by `grep-filter' instead of matching
2099 escape sequences.
2100 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2101 to the value of `grep-error-screen-columns' (bug#9438).
2102
249f792c
JL
21032011-09-07 Juri Linkov <juri@jurta.org>
2104
2105 * simple.el (next-error-highlight, next-error-highlight-no-select):
2106 Doc fix (bug#9432).
2107
ff7271b9
OT
21082011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2109
2110 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2111 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2112
183fc730
LL
21132011-09-07 Leo Liu <sdl.web@gmail.com>
2114
2115 * net/rcirc.el (rcirc-mode): Conditionally initialize
2116 rcirc-input-ring.
2117
77694924
SM
21182011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * emacs-lisp/find-func.el (find-function-C-source): Only set
2121 find-function-C-source-directory after checking that we found a source
2122 file there (bug#9440).
2123
d809b8eb
AM
21242011-09-06 Alan Mackenzie <acm@muc.de>
2125
2126 * isearch.el (isearch-other-meta-char): Wherever a key list is
2127 unread, "unread" the prefix arg, too. This fixes bug #8901.
2128
453de99f
OG
21292011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2130
2131 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2132
90439906
JL
21332011-09-05 Juri Linkov <juri@jurta.org>
2134
2135 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2136
f62bd846
JL
21372011-09-05 Juri Linkov <juri@jurta.org>
2138
2139 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2140 keeping point where processing of grep matches begins, and
2141 continue to delete remaining escape sequences from the same point.
2142 (grep-filter): Make leading zero optional in "0?1;31m" because
2143 git-grep emits "\033[1;31m" escape sequences unlike expected
2144 "\033[01;31m" as GNU Grep does (bug#9408).
2145 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2146
045820ec
JL
21472011-09-05 Juri Linkov <juri@jurta.org>
2148
2149 * subr.el (y-or-n-p): Capitalize "yes".
2150
f5e29b9b
MA
21512011-09-04 Michael Albinus <michael.albinus@gmx.de>
2152
2153 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2154 `tramp-cache-unload-hook' where appropriate.
2155 (tramp-methods): Rename `tramp-remote-sh' to
2156 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2157 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2158
2159 * net/tramp-sh.el (top): Don't require 'shell.
2160 (tramp-methods): Add `tramp-remote-shell' and
2161 `tramp-remote-shell-args' entries.
2162 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2163 (tramp-sh-handle-shell-command): Remove.
2164 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2165 Use `tramp-remote-shell'.
2166
2784c434
CY
21672011-09-03 Chong Yidong <cyd@stupidchicken.com>
2168
393a301e 2169 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2170 (sendmail-query-once): Save directly to send-mail-function.
2171 Update message-send-mail-function too.
2172
2173 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2174
464cdf56
CS
21752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2176
2177 * progmodes/python.el (python-mode-map): Use correct function to
2178 start python interpreter from menu-bar (as reported by Geert
2179 Kloosterman).
2180 (inferior-python-mode-map): Fix typo.
393a301e 2181 (python-shell-map): Remove.
464cdf56 2182
d37e5c87
DD
21832011-09-03 Deniz Dogan <deniz@dogan.se>
2184
2185 * net/rcirc.el (rcirc-print): Simplify code for
2186 rcirc-scroll-show-maximum-output. There is no need to walk
2187 through all windows to find the right one.
2188
f3ada0ee
CS
21892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2190
2191 * help.el (help-return-method): Doc fix.
2192
1f3c99ca
MR
21932011-09-03 Martin Rudalics <rudalics@gmx.at>
2194
2195 * window.el (window-deletable-p): Don't return a non-nil value
2196 when there's a buffer that was shown in the window before.
2197 (Bug#9419)
393a301e
SM
2198 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2199 Set window's previous buffers to nil.
1f3c99ca 2200
a3cf097f
EZ
22012011-09-03 Eli Zaretskii <eliz@gnu.org>
2202
2203 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2204 newline before and after the tag line, so it doesn't interfere
2205 with determining the paragraph direction of bidirectional text.
2206
3d03de90
LL
22072011-09-03 Leo Liu <sdl.web@gmail.com>
2208
2209 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2210
c3313451
CY
22112011-09-02 Chong Yidong <cyd@stupidchicken.com>
2212
393a301e 2213 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2214 (pop-to-buffer): Change interactive spec. Pass second argument
2215 directly to display-buffer.
2216 (display-buffer): Fix interactive spec. Use functionp to
2217 distinguish between a function and a list of functions.
2218
2219 * abbrev.el (edit-abbrevs):
2220 * arc-mode.el (archive-extract):
2221 * autoinsert.el (auto-insert):
2222 * bookmark.el (bookmark-bmenu-list):
2223 * files.el (find-file):
2224 * view.el (view-buffer):
2225 * progmodes/compile.el (compilation-goto-locus):
2226 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2227
89894cd8
CY
22282011-09-02 Chong Yidong <cyd@stupidchicken.com>
2229
2230 * window.el (display-buffer-alist): Doc fix.
2231 (display-buffer): Add docstring. Don't treat
2232 display-buffer-default specially.
2233 (display-buffer-reuse-selected-window)
2234 (display-buffer-same-window, display-buffer-maybe-same-window)
2235 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2236 (display-buffer-pop-up-window)
2237 (display-buffer-reuse-or-pop-window)
2238 (display-buffer-use-some-window): New functions.
2239 (display-buffer-default-action): Use them.
393a301e 2240 (display-buffer-default): Delete.
89894cd8
CY
2241 (pop-to-buffer-1): Fix choice of actions.
2242
ae0bc9fb
SM
22432011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * minibuffer.el (completion--insert-strings): Don't get confused by
2246 completion entries that end with an LF char.
2247
e9d90883
EZ
22482011-09-01 Eli Zaretskii <eliz@gnu.org>
2249
2250 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2251
437014c8
CY
22522011-09-01 Chong Yidong <cyd@stupidchicken.com>
2253
2254 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2255 (display-buffer-same-window, display-buffer-other-window):
2256 New functions.
437014c8
CY
2257 (pop-to-buffer-1): New function. Use the above.
2258 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2259 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2260
2261 * view.el (view-buffer-other-window, view-buffer-other-frame):
2262 Just use pop-to-buffer.
2263
a5e063d5
TV
22642011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2265
2266 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2267
793d32bb
WH
22682011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2269
2270 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2271
d65e4c15
RS
22722011-08-31 Richard Stallman <rms@gnu.org>
2273
2274 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2275 of the separation of rmail-view-buffer from rmail-buffer.
2276 If you say no to "replace original", the decrypt is in the
2277 view buffer. If you say yes, the decrypt goes into the
2278 rmail buffer also.
2279
f818cd2a
MR
22802011-08-31 Martin Rudalics <rudalics@gmx.at>
2281
2282 * window.el (display-buffer-window): Rewrite doc-string.
2283 (display-buffer-record-window): New function.
2284 (display-buffer-macro-specifiers)
2285 (display-buffer-even-window-sizes, display-buffer-set-height)
2286 (display-buffer-set-width, display-buffer-in-window)
2287 (display-buffer-reuse-window, display-buffer-split-specifiers)
2288 (display-buffer-side-specifiers, display-buffer-split-window-1)
2289 (display-buffer-split-window, display-buffer-split-atom-window)
2290 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2291 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2292 (display-buffer-other-window-means-other-frame)
2293 (display-buffer-normalize-special)
2294 (display-buffer-normalize-default)
2295 (display-buffer-normalize-argument)
2296 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2297 (display-buffer-normalize-specifiers, display-buffer-frame)
2298 (display-buffer-same-window, display-buffer-same-frame)
2299 (display-buffer-other-window)
2300 (display-buffer-same-frame-other-window)
2301 (display-buffer-other-frame, pop-to-buffer-same-window)
2302 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2303 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2304 (switch-to-buffer-same-frame)
2305 (switch-to-buffer-other-window-same-frame)
2306 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2307 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2308 (display-buffer-alist-set): Remove.
2309 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2310 (special-display-regexps, special-display-function):
2311 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2312 parameter.
2313 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2314 (special-display-frame-alist, special-display-popup-frame)
2315 (same-window-buffer-names, same-window-regexps, same-window-p)
2316 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2317 (split-window-preferred-function, split-height-threshold)
2318 (split-width-threshold, window-splittable-p)
2319 (split-window-sensibly, window--try-to-split-window)
2320 (window--frame-usable-p, even-window-heights)
2321 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2322 (window--display-buffer-2, display-buffer-other-frame):
2323 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2324 (display-buffer-default, display-buffer-assq-regexp): New functions.
2325 (display-buffer-alist): Rewrite doc-string.
2326 (display-buffer-default-action)
2327 (display-buffer-overriding-action): New variables.
2328 (display-buffer, switch-to-buffer): Rewrite.
2329 (pop-to-buffer): Restore Emacs 23 behavior but use
2330 window-normalize-buffer-to-display.
2331 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2332 Restore Emacs 23 behavior but use
2333 window-normalize-buffer-to-switch-to.
2334 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2335 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2336 Rewrite using Emacs 23 options.
f818cd2a 2337
5bc3b51d
MA
23382011-08-31 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * net/tramp.el (tramp-root-regexp): Remove.
2341 (tramp-completion-file-name-regexp-unified)
2342 (tramp-completion-file-name-regexp-separate)
2343 (tramp-completion-file-name-regexp-url): Don't use leading volume
2344 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2345 (tramp-drop-volume-letter): Simplify definition.
2346 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2347
b1a4f8e1
SM
23482011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2351 (bug#9356).
2352
5664fa7b
RT
23532011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2354
b1a4f8e1 2355 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2356
9a45d6c3
JL
23572011-08-29 Juri Linkov <juri@jurta.org>
2358
2359 * isearch.el (isearch-done): Don't display message "Mark saved"
2360 when arg `edit' is non-nil to prevent its flicker in the echo area.
2361
fb87e0fb
CY
23622011-08-28 Chong Yidong <cyd@stupidchicken.com>
2363
2364 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2365 obsolete packages for deletion.
2366
09ac1c2a
CS
23672011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2368
2369 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2370 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2371 view-mode from help-mode.
2372 (help-xref-override-view-map): Remove.
2373 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2374 view-mode is not used anymore.
2375
7a1ff57f
CY
23762011-08-28 Chong Yidong <cyd@stupidchicken.com>
2377
2378 * server.el (server-port): Doc fix.
2379
b9696605
CY
2380 * cus-theme.el (custom-theme-choose-mode): Inherit from
2381 special-mode (Bug#9124).
2382 (custom-theme-choose-mode-map): Add special-mode to parent.
2383
ef8cdf8c
AM
23842011-08-28 Alan Mackenzie <acm@muc.de>
2385
2386 * progmodes/cc-fonts.el
2387 (c-make-font-lock-BO-decl-search-function): New function.
2388 (c-basic-matchers-after - "Fontify the clauses after various
2389 keywords"): Extract the three keyword lists for the 3 erroneous
2390 constructs from the list of four, and use the new function above
2391 in place of an old one.
2392
27de4e20
DD
23932011-08-28 Deniz Dogan <deniz@dogan.se>
2394
2395 * net/rcirc.el (rcirc-insert-prev-input)
2396 (rcirc-insert-next-input): Remove unused argument.
2397
356a3681
SM
23982011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2401
3fc9b218
AM
24022011-08-27 Alan Mackenzie <acm@muc.de>
2403
2404 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2405 handle function pointer parameters properly.
2406
538a061c
MR
24072011-08-27 Martin Rudalics <rudalics@gmx.at>
2408
2409 * window.el (display-buffer-reuse-window): Fix case where
2410 selected window was reused with non-nil OTHER-WINDOW argument.
2411 (Bug#9381)
2412
35b1c40c
DD
24132011-08-27 Deniz Dogan <deniz@dogan.se>
2414
2415 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2416 oftc's NickServ messages.
2417
2f6a3e79
GM
24182011-08-27 Glenn Morris <rgm@gnu.org>
2419
2420 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2421
7254299e
CY
24222011-08-26 Chong Yidong <cyd@stupidchicken.com>
2423
2424 * emacs-lisp/package.el (package-install): Call package-initialize
2425 if called interactively.
2426
f8ccf167
LL
24272011-08-26 Leo Liu <sdl.web@gmail.com>
2428
2429 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2430
3e8cd5ce
JL
24312011-08-25 Juri Linkov <juri@jurta.org>
2432
2433 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2434 `search-whitespace-regexp' (bug#9364).
2435
93eb7113
JL
24362011-08-25 Juri Linkov <juri@jurta.org>
2437
2438 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2439 `regexp-search-ring' to their global values to protect from
2440 updating by `read-from-minibuffer' (bug#9185).
2441
f65d1611
JL
24422011-08-25 Juri Linkov <juri@jurta.org>
2443
2444 * textmodes/ispell.el (ispell-command-loop): Add newline
2445 at the end of the "Use option `i'..." line.
2446
f1cf7a31
JL
24472011-08-25 Juri Linkov <juri@jurta.org>
2448
2449 * battery.el (display-battery-mode): If `battery-status-function'
2450 or `battery-mode-line-format' is nil, display the message and set
2451 `display-battery-mode' to nil (bug#9363).
2452
0c95fcf7
EZ
24532011-08-25 Eli Zaretskii <eliz@gnu.org>
2454
2455 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2456 bidi-string-mark-left-to-right; they are unnecessary now.
2457
a2ebe600
DD
24582011-08-25 Deniz Dogan <deniz@dogan.se>
2459
2460 * net/quickurl.el: Documentation typo fixes.
2461
e4ed06f1
CY
24622011-08-25 Chong Yidong <cyd@stupidchicken.com>
2463
2464 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2465
e5f1c99e
GM
24662011-08-25 Glenn Morris <rgm@gnu.org>
2467
b2948976
GM
2468 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2469
e5f1c99e
GM
2470 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2471 (smtpmail-via-smtp): Handle nil response from smtp.
2472
f22f4808
JL
24732011-08-24 Juri Linkov <juri@jurta.org>
2474
2475 * proced.el (proced-marked): Inherit from `error' instead of
2476 `font-lock-warning-face'.
2477
2478 * ibuffer.el (ibuffer-marked-face): Change default face from
2479 `font-lock-warning-face' to `warning'.
2480 (ibuffer-deletion-face): Change default face from
2481 `font-lock-type-face' to `error'.
2482
2483 * battery.el (battery-update): Use the face `error' instead of
2484 `font-lock-warning-face' (bug#6117).
2485
6a93965e
JL
24862011-08-24 Juri Linkov <juri@jurta.org>
2487
2488 * faces.el (success): Change face color from "Green3" to
2489 "ForestGreen" on light background (bug#9353).
2490
1ed43b09
CY
24912011-08-24 Chong Yidong <cyd@stupidchicken.com>
2492
5664fa7b
RT
2493 * window.el (quit-window): Rename from quit-restore-window.
2494 Use same arglist as old quit-window.
1ed43b09
CY
2495 (frame-auto-delete): Doc fix.
2496
2497 * view.el (view-mode-exit): Use quit-window.
2498
11dcdbb2
JL
24992011-08-24 Juri Linkov <juri@jurta.org>
2500
2501 * isearch.el (isearch-ring-adjust1): Start visiting previous
2502 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2503 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2504 for empty search string (when the last search string is reused
2505 automatically) to adjust the isearch ring to the last element and
2506 prepare the correct index for further M-p commands (bug#9185).
2507
de62b4df
KH
25082011-08-24 Kenichi Handa <handa@m17n.org>
2509
2510 * international/ucs-normalize.el: If decomposition property of
2511 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2512 nil.
2513 (nfd, nfkd): Likewise.
2514
963b492b
SM
25152011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2518 from process filters aren't reliably transmitted to the surrounding
2519 accept-process-output.
2520 (mpc-proc-check): New function.
2521 (mpc-proc-sync): Use it (bug#8293)
2522
93b6b5e1
SM
25232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2526 Add compatibility functions (bug#9313).
2527
bca633fb
EZ
25282011-08-23 Eli Zaretskii <eliz@gnu.org>
2529
b177498a
EZ
2530 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2531
bca633fb
EZ
2532 * international/uni-bidi.el: Regenerated.
2533
0902a04e
KH
25342011-08-23 Kenichi Handa <handa@m17n.org>
2535
2536 * international/charprop.el:
2537 * international/uni-bidi.el:
2538 * international/uni-category.el:
2539 * international/uni-combining.el:
2540 * international/uni-comment.el:
2541 * international/uni-decimal.el:
2542 * international/uni-decomposition.el:
2543 * international/uni-digit.el:
2544 * international/uni-lowercase.el:
2545 * international/uni-mirrored.el:
2546 * international/uni-name.el:
2547 * international/uni-numeric.el:
2548 * international/uni-old-name.el:
2549 * international/uni-titlecase.el:
2550 * international/uni-uppercase.el: Regenerate.
2551
3bbf23bc
MR
25522011-08-23 Martin Rudalics <rudalics@gmx.at>
2553
2554 * help.el (help-window-setup): Fix message displayed when other
2555 window is reused. (Bug#9341)
2556
b3fd59bd
SM
25572011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2558
1802e444
SM
2559 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2560 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2561
b3fd59bd
SM
2562 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2563 Mark obsolete.
2564 * shell.el (shell-parse-pcomplete-arguments): New function.
2565 (shell-completion-vars): Use it instead (bug#9160).
2566
4eb61348
SM
25672011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2568
867cab74
SM
2569 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2570 strings and comments (bug#9333).
2571
4eb61348
SM
2572 * emacs-lisp/debug.el (debug-arglist): New function.
2573 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2574 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2575
262a1439
JL
25762011-08-22 Juri Linkov <juri@jurta.org>
2577
56ee679c
JL
2578 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2579 Revert regexp that highlights output switches to its old
2580 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2581
262a1439
JL
2582 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2583 to check for empty output (bug#9226).
2584
f13f86fb
CY
25852011-08-22 Chong Yidong <cyd@stupidchicken.com>
2586
2587 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2588 symbol-constituent as the default, as that stops font-lock from
2589 working properly (Bug#8843).
2590
c65c9622
LMI
25912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2592
2593 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2594 `coding-system-for-*' around the process open call to avoid
2595 auth-source side effects.
e7f2c178 2596 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2597 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2598 probe hangs.
c65c9622 2599
23a8a5ab
CY
26002011-08-21 Chong Yidong <cyd@stupidchicken.com>
2601
ff98b2dd
CY
2602 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2603
23a8a5ab
CY
2604 * emacs-lisp/find-func.el (find-function-noselect): New arg
2605 lisp-only.
2606
2607 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2608 signal an error for built-in functions (Bug#6664).
2609
f5e3c598
LMI
26102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2611
2612 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2613 (smtpmail-try-auth-methods): Use it.
2614
a3f2468a
CY
26152011-08-21 Chong Yidong <cyd@stupidchicken.com>
2616
2c34e8da
CY
2617 * font-lock.el (font-lock-fontify-region)
2618 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2619 (font-lock-default-unfontify-buffer)
2620 (font-lock-default-fontify-region)
2621 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2622
b3fd59bd
SM
2623 * progmodes/compile.el (compilation-error-properties):
2624 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2625 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2626 `ant' regexp.
ee31aabc 2627
a3f2468a
CY
2628 * net/browse-url.el (browse-url-firefox): Don't call
2629 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2630
8e999f70
GM
26312011-08-20 Glenn Morris <rgm@gnu.org>
2632
c21a496a
GM
2633 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2634
59ee0542
GM
2635 * tutorial.el (tutorial--default-keys): Update some default bindings.
2636
8e999f70
GM
2637 * files.el (hack-local-variables): Fully ignore case for "mode:".
2638
e3715033
AM
26392011-08-20 Alan Mackenzie <acm@muc.de>
2640
2641 Resolve invalid use of a regexp in regexp-opt.
2642
4d61f28d
JB
2643 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2644 detection for a java annotation.
e3715033 2645
4d61f28d 2646 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2647 detection for a java annotation.
2648
4d61f28d
JB
2649 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2650 handling for java.
e3715033
AM
2651 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2652
04ed2e9c
CY
26532011-08-20 Chong Yidong <cyd@stupidchicken.com>
2654
2655 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2656 (Bug#9274).
2657
826cee64
AM
26582011-08-20 Alan Mackenzie <acm@muc.de>
2659
58179cce 2660 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2661 such a construct. Mainly for when jit-lock etc. starts a chunk
2662 here.
2663
58179cce 2664 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2665 variable.
58179cce 2666 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2667 c-make-font-lock-search-function.
2668 (c-make-font-lock-search-function): Use the above function.
2669 (c-make-font-lock-context-search-function): New function.
2670 (c-cpp-matchers): Enhance the preprocessor expression case with
2671 the above function
2672 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2673 which takes an expression.
2674
2675 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2676
13009bd8
MR
26772011-08-20 Martin Rudalics <rudalics@gmx.at>
2678
2679 * window.el (display-buffer-reuse-window)
2680 (display-buffer-pop-up-window): Don't reuse or split a side
2681 window.
2682
9234ff7f
GM
26832011-08-19 Glenn Morris <rgm@gnu.org>
2684
2685 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2686 Downcase "Mode:". (Bug#9331)
9234ff7f 2687
f635daa1
CY
26882011-08-18 Chong Yidong <cyd@stupidchicken.com>
2689
2690 * international/characters.el: Add L and R categories.
2691
2692 * subr.el (bidi-string-mark-left-to-right): Rename from
2693 string-mark-left-to-right. Use category search.
2694
2695 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2696
bc987f8b
JL
26972011-08-18 Juri Linkov <juri@jurta.org>
2698
2699 * faces.el (error, warning, success): New faces with definitions
2700 copied from old default values of `font-lock-warning-face',
2701 `compilation-warning', `compilation-info' (bug#6117).
2702
2703 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2704
2705 * progmodes/compile.el (compilation-error): Inherit from `error'.
2706 (compilation-warning): Inherit from `warning'.
2707 (compilation-info): Inherit from `success'.
2708
2709 * dired.el (dired-marked): Inherit from `warning'.
2710 (dired-flagged): Inherit from `error'.
2711
57173b96
LMI
27122011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2713
3e79eb87
LMI
2714 * mail/smtpmail.el (auth-source): Require to avoid problems with
2715 binding variables (bug#9298). Also clean up some unused
2716 autoloads.
2717
b3fd59bd
SM
2718 * net/network-stream.el (network-stream-open-starttls):
2719 Support using starttls.el without using gnutls-cli.
57173b96 2720
02b404de
JL
27212011-08-17 Juri Linkov <juri@jurta.org>
2722
2723 * progmodes/grep.el (rgrep): Handle the case when
2724 `grep-find-command' is a cons cell (bug#9278).
2725
8c9177f2
MR
27262011-08-17 Martin Rudalics <rudalics@gmx.at>
2727
2728 * window.el (display-buffer-pop-up-frame): Run frame creation
2729 function with BUFFER current (as special-display-popup-frame
2730 does). Reported by Drew Adams.
2731
3644a0ab
DU
27322011-08-17 Daiki Ueno <ueno@unixuser.org>
2733
2734 * epa-mail.el: Simplify GnuPG group expansion using
2735 epg-expand-group.
2736 (epa-mail-group-alist, epa-mail-group-modtime)
2737 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2738 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2739 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2740 Remove.
2741
5e617bc2 27422011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2743
2744 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2745
9c4aeabf
AM
27462011-08-16 Alan Mackenzie <acm@muc.de>
2747
2748 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2749 Correct, to avoid the inside of macros.
2750
3a99bf64
RS
27512011-08-16 Richard Stallman <rms@gnu.org>
2752
04963aa8
RS
2753 * epa-mail.el: Handle GnuPG group definitions.
2754 (epa-mail-group-alist, epa-mail-group-modtime)
2755 (epa-mail-gnupg-conf-file): New variables.
2756 (epa-mail-parse-groups, epa-mail-sync-groups)
2757 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2758 (epa-mail-expand-recipients): New functions.
2759 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2760
177549d0
RS
2761 * mail/rmail.el (rmail-epa-decrypt): New command.
2762
fe38beef
RS
2763 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2764 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2765 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2766 (epa-decrypt-armor-in-region): Make error message clearer.
2767
934eacb9
SM
27682011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2771 and "a2b" to "ab" for `prefix'.
2772
d024fb4e
CY
27732011-08-14 Chong Yidong <cyd@stupidchicken.com>
2774
2775 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2776 filter groups.
de148fee
CY
2777 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2778 Fourquet (Bug#8804).
d024fb4e 2779
62f1ca49
JB
27802011-08-12 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * startup.el (argi): Declare as global variable (bug#9275).
2783
9ccaaa4b
CY
27842011-08-12 Chong Yidong <cyd@stupidchicken.com>
2785
2786 * subr.el (string-mark-left-to-right): Search the entire string
2787 for RTL script, not just the terminating character. Doc fix.
2788
a3dae87a
SM
27892011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2790
6cd18349
SM
2791 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2792 New function.
2793 (js--regexp-literal, js-syntax-propertize-function): Remove.
2794 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2795 (js-mode-map): Don't rebind electric keys.
2796 (js-insert-and-indent): Remove.
2797 (js-mode): Setup electric-layout and electric-indent instead.
2798
a3dae87a
SM
2799 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2800
9d5cb631
DU
28012011-08-12 Daiki Ueno <ueno@unixuser.org>
2802
2803 * epa.el (epa-progress-callback-function): Fix the logic of
2804 displaying progress.
2805 * epa-file.el (epa-file-insert-file-contents): Make progress
2806 display more user-friendly.
2807 (epa-file-write-region): Ditto.
2808
3e26a4a2
CY
28092011-08-10 Chong Yidong <cyd@stupidchicken.com>
2810
2811 * subr.el (string-mark-left-to-right): New function.
2812
2813 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2814 Use string-mark-left-to-right.
2815 (list-buffers-noselect): Caller changed.
2816
a3dae87a
SM
2817 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2818 Use string-mark-left-to-right.
3e26a4a2
CY
2819 (tabulated-list-print): Recenter after moving point.
2820
ac8cf6e6
JL
28212011-08-10 Juri Linkov <juri@jurta.org>
2822
2823 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2824 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2825 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2826
8d96c9a4
CY
28272011-08-09 Chong Yidong <cyd@stupidchicken.com>
2828
2829 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2830 (Bug#7554).
2831
7be1c708 28322011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2833
2834 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2835 character. (Bug#6594)
2836
37e11a63
CY
28372011-08-08 Chong Yidong <cyd@stupidchicken.com>
2838
839dde57
CY
2839 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2840 (image-dired--with-db-file): New macro.
2841 (image-dired-write-tags, image-dired-remove-tag)
2842 (image-dired-create-gallery-lists, image-dired-write-comments)
2843 (image-dired-get-comment, image-dired-mark-tagged-files)
2844 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2845 (image-dired-gallery-generate): Use insert-file-contents.
2846
37e11a63
CY
2847 * time.el (display-time-world-list, display-time-world-display):
2848 * time-stamp.el (time-stamp-string):
2849 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2850 set-time-zone-rule (Bug#7337).
2851
0b4946c4
DU
28522011-08-08 Daiki Ueno <ueno@unixuser.org>
2853
2854 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2855 (epg-error-to-string, epg-errors-to-string): New function.
2856 (epg-wait-for-completion): Reverse errors list.
2857 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2858 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2859 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2860 (epg-sign-keys, epg-generate-key-from-file)
2861 (epg-generate-key-from-string): Format errors by using
2862 epg-errors-to-string (bug#9255).
2863 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2864
75bfc667
JL
28652011-08-07 Juri Linkov <juri@jurta.org>
2866
2867 * faces.el (list-faces-display): Remove extra angle bracket
2868 from `help-mode-map'.
2869
2870 * info.el (Info-history-toc-nodes): Doc fix.
2871
2872 * longlines.el (longlines-mode): Doc fix.
2873
673e08bb
SM
28742011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2875
4640dd88
SM
2876 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2877 of statements and in a few more cases (bug#9183).
2878
673e08bb
SM
2879 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2880 New functions.
2881 (cl-transform-lambda): Use them (bug#9239).
2882
89b3f019
MR
28832011-08-05 Martin Rudalics <rudalics@gmx.at>
2884
2885 * window.el (display-buffer-same-window)
2886 (display-buffer-same-frame, display-buffer-other-window)
2887 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2888 (pop-to-buffer-other-window)
2889 (pop-to-buffer-same-frame-other-window)
2890 (pop-to-buffer-other-frame): Make them defuns.
2891 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2892
640c8776
SM
28932011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * subr.el (make-composed-keymap): Move from C. Change calling
2896 convention, and improve docstring to bring attention to a subtle point.
2897 * minibuffer.el (completing-read-default): Adjust accordingly.
2898
63648a95
MA
28992011-08-03 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2902 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2903
2904 * net/trampver.el: Update release number.
2905
b796c9b7
SM
29062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2909 "in" (bug#9190).
2910
2239d7d5
LMI
29112011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2912
e07dd7c3
LMI
2913 * mail/sendmail.el (sendmail-query-once): Restore the current
2914 buffer after querying (bug#9074).
2915
0e6a2bd7
LMI
2916 * dired.el (dired-flagged): Use different faces for marked and
2917 flagged files (bug#6117).
2918
ce887515
LMI
2919 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2920 (bug#4433).
2921
92f2affc
LMI
2922 * ido.el (ido-mode): Switch off the message if called
2923 non-interactively.
2924
57d5aff0
LMI
2925 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2926 before 587, since it appears that that's more likely to work for
2927 more people.
2928
98cd6c18
LMI
2929 * cus-edit.el (custom-file): When running under emacs -q, always
2930 refuse to save the customisations, even if the .emacs file doesn't
2931 exist.
2932
b96dec83
LMI
2933 * info.el: Remove the `Info-beginning-of-buffer' function
2934 (bug#8325).
2935
b796c9b7
SM
2936 * net/network-stream.el (network-stream-open-starttls):
2937 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2938
d90e2ea0
MR
29392011-08-01 Martin Rudalics <rudalics@gmx.at>
2940
2941 * window.el (display-buffer-in-window): Don't set dedicated status
2942 of window here (Bug#9215).
2943 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2944 (display-buffer-pop-up-side-window)
b796c9b7 2945 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2946
cca09170
SM
29472011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2950 before binding generated-autoload-file.
2951
027b979c
DD
29522011-08-01 Deniz Dogan <deniz@dogan.se>
2953
2954 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2955
3c7ee4f3
MA
29562011-07-30 Michael Albinus <michael.albinus@gmx.de>
2957
2958 Sync with Tramp 2.2.2.
2959
2960 * net/trampver.el: Update release number.
2961
2cc8e51a
JL
29622011-07-30 Juri Linkov <juri@jurta.org>
2963
2964 * dired-aux.el (dired-touch-initial): Remove function.
2965 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2966 current time, and `default' to the last modification time of the
2967 current marked file (bug#6887).
2968
a514d856
JM
29692011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2970
2971 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2972 numeric argument to read-number (bug#9163).
a514d856 2973
8a7eddd7
MA
29742011-07-27 Michael Albinus <michael.albinus@gmx.de>
2975
2976 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2977 connection process, it could be nil.
2978
1ddd96f5
LL
29792011-07-27 Leo Liu <sdl.web@gmail.com>
2980
2981 Simplify url handling in rcirc-mode.
2982
2983 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2984 (rcirc-browse-url-at-mouse): Remove.
2985 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2986
b248a85d
AM
29872011-07-26 Alan Mackenzie <acm@muc.de>
2988
2989 Fontify bitfield declarations properly.
2990
2991 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2992 (c-symbol-chars): Now exported as a lang variable.
2993 (c-not-primitive-type-keywords): New lang variable.
2994
2995 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2996 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 2997 parsed as a bitfield declaration.
b248a85d 2998
b796c9b7
SM
2999 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3000 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3001 (c-punctuation-in): New function.
3002 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3003 declarations properly.
3004
68575ab0
UJ
30052011-07-26 Ulf Jasper <ulf.jasper@web.de>
3006
3007 * calendar/icalendar.el (icalendar--all-events): Take care of
3008 multiple vcalendars in a single file.
b796c9b7 3009 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3010
0f0a88b9
DD
30112011-07-25 Deniz Dogan <deniz@dogan.se>
3012
3013 * image.el (insert-image): Clarifying docstring.
3014
0b3f36df
MA
30152011-07-24 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3018 `tramp-send-command-and-check' if there is no error.
3019 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3020
a9901f61
AM
30212011-07-22 Alan Mackenzie <acm@muc.de>
3022
3023 Prevent cc-langs.elc being loaded at run time.
3024
3025 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3026 cc-langs.
3027
4d61f28d 3028 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3029 "(require 'cc-langs)". Quote a form so it will evaluate at
3030 (cc-mode's) compilation time.
3031
11d074b2
MA
30322011-07-22 Michael Albinus <michael.albinus@gmx.de>
3033
3034 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3035 loading. (Bug#9114)
3036
938b94c8
MR
30372011-07-21 Martin Rudalics <rudalics@gmx.at>
3038
3039 * window.el (display-buffer-pop-up-window)
3040 (display-buffer-pop-up-side-window)
3041 (display-buffer-in-side-window): Call display-buffer-set-height
3042 and display-buffer-set-width after setting the new window's
b796c9b7 3043 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3044
bfa4f190
SS
30452011-07-20 Sam Steingold <sds@gnu.org>
3046
3047 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3048 (etags-tags-included-tables): Call `convert-standard-filename' on
3049 the file names contained in TAGS so that windows Emacs can handle
3050 TAGS files created by cygwin ctags.
3051
8ca42262
LMI
30522011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3053
3054 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3055 which apparently didn't work.
3056
5db2afd2 30572011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3058
5db2afd2
RW
3059 * proced.el (proced-send-signal): For *Marked Processes* buffer
3060 put point at beginning of buffer.
3061
92e15d10
SB
30622011-07-19 Stephen Berman <stephen.berman@gmx.net>
3063
3064 * proced.el (proced-format): Make header lines align with the text
3065 (bug#1779).
3066
1bfd59e5
LMI
30672011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3068
3069 * view.el (view-buffer): Allow running in `special' modes if we're
3070 visiting a file (bug#8615).
3071
f5aae37c
MR
30722011-07-19 Martin Rudalics <rudalics@gmx.at>
3073
3074 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3075 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3076 New functions.
f5aae37c
MR
3077 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3078 more accurately.
3079
bf2c1571
AM
30802011-07-18 Alan Mackenzie <acm@muc.de>
3081
3082 Fontify declarators properly when, e.g., a jit-lock chunk begins
3083 inside a declaration.
3084
3085 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3086
b796c9b7
SM
3087 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3088 New function.
bf2c1571
AM
3089 (c-complex-decl-matchers): Insert reference to
3090 c-font-lock-enclosing-decls.
3091
3092 * progmodes/cc-engine.el (c-backward-single-comment):
3093 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3094 to nil around calls to (forward-comment -1).
3095
4e190b80
LMI
30962011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3097
12dc863d
LMI
3098 * image.el (put-image): Doc typo fix.
3099
a762e966
LMI
3100 * progmodes/etags.el (tags-search): Doc typo fix.
3101
4e190b80
LMI
3102 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3103 password if we get errors 550 to 554.
3104
f019fb21
LMI
31052011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3106
b796c9b7 3107 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3108
81746738
LMI
3109 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3110 indentation character (bug#6380).
3111
3ee3a1b5
LMI
3112 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3113
c82f64de
LMI
3114 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3115 to clarify what the problem is (bug#4291).
3116
f019fb21
LMI
3117 * simple.el (current-kill): Clarify what
3118 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3119 (auto-fill-mode): Document `auto-fill-function' in relation to
3120 `auto-fill-mode' (bug#2470).
f019fb21 3121
0794775d
LM
31222011-07-16 Lawrence Mitchell <wence@gmx.li>
3123
3124 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3125 method if slot is read-only (bug#9035).
3126
be39b8cc
MR
31272011-07-16 Martin Rudalics <rudalics@gmx.at>
3128
b796c9b7 3129 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3130 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3131 selected before, see discussion of (Bug#8615), (Bug#6954).
3132 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3133
6ccf7859
GM
31342011-07-15 Glenn Morris <rgm@gnu.org>
3135
3136 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3137 Respect help-form.
6ccf7859 3138
87e86684
LM
31392011-07-09 Lawrence Mitchell <wence@gmx.li>
3140
3141 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3142 (gnutls-negotiate): Use it.
3143
d6066239
LMI
31442011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3145
b796c9b7
SM
3146 * net/gnutls.el (gnutls-negotiate):
3147 Upcase `gnutls-algorithm-priority'.
d6066239 3148
bd23ebc0
GM
31492011-07-15 Glenn Morris <rgm@gnu.org>
3150
c65bca65
GM
3151 * jka-compr.el (jka-compr-verbose): Move from here...
3152 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3153 Add missing :version tag.
3154 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3155
478615cc
LMI
31562011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3157
7b41decb
LMI
3158 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3159 (gnutls-negotiate): Use it.
3160
dbc44fcd
LMI
3161 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3162
06789f97
LMI
3163 * info.el (Info-beginning-of-buffer): New command.
3164 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3165 announcing `b' as the key (bug#8325).
ab896c37 3166 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3167
c39da690
LMI
3168 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3169
3aa5f34b
LMI
3170 * international/mule-cmds.el
3171 (describe-specified-language-support): Make the error message
3172 clearer (bug#8905).
3173
4bf0979f
LMI
3174 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3175
478615cc
LMI
3176 * isearch.el (isearch-barrier): Add a doc string, since it's
3177 mentioned in a function doc string (bug#8678).
3178
75c68aa1
MR
31792011-07-15 Martin Rudalics <rudalics@gmx.at>
3180
3181 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3182 buffer argument (Bug#9083) and self-identifying label argument.
3183
a7c33da2
GM
31842011-07-15 Glenn Morris <rgm@gnu.org>
3185
3186 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3187
2f5c6024
LMI
31882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3189
3190 * man.el (Man-fontify-manpage): Fix message when formatting the
3191 man page (bug#7929).
3192
0bb23927 31932011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3194
3195 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3196 argument LRM; if non-nil, append an invisible LRM character to the
3197 buffer name.
3198 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3199 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3200 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3201 paragraph direction.
cce4b0a7 3202
621ef9ab
LMI
32032011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3204
d1583c48
LMI
3205 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3206 the man page name (bug#7929).
3207
6a57fb5f
LMI
3208 * image.el (put-image): Mention the `put-image' overlay property
3209 (bug#7834).
3210
d7956b14
LMI
3211 * scroll-bar.el (set-scroll-bar-mode): Mention that
3212 `scroll-bar-mode' lists the values (bug#7772).
3213
5b2d4a66
LMI
3214 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3215 command (bug#7729).
3216
7509a874
LMI
3217 * rect.el (apply-on-rectangle): Return the point after the last
3218 operation.
3219 (string-rectangle): Go to the point after the last operation
3220 (bug#7522).
3221
4fe74b19
LMI
3222 * printing.el (pr-toggle-region): Clarify the documentation
3223 slightly (bug#7493).
3224
b796c9b7
SM
3225 * time.el (display-time-update):
3226 Allow `display-time-mail-function' to return nil (bug#7158).
3227 Fix suggested by Detlev Zundel.
ab283561 3228
fc233c9d
LMI
3229 * vc/diff.el (diff): Clarify the order the file names are read
3230 (bug#7111).
3231
43f5740b
LMI
3232 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3233 the doc string (bug#7015).
3234
f2182a76
LMI
3235 * font-lock.el (font-lock-maximum-decoration): Mention what
3236 numeric levels mean (bug#6935).
3237
621ef9ab
LMI
3238 * startup.el (initial-buffer-choice): Don't mention the `none'
3239 selection, which is against policy.
3240
adc47434
MR
32412011-07-14 Martin Rudalics <rudalics@gmx.at>
3242
b796c9b7
SM
3243 * window.el (display-buffer-normalize-special):
3244 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3245
7e5bfb8f
EZ
32462011-07-14 Eli Zaretskii <eliz@gnu.org>
3247
3248 * subr.el (version<, version<=, version=): Mention "-CVS" and
3249 "-12345" alpha version numbers.
3250
27fa387a
CY
32512011-07-14 Chong Yidong <cyd@stupidchicken.com>
3252
3253 * bindings.el: Add advertised binding for set-mark-command
3254 (Bug#5772).
3255
8bdfa064
CY
32562011-07-14 Chong Yidong <cyd@stupidchicken.com>
3257
3258 * bindings.el (mode-line-other-buffer):
3259 * bookmark.el (bookmark-bmenu-2-window):
3260 * bs.el (bs-cycle-next, bs-cycle-previous):
3261 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3262 switch-to-buffer.
3263
3264 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3265 Delete.
8bdfa064 3266
5eba16a3
JB
32672011-07-14 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * follow.el (follow-debug-message, follow-redisplay):
3270 * jka-cmpr-hook.el (with-auto-compression-mode):
3271 Fix typos in docstrings.
3272
15853710
LMI
32732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3274
a28e4607
LMI
3275 * subr.el (with-silent-modifications): Clarify somewhat what the
3276 macro inhibits (bug#6525).
3277
15853710
LMI
3278 * simple.el (eval-expression): Note what it does if called
3279 interactively (bug#6495).
3280
bee0fcef
CY
32812011-07-13 Chong Yidong <cyd@stupidchicken.com>
3282
b796c9b7
SM
3283 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3284 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3285
3286 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3287 Remove switch-to-buffer.
3288
58274504
LMI
32892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3290
bd2fcc8d
LMI
3291 * files.el (make-directory): Clarify that an error will be raised
3292 if there's an error (bug#6397).
3293
0f04b32c
LMI
3294 * startup.el (initial-buffer-choice): Add `none' as a choice
3295 (bug#6234).
3296
465c5fc8
LMI
3297 * subr.el (add-hook): Clarify section about buffer-local hooks
3298 (bug#6218).
3299
58274504
LMI
3300 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3301
bead9a43
JB
33022011-07-13 Juanma Barranquero <lekktu@gmail.com>
3303
3304 * tabify.el (untabify): Preserve the current column so that point
3305 doesn't move (bug#6032).
3306
3af98a7b
LMI
33072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3308
b796c9b7
SM
3309 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3310 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3311
6240145a
GM
33122011-07-13 Glenn Morris <rgm@gnu.org>
3313
3314 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3315 (dired-insert-directory): Give a message the first time
3316 if ls is found not to support --dired.
3317
1d8c2ccc
LMI
33182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3319
3320 * simple.el (toggle-truncate-lines): Clarify what is toggled
3321 (bug#5580). Text by Drew Adams.
3322
5fc4038e
CY
33232011-07-13 Chong Yidong <cyd@stupidchicken.com>
3324
3325 * simple.el (blink-matching-open): Make the error message from the
3326 last change less verbose.
3327
bf6012e5
DN
33282011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3329
3330 * font-lock.el (font-lock-comment-face): Use the high contrast
3331 "yellow" color for font-lock-comment-face on low color terminals
3332 using a dark background color (bug#4221).
3333
343c3b5a
LMI
33342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3335
7e9505c5
LMI
3336 * dired.el (dired-insert-set-properties): Make the doc string
3337 reflect what it does now (bug#5325).
3338
c26fdcf5
LMI
3339 * simple.el (blink-matching-open): Say that we were unable to find
3340 the match within the limit, if we're limited (bug#5122).
3341
bb388cc5
LMI
3342 * international/mule-cmds.el (prefer-coding-system): Add an
3343 example (bug#4869).
3344
343c3b5a
LMI
3345 * progmodes/etags.el (tags-search): Document `file-list-form'
3346 (bug#4731).
3347
2a517d45
LM
33482011-07-13 Lawrence Mitchell <wence@gmx.li>
3349
3350 * net/browse-url.el (browse-url-default-browser)
3351 (browse-url-browser-function): Make the default browser choice a
3352 bit more logical (bug#4300). Also clean up the doc string.
3353
b6c78ef2
JB
33542011-07-13 Juanma Barranquero <lekktu@gmail.com>
3355
3356 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3357 binary endings (bug#4440).
3358
1c4dd947
LMI
33592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3360
a2014063
LMI
3361 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3362 which can be pretty annoying (bug#8971).
3363
9c9c2d88
LMI
3364 * jka-compr.el (jka-compr-verbose): New variable, and use
3365 throughout (bug#8971).
3366
1c4dd947
LMI
3367 * info.el (Info-find-file): Fall back on the installation
3368 directory if we can't find the info node anywhere else.
3369
a1c9f41b
SO
33702011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3371
3372 * vc/vc.el (vc-revert-file):
3373 Don't set file time-stamp in the past. (Bug#5181)
3374
536f3d36
LMI
33752011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3376
7152b011
LMI
3377 * files.el (after-find-file): Give a better error message when
3378 trying to find a symlink that points to a file that doesn't exist
3379 (bug#4398).
3380
536f3d36
LMI
3381 * progmodes/cc-vars.el: Remove (probably) misleading comment
3382 (bug#4396).
3383
460c0fba
JB
33842011-07-12 Johan Bockgård <bojohan@gnu.org>
3385
3386 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3387
7a6bda45
CY
33882011-07-12 Chong Yidong <cyd@stupidchicken.com>
3389
3390 * mouse-sel.el: Hack restoring functionality, while keeping
3391 compatibility with 2010-07-03 changes to mouse selection.
3392 (mouse-sel-primary-overlay): New var.
3393 (mouse-sel-selection-alist): Use it.
3394 (mouse-sel-mode): Doc fix; remove points that are default features
3395 of mouse.el.
3396
c79598ef
JB
33972011-07-12 Johan Bockgård <bojohan@gnu.org>
3398
3399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3400 Fix previous fix (bug#2490).
3401
ff8be6ef
RW
34022011-07-12 Roland Winkler <winkler@gnu.org>
3403
b796c9b7
SM
3404 * textmodes/bibtex.el (bibtex-initialize):
3405 Use pop-to-buffer-same-window.
ff8be6ef
RW
3406 (bibtex-search-entries): Fix interactive call.
3407
296ba3ee
LMI
34082011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3409
f5242a02 3410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3411 Fontise bytecomp Error lines more correctly (bug#2490).
3412 Fix suggested by Johan Bockgård.
f5242a02 3413
296ba3ee
LMI
3414 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3415
3416 * dired-x.el (dired-guess-default): Use `delete-dups'.
3417
f69fd0d2
CY
34182011-07-12 Chong Yidong <cyd@stupidchicken.com>
3419
3420 * dired.el (dired-mark-prompt):
3421 * dired-aux.el (dired-read-shell-command): Doc fix.
3422
eab5dc07
LMI
34232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424
b796c9b7
SM
3425 * mail/sendmail.el (sendmail-query-once):
3426 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3427 emacs -Q.
3428
3429 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3430
eab5dc07
LMI
3431 * cus-edit.el (custom-file): Take an optional no-error variable.
3432 (customize-save-variable): Set the variable, and give a warning if
3433 running under "emacs -q".
3434
a1e65d42
JB
34352011-07-11 Juanma Barranquero <lekktu@gmail.com>
3436
3437 * loadhist.el (unload-feature-special-hooks):
3438 Add `auto-coding-functions', `fill-nobreak-predicate' and
3439 `find-directory-functions' (bug#5327).
3440
1d52da10
LMI
34412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3442
be958f1d
LMI
3443 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3444
5bedb26c
LMI
3445 * cus-edit.el (custom-guess-name-alist): -alist variables should
3446 use the `alist' type (bug#3120). Suggested by Drew Adams.
3447
1d52da10
LMI
3448 * printing.el: Add documentation to all the `pr-toggle-' commands.
3449
481a51b6
LL
34502011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3451
3452 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3453 backends where it makes sense (bug#2623).
3454
dcc88d8a
LMI
34552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3456
c3de9feb
LMI
3457 * dired-x.el (dired-guess-default): Remove duplicate shell command
3458 entries (bug#2028).
8a93078b 3459 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3460 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3461
dcc88d8a
LMI
3462 * subr.el (remove-duplicates): New conveniency function.
3463
505e3645
LMI
34642011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3465
3466 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3467 (bug#1526).
3468
34692011-07-10 Martin Rudalics <rudalics@gmx.at>
3470
3471 * window.el (display-buffer-normalize-default): Don't invert
3472 meaning of even-window-heights. Reported by Eli Zaretskii
3473 <eliz@gnu.org>.
3474
455e4fa1
BR
34752011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3476
3477 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3478
8e0bc3e9
CY
34792011-07-10 Chong Yidong <cyd@stupidchicken.com>
3480
3481 * window.el (display-buffer): Fix arguments to
3482 display-buffer-reuse-window in last change.
3483
fa7c3228
CY
3484 * faces.el (link): Use a less saturated blue on light backgrounds.
3485
3486 * startup.el (fancy-startup-text, fancy-about-text)
3487 (fancy-startup-tail): Use font-lock faces, for background safety.
3488
c0a7f300
BN
34892011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3490
b796c9b7
SM
3491 * emulation/viper-cmd.el (viper-change-state-to-vi):
3492 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3493
4dc2a129
MR
34942011-07-09 Martin Rudalics <rudalics@gmx.at>
3495
3496 * window.el (display-buffer-default-specifiers): Remove.
3497 (display-buffer-macro-specifiers): Remove default specifiers.
3498 (display-buffer-alist): Default to nil.
b796c9b7 3499 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3500 (display-buffer-pop-up-window): Allow splitting internal
3501 windows. Check whether a live window was created.
3502 (display-buffer-other-window-means-other-frame)
3503 (display-buffer-normalize-arguments): Rename to
3504 display-buffer-normalize-argument and rewrite. Set the
3505 other-window specifier.
3506 (display-buffer-normalize-special): New function.
3507 (display-buffer-normalize-options): Rename to
3508 display-buffer-normalize-default and rewrite.
3509 (display-buffer-normalize-options-inhibit): Remove.
3510 (display-buffer-normalize-specifiers): Rewrite.
3511 (display-buffer): Process other-window specifier and call
3512 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3513 more faithfully.
b796c9b7 3514 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3515 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3516 (display-buffer-in-window, display-buffer-alist-set):
3517 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3518 <tassilo@member.fsf.org>.
3519
2d43b8c9
LL
35202011-07-09 Leo Liu <sdl.web@gmail.com>
3521
3522 * register.el (insert-register): Restore accidental change on
3523 2011-06-26. (Bug#9028)
3524
7f9b7c53
GM
35252011-07-09 Glenn Morris <rgm@gnu.org>
3526
3527 * subr.el (remq): Handle the empty list. (Bug#9024)
3528
f042cfd8
AS
35292011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3530
3531 * mail/sendmail.el (send-mail-function): No longer delay custom
3532 initialization.
3533 * custom.el (custom-initialize-delay): Doc fix.
3534
856b2f11
SM
35352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3538
afae1d68
MA
35392011-07-08 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3542 human-friendly prompt.
3543
0757af94
SM
35442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3547 provided by a particular plugin.
3548
d760b731
LMI
35492011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3550
3551 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3552 save customizations (with "emacs -Q"), just set the variable
3553 instead of erroring out.
3554
3555 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3556
cd79ce90
JL
35572011-07-08 Juri Linkov <juri@jurta.org>
3558
3559 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3560 (archive-zip-update-case): Use 7z if found by `executable-find'.
3561 The order of searching the available programs is the same as in
3562 `archive-zip-extract' (bug#8968).
3563
14cc04aa
CY
35642011-07-07 Chong Yidong <cyd@stupidchicken.com>
3565
3566 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3567 (menu-bar-options-menu): Tweak descriptions.
3568
0a1848ec
LMI
35692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3570
3571 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3572 menu items into verb phrases (bug#1421). Also refill to fit under
3573 80 columns.
3574
f5bd0689
CY
35752011-07-07 Chong Yidong <cyd@stupidchicken.com>
3576
538e85c6
CY
3577 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3578 (Info-read-node-name): Doc fix (Bug#1084).
3579
f5bd0689
CY
3580 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3581 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3582 (end-of-sexp, beginning-of-sexp)
3583 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3584 (forward-symbol, forward-same-syntax, word-at-point)
3585 (sentence-at-point): Doc fix (Bug#1144).
3586
56ec5115
LMI
35872011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3588
f3f8e37f
LMI
3589 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3590 should cover it (bug#1281).
3591
0757af94 3592 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3593
12b9eb35
LMI
3594 * net/network-stream.el (network-stream-open-starttls): If gnutls
3595 negotiation fails, then possibly try again with a non-encrypted
3596 connection (bug#9017).
3597
56ec5115
LMI
3598 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3599 be used.
3600
c2f9aec8
RS
36012011-07-07 Richard Stallman <rms@gnu.org>
3602
3603 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3604 property, and handle its changed format.
3605 Look for the correct line number.
3606 Use file's line contents (but not past first =) to find
3607 correct line in message.
3608
ef7b981d 36092011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3610
3611 * international/characters.el (build-unicode-category-table):
3612 Delete it.
0757af94 3613 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3614
0757af94 3615 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3616 to src/chartab.c.
3617 (get-char-code-property): Call unicode-property-table-internal to
3618 load a file. Call get-unicode-property-internal where necessary.
3619 (put-char-code-property): Call unicode-property-table-internal to
3620 load a file. Call put-unicode-property-internal where necessary.
3621 put-unicode-property-internal where necessary.
0757af94
SM
3622 (char-code-property-description):
3623 Call unicode-property-table-internal to load a file.
c805dec0
KH
3624
3625 * international/charprop.el:
3626 * international/uni-bidi.el:
3627 * international/uni-category.el:
3628 * international/uni-combining.el:
3629 * international/uni-comment.el:
3630 * international/uni-decimal.el:
3631 * international/uni-decomposition.el:
3632 * international/uni-digit.el:
3633 * international/uni-lowercase.el:
3634 * international/uni-mirrored.el:
3635 * international/uni-name.el:
3636 * international/uni-numeric.el:
3637 * international/uni-old-name.el:
3638 * international/uni-titlecase.el:
3639 * international/uni-uppercase.el: Regenerate.
3640
3641 * loadup.el: Load international/charprop.el before
3642 international/characters.
3643
e14b388a
CY
36442011-07-07 Chong Yidong <cyd@stupidchicken.com>
3645
3646 * window.el (next-buffer, previous-buffer): Signal an error if
3647 called from a minibuffer window.
3648
3649 * bindings.el: Revert 2011-07-04 change.
3650
354cf0ba
RS
36512011-07-06 Richard Stallman <rms@gnu.org>
3652
3653 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3654 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3655 Treat markers like ints.
3656 (rmail-mime-entity): Doc fix.
3657
a48868a7
LMI
36582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3659
4906cd3d
LMI
3660 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3661 defcustom again for backwards compatibility.
3662
e0457abe
LMI
3663 * simple.el (shell-command-on-region): Fill.
3664
d67f7e1f
LMI
3665 * dired-aux.el (dired-kill-line): Add a doc string.
3666
fe204702
LMI
3667 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3668 to "\\sw\\|\\s_" (bug#358).
3669
a48868a7
LMI
3670 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3671 (dired-unmark-backward): Ditto.
3672 (dired-flag-backup-files): Ditto.
3673
3674 * dired-x.el (dired-mark-sexp): Ditto.
3675
aa8a705c
RS
36762011-07-06 Richard Stallman <rms@gnu.org>
3677
3678 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3679 (rmail-mime-entity): New arg TRUNCATED.
3680 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3681 New functions.
3682 (rmail-mime-save): Warn if entity is truncated.
3683 (rmail-mime-toggle-hidden): Likewise, for showing.
3684 (rmail-mime-process-multipart): Record when an entity is truncated.
3685
a9a936b9
RS
3686 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3687 if ENTITY is a string.
3688
1f2b92cb
LMI
36892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3690
f4f73198 3691 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3692 of faces when `M-C-x'-ing their definitions (bug#8378).
3693 Also clean up the code slightly.
f4f73198 3694
12b16734 3695 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3696 because that makes the colors go away.
12b16734 3697
f0691d22
LMI
3698 * mail/sendmail.el (send-mail-function): Change the default to
3699 `sendmail-query-once'.
9e87df06 3700 (sendmail-query-once): Add an autoload cookie.
f0691d22 3701
1f2b92cb
LMI
3702 * net/network-stream.el (network-stream-open-starttls): Try using
3703 a plain connection even if the server offered STARTTLS, and we
3704 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3705 capability. This should make smtpmail.el work in slightly more
3706 configurations.
3707
1cdd2a1b
MA
37082011-07-06 Michael Albinus <michael.albinus@gmx.de>
3709
3710 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3711 New defun.
3712 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3713
fbcc67e2
MM
37142011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3715
3716 * progmodes/sql.el: Version 3.0
0757af94 3717 (sql-product-alist): Add product :completion-object,
fbcc67e2 3718 :completion-column, and :statement attributes.
0757af94 3719 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3720 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3721 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3722 ansi keywords.
3723 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3724 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3725 (sql-oracle-show-reserved-words): New function for development.
3726 (sql-product-font-lock): Simplify for source code buffers.
3727 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3728 New functions.
3729 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3730 (sql-mode-map): Add statement movement functions.
3731 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3732 New variable.
fbcc67e2
MM
3733 (sql-statement-regexp, sql-beginning-of-statement)
3734 (sql-end-of-statement, sql-signum): New functions.
0757af94 3735 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3736 (sql-show-sqli-buffer): Bug fix.
3737 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3738 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3739 with sql-interactive-mode.
3740 (sql-save-connection): Save buffer local settings.
0757af94 3741 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3742 (sql-product-interactive): Bug fix.
3743 (sql-preoutput-hold): New variable.
3744 (sql-interactive-remove-continuation-prompt): Bug fixes.
3745 (sql-debug-redirect): New variable.
3746 (sql-str-literal): New function.
3747 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3748 Redesign.
fbcc67e2
MM
3749 (sql-oracle-save-settings, sql-oracle-restore-settings)
3750 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3751 (sql-completion-object, sql-completion-column)
3752 (sql-completion-sqlbuf): New variables.
3753 (sql-build-completions-1, sql-build-completions)
3754 (sql-try-completion): New functions.
3755 (sql-read-table-name): Use them.
3756 (sql-contains-names): New buffer local variable.
3757 (sql-list-all, sql-list-table): Use it.
3758 (sql-oracle-completion-types): New variable.
3759 (sql-oracle-completion-object, sql-sqlite-completion-object)
3760 (sql-postgres-completion-object): New functions.
3761
d4eaeab1
GM
37622011-07-06 Glenn Morris <rgm@gnu.org>
3763
3764 * window.el (pop-to-buffer): Doc fix.
3765
322b7dab 37662011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3767
3768 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3769
322b7dab 37702011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3771
322b7dab 3772 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3773
322b7dab 3774 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3775
605dd5bf
CY
37762011-07-05 Chong Yidong <cyd@stupidchicken.com>
3777
3778 * button.el (button): Inherit from link face. Suggested by Dan
3779 Nicolaescu.
3780
7dbfa719
SM
37812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3db614b0
SM
3783 * progmodes/gdb-mi.el: Fit in 80 columns.
3784 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3785 switch-to-buffer.
3786
7dbfa719
SM
3787 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3788 if imenu is simply not configured (bug#8941).
3789
919d884a
KM
37902011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3791
3792 * allout.el (allout-post-undo-hook): New allout outline-change
3793 event hook to signal undo activity.
3794 (allout-post-command-business): Run allout-post-undo-hook if an
3795 undo just occurred.
7dbfa719
SM
3796 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3797 * allout-widgets.el (allout-widgets-after-undo-function):
3798 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3799 in the vicinity of an undo.
3800 (allout-widgets-mode): Include allout-widgets-after-undo-function
3801 on the new allout-post-undo-hook.
3802
450a0f09
SM
38032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3806 Let define-derived-mode define it.
3807 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3808 cycles of abbrev-table inheritance (bug#8998).
3809
2de69e00
RW
38102011-07-05 Roland Winkler <winkler@gnu.org>
3811
3812 * textmodes/bibtex.el: Add support for biblatex.
3813 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3814 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3815 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3816 (bibtex-entry-alist, bibtex-field-alist): New variables.
3817 (bibtex-entry-field-alist): Obsolete alias for
3818 bibtex-BibTeX-entry-alist.
3819 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3820 (bibtex-set-dialect): New command.
3821 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3822 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3823 Bind via bibtex-set-dialect.
2de69e00
RW
3824 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3825 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3826 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3827 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3828 Define via bibtex-set-dialect.
450a0f09
SM
3829 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3830 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3831 (bibtex-vec-push, bibtex-vec-incr): New functions.
3832 (bibtex-format-entry, bibtex-field-list)
3833 (bibtex-print-help-message, bibtex-validate)
3834 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3835
2dcdbdd9
SM
38362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * progmodes/compile.el (compilation-goto-locus):
3839 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3840 * bs.el (bs-cycle-next, bs-cycle-previous):
3841 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3842 * bindings.el (mode-line-other-buffer):
3843 * autoinsert.el (auto-insert):
3844 * arc-mode.el (archive-extract):
3845 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3846
b27640fe
JB
38472011-07-05 Juanma Barranquero <lekktu@gmail.com>
3848
3849 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3850 Fix check of `emacs-lock-unlockable-modes'.
3851 Coerce true values of `emacs-lock--try-unlocking' to t.
3852
53bbe3ad
JB
38532011-07-05 Juanma Barranquero <lekktu@gmail.com>
3854
3855 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3856 * emacs-lock.el: New file.
3857
1d3cdbc7
JD
38582011-07-05 Julien Danjou <julien@danjou.info>
3859
3860 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3861 than `boundp' to check if face is set.
3862
9173deec
JB
38632011-07-05 Juanma Barranquero <lekktu@gmail.com>
3864
3865 * register.el (registerv-make):
3866 * window.el (window-min-height): Fix typos in docstrings.
3867
869795d6
JD
38682011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3869
9173deec 3870 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3871 Update doc string.
3872
b768cdcd
JB
38732011-07-04 Juanma Barranquero <lekktu@gmail.com>
3874
3875 * server.el (server-execute): Catch quit and call
3876 `server-return-error' to pass the error back to emacsclient and
3877 close the connection (bug#8942).
3878
13aa217b
KM
38792011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3880
3881 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3882 insecure exception for current topic. Also note that auto-saves
3883 are handled differently.
3884
3885 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3886 State variables for tracking auto-save inhibition situation.
3887
3888 (allout-write-contents-hook-handler): Rename from
3889 'allout-write-file-hook-handler', and describe how it depends on
3890 write-contents-functions sensitivity to non-nil value to prevent
3891 file write.
3892
3893 (allout-auto-save-hook-handler): Remove. auto-save does not check
3894 this in individual buffers, only in the starting buffer, so this
3895 is not the right way for us to inhibit auto-save in a buffer
3896 according to its condition.
3897
3898 (allout-mode): Use new allout-write-contents-hook-handler, and
3899 only with write-contents-functions. Remove auto-save provisions -
3900 they're implemented elsewhere.
3901
3902 (allout-before-change-handler): If undo is in progress, note that
3903 for attention of allout-post-command-business.
3904
3905 (allout-post-command-business): If the command we're following was
3906 an undo, check for change in the status of encrypted items and
3907 adjust auto-save inhibitions accordingly.
3908
3909 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3910 according to whether there are or aren't any plain-text topics
3911 pending encryption.
3912
2dcdbdd9
SM
3913 (allout-inhibit-auto-save-info-for-decryption):
3914 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3915 there are plain-text topics pending encryption.
3916
3917 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3918 buffer-saved-size and some allout state to not inhibit auto-saves
3919 if there are no longer any plain-text topics pending encryption.
3920
0757af94
SM
3921 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3922 No longer provide for exemption of the current topic.
13aa217b 3923
ac89b32c
JL
39242011-07-04 Juri Linkov <juri@jurta.org>
3925
3926 Add 7z operations to delete and save changed members (bug#8968).
3927 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3928 New defcustoms.
3929 (archive-7z-write-file-member): New function.
3930 (archive-7z-summarize): Fix the number of dashes in the
3931 listing output.
3932
8fa39615
SM
39332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3936 (bug#8958).
3937
2f11b3f1
CY
39382011-07-04 Chong Yidong <cyd@stupidchicken.com>
3939
d66fef2b
CY
3940 * bindings.el: Ignore next-buffer and previous-buffer in
3941 minibuffer-local-map.
3942
2f11b3f1
CY
3943 * font-lock.el (font-lock-builtin-face): Change light background
3944 color to dark slate blue (Bug#6693).
3945
f932a347
WD
39462011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3947
3948 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3949
c8af70e1
SM
39502011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3953 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3954 Add switch-to-buffer.
3955
f158badc
LMI
39562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3957
3958 * isearch.el (isearch-search-fun-function): Clarify further the
3959 meaning of the function returned.
3960
6d95bd46
MA
39612011-07-04 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3964
3965 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3966 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3967 Use it.
3968 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3969 `tramp-default-remote-path' does not exist.
3970 (tramp-send-command-and-read): New optional argument NOERROR.
3971 (tramp-open-connection-setup-interactive-shell)
3972 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3973 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3974 (tramp-process-sentinel): Flush also process' connection property.
3975 (tramp-sh-handle-start-file-process): Do not set process
3976 sentinel. It is done now ...
3977 (tramp-maybe-open-connection): ... here. (Bug#8929)
3978
909e6b67
MK
39792011-07-04 MON KEY <monkey@sandpframing.com>
3980
3981 * play/animate.el (animate-string): Doc fixes and allow changing
3982 the buffer name (bug#5417).
3983
39842011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3985
c8af70e1 3986 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3987
f34755dc
PE
39882011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3989
396cec72
PE
3990 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3991 This is simpler and helps future-proof the code.
3992 (timer-until): Use time-subtract and float-time.
08235028 3993 (timer--time-less-p): Use time-less-p.
f34755dc 3994
56e6cc31
JB
39952011-07-04 Juanma Barranquero <lekktu@gmail.com>
3996
3abb79e5
JB
3997 * type-break.el (timep): Use the value of `float-time' to avoid a
3998 byte-compiler warning.
3999
56e6cc31
JB
4000 * server.el (server-eval-and-print): Return any result, even nil.
4001
7b9430b4
PE
40022011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4003
4004 * type-break.el: Accept time formats that the builtins accept.
4005 (timep, type-break-time-difference): Accept any format that
4006 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4007 This is simpler and helps future-proof the code.
4008 (type-break-time-difference): Round rather than ignoring
4009 subseconds components.
4010
3034e9e7
LMI
40112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4012
4013 * info.el (Info-apropos-matches): Make non-interactive, since it
4014 doesn't seem to do anything useful as a command (bug#8829).
4015
1485f4c0
CY
40162011-07-03 Chong Yidong <cyd@stupidchicken.com>
4017
4018 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4019 Move from faces.el.
1485f4c0
CY
4020 (frame-default-terminal-background): New function.
4021
4022 * custom.el (custom-push-theme): Don't record faces in `changed'
4023 theme; this doesn't work correctly for per-frame face settings.
4024 (disable-theme): Use face-set-after-frame-default to reset faces.
4025 (custom--frame-color-default): New function.
4026
9fa3dd45
LMI
40272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
c8af70e1 4029 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4030 (bug#8769).
4031
6cbbc20c
KR
40322011-03-29 Kevin Ryde <user42@zip.com.au>
4033
4034 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4035 `perl-Test2' extend to match possible "fail #N" rep count
4036 (bug#8377).
4037
c7f98048
LMI
40382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4039
65676592
LMI
4040 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4041 `smtpmail-via-smtp' now returns the error instead of nil.
4042
c7f98048
LMI
4043 * isearch.el (isearch-search-fun-function): Clarify the doc string
4044 (bug#8101).
4045
56e6cc31 40462011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4047
4048 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4049 unnecessary spaces (bug#8987).
4050
2b216704
LMI
40512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4052
4053 * net/network-stream.el (open-network-stream): Use the
4054 :end-of-capability command thoughout.
4055
40562011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4057
4058 * net/network-stream.el (open-network-stream): Add the
4059 :end-of-capability command parameter, used by pop3.el.
4060
36adf6ce
LMI
40612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4062
1ca0da0e
LMI
4063 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4064
fc00f69c
LMI
4065 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4066 for list)" (bug#6475).
4067
28fd8759 4068 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4069 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4070 an error (bug#6297).
4071
0dd8b6da
LMI
4072 * man.el (Man-reference-regexp): Allow matching possible
4073 word-wrapped references (bug#6289).
4074
ce1438d6
LMI
4075 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4076 for consistency with the other vc buffers (bug#6197).
4077 (vc-checkin): Ditto.
4078
4079 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4080
36adf6ce
LMI
4081 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4082
e83cc1f7
LMI
40832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4084
8a20ca4c
LMI
4085 * custom.el (defcustom): Clarify that :set is only used in the
4086 Customize user interface (bug#6089).
4087
83319045
LMI
4088 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4089 associated with a file, refuse to run instead of erroring out
4090 (bug#6084).
4091
a8392169
LMI
4092 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4093 the doc string, since it appears that using `fill-column' always
4094 controls the width (bug#7845).
4095
e83cc1f7
LMI
4096 * simple.el (shell-command-on-region): Say where the error output
4097 went if `shell-command-default-error-buffer' is set (bug#6857).
4098
e47ca23b
KM
40992011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4100
4101 * allout.el (allout-yank-processing): Adjust cursor position for
4102 backwards-deleted space.
4103
4104 (allout-rebullet-heading): Register changes with
4105 allout-exposure-changed-hook, so the modified topic is properly
4106 decorated.
4107
5cf56143
LMI
41082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4109
08549772
LMI
4110 * minibuffer.el (completion-in-region): Document PREDICATE
4111 (bug#7136).
4112
48e96771
LMI
4113 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4114 of keyword/argument pairs (bug#6904).
4115
c8af70e1
SM
4116 * replace.el (multi-occur):
4117 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4118
e17d05e2
LMI
41192011-07-02 Drew Adams <drew.adams@oracle.com>
4120
4121 * dired.el (dired-mark-if): Make the message about whether it's
4122 marking or unmarking clearer (bug#8523).
4123
063b0e45
LMI
41242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4125
4126 * disp-table.el (display-table-print-array): New function.
4127 (describe-display-table): Use it to print the vectors more pretty
4128 (Bug#8859).
4129
28545e04
MR
41302011-07-02 Martin Rudalics <rudalics@gmx.at>
4131
4132 * window.el (window-state-get-1): Don't assign clone numbers.
4133 Add clone-of item to list of window parameters.
4134 (window-state-put-2): Don't process clone numbers.
4135 (display-buffer-alist): Fix doc-string.
4136
3349e122
SM
41372011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * subr.el (remq): Don't allocate if it's not needed.
4140 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4141 (keymap--merge-bindings): New functions.
4142 (keymap-canonicalize): Use them to refine the canonicalization.
4143 * minibuffer.el (minibuffer-local-completion-map)
4144 (minibuffer-local-must-match-map): Move initialization from C.
4145 (minibuffer-local-filename-completion-map): Move initialization from C;
4146 don't inherit from anything here.
4147 (minibuffer-local-filename-must-match-map): Make obsolete.
4148 (completing-read-default): Use make-composed-keymap to combine
4149 minibuffer-local-filename-completion-map with either
4150 minibuffer-local-must-match-map or
4151 minibuffer-local-filename-completion-map.
4152
d224ac83
GM
41532011-07-01 Glenn Morris <rgm@gnu.org>
4154
3de63bf8
GM
4155 * type-break.el (type-break-time-sum): Use dolist.
4156
d224ac83
GM
4157 * textmodes/flyspell.el (flyspell-word-search-backward):
4158 Replace CL function.
4159
1a1e3f32
SM
41602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4161
fe3f64d5
SM
4162 * mouse.el (mouse--strip-first-event): New function.
4163 (function-key-map): Use it to map fringe clicks to normal clicks
4164 by default.
4165
eb604e34
SM
4166 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4167 (vc-bzr-revision-completion-table): Add support for annotate and date.
4168
1a1e3f32
SM
4169 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4170 inherit from parent.
4171
5bd35902
LMI
41722011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4173
ace6c69c 4174 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4175 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4176
191e2bed
LMI
4177 * dired.el (dired-mode): Fix up the doc string as suggested by
4178 Drew Adams (bug#8817).
4179
5bd35902
LMI
4180 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4181 cookie, since the manual says that it should be possible to add
4182 this function to `find-file-hook' (bug#8709).
4183
eee8207a
TZ
41842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4185
4186 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4187 here. Noted Ted Zlatanov as the maintainer.
4188 (cfengine-common-settings, cfengine-common-syntax): New functions
4189 to set up common things between `cfengine-mode' and
4190 `cfengine3-mode'.
4191 (cfengine3-mode): New mode.
4192 (cfengine3-defuns cfengine3-defuns-regex
4193 (cfengine3-class-selector-regex cfengine3-category-regex)
4194 (cfengine3-vartypes cfengine3-font-lock-keywords)
4195 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4196 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4197
36b148cf
MA
41982011-07-01 Michael Albinus <michael.albinus@gmx.de>
4199
4200 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4201
4202 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4203
0bf4ba9a
MR
42042011-07-01 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (same-window-buffer-names, same-window-regexps)
4207 (same-window-p, special-display-frame-alist)
4208 (special-display-popup-frame, special-display-function)
4209 (special-display-buffer-names, special-display-regexps)
4210 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4211 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4212 (split-window-preferred-function, split-height-threshold)
4213 (split-width-threshold, even-window-heights)
4214 (display-buffer-mark-dedicated, window-splittable-p)
4215 (split-window-sensibly, window-safely-shrinkable-p):
4216 Un-obsolete.
4217 (display-buffer): Don't spread args with function specifier
4218 because special-display-popup-frame won't like it.
4219
35837f51
PE
42202011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4221
d0672f86
PE
4222 Time-stamp simplifications and fixes.
4223 These improve accuracy slightly, and future-proof the code
4224 against some potential changes to current-time format.
4225
b9444d97
PE
4226 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4227 by using time-since and float-time.
4228
0ef923dc
PE
4229 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4230 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4231 + NNN microseconds".
4232
2f81380d
PE
4233 * type-break.el (type-break-time-sum): Rewrite using time-add.
4234
845b5c3e
PE
4235 * play/hanoi.el (hanoi-current-time-float): Remove.
4236 All uses replaced by float-time.
4237
ee6f1be0
PE
4238 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4239 This yields a more-accurate answer.
4240 (rng-time-to-float): Remove; no longer needed.
4241
fe955043
PE
4242 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4243
5777162a
PE
4244 * calendar/timeclock.el (timeclock-seconds-to-time):
4245 Defalias to seconds-to-time, since they're the same thing.
4246
3103f8b6 4247 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4248 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4249 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4250
0e61a35f
SM
42512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * window.el (bury-buffer): Don't iconify the only frame.
4254 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4255 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4256
ddd63a1e
CY
42572011-07-01 Chong Yidong <cyd@stupidchicken.com>
4258
0e61a35f
SM
4259 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4260 Add mouse-yank-primary.
ddd63a1e 4261
055f4923
TZ
42622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4263
4264 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4265
6a2fb145
SM
42662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4269 (find-library-name): Use it to find relative load names when provided
4270 absolute file name (bug#8803).
4271
fd4983f2
LMI
42722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4273
887d14ad
LMI
4274 * textmodes/flyspell.el (flyspell-word): Consider words that
4275 differ only in case as potential doublons (bug#5687).
4276
c53dc7fc
LMI
4277 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4278 Remove two rather uninteresting debugging-like messages to make
4279 debbugs.el more silent.
4280
fd4983f2
LMI
4281 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4282 a password-like phrase.
4283
b14c0c55
AM
42842011-06-30 Mastake YAMATO <yamato@redhat.com>
4285
4286 * progmodes/cc-guess.el: New file.
4287
6a2fb145 4288 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4289
4290 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4291 derived from `c-basic-common-init'.
4292
4293 * progmodes/cc-mode.el (top-level): Require cc-guess.
4294 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4295
1fa280a3
LM
42962011-06-30 Lawrence Mitchell <wence@gmx.li>
4297
4298 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4299
e6597158
AM
43002011-06-30 Alan Mackenzie <acm@muc.de>
4301
1fa280a3
LM
4302 * progmodes/cc-engine.el (c-guess-continued-construct):
4303 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4304 lock is disabled. Name this case as "CASE G".
4305
68ba37fb
KM
43062011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4307
4308 * allout.el (allout-yank-processing): Fix injection of extra space
4309 between bullet and non-whitespace character in first topic when
4310 pasting, ensuring that the actual spacing in the pasted topic
4311 following the bullet char is preserved. This extra space was
4312 causing pasted encrypted topics to get a decrypted status even
4313 when the content was actually still encrypted. Now the decryption
4314 status from before the paste is preserved.
4315
4316 (allout-flag-region): Set all allout overlays so they evaporate
4317 when reduced to zero length (evanescent), to prevent overlay
4318 leakage.
4319
887a0b34
GM
43202011-06-30 Glenn Morris <rgm@gnu.org>
4321
94b9acce
GM
4322 * w32-fns.el (w32-charset-info-alist): Declare.
4323
1d9b46d4
GM
4324 * find-dired.el (find-grep-options): Simplify.
4325
cc232200
GM
4326 * term/ns-win.el (ns-set-resource): Declare.
4327
28e77c46
GM
4328 * ses.el (row, col): Declare dynamic variables honestly.
4329
887a0b34
GM
4330 * textmodes/reftex-parse.el (index-tags): Declare.
4331
658d8eb8
CY
43322011-06-30 Chong Yidong <cyd@stupidchicken.com>
4333
4334 * cus-edit.el (customize-push-and-save): New function.
4335
4336 * files.el (hack-local-variables-confirm): Use it.
4337
1fa280a3
LM
4338 * custom.el (load-theme): New arg NO-CONFIRM.
4339 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4340 (custom-enabled-themes): Doc fix.
4341
4342 * cus-theme.el (customize-create-theme)
4343 (custom-theme-merge-theme): Callers to load-theme changed.
4344
bb617717
LMI
43452011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4346
d61bdd5d
LMI
4347 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4348 short URLs have at least one dot in them (bug #7614).
4349
bb617717
LMI
4350 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4351 nil, because using a pty is apparently too slow (bug #895).
4352
2f31f37a
LMI
43532011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4354
4355 * mail/sendmail.el (sendmail-query-once): New function.
4356 (sendmail-query-once-function): New variable.
4357
3076b24e
GM
43582011-06-29 Glenn Morris <rgm@gnu.org>
4359
faf2a174
GM
4360 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4361
3076b24e
GM
4362 * ses.el (top-level): Require cl when compiling.
4363 (ses-set-localvars): Fix error statement.
4364 Call it at compile time to silence a storm of warnings.
4365
5386012d
MR
43662011-06-29 Martin Rudalics <rudalics@gmx.at>
4367
4368 * window.el (normalize-live-buffer): Rename to
4369 window-normalize-buffer.
4370 (normalize-live-frame): Rename to window-normalize-frame.
4371 (normalize-any-window): Rename to window-normalize-any-window.
4372 (normalize-live-window): Rename to window-normalize-live-window.
4373 (make-window-atom): Rename to window-make-atom.
4374 (window-resize-reset): Rename to window--resize-reset.
4375 (window-resize-reset-1): Rename to window--resize-reset-1.
4376 (resize-mini-window): Rename to window--resize-mini-window.
4377 (resize-subwindows-skip-p): Rename to
4378 window--resize-subwindows-skip-p.
4379 (resize-subwindows-normal): Rename to
4380 window--resize-subwindows-normal.
4381 (resize-subwindows): Rename to window--resize-subwindows.
4382 (resize-other-windows): Rename to window--resize-siblings.
4383 (resize-this-window): Rename to window--resize-this-window.
4384 (resize-root-window): Rename to window--resize-root-window.
4385 (resize-root-window-vertically): Rename to
4386 window--resize-root-window-vertically.
4387 (normalize-buffer-to-display): Rename to
4388 window-normalize-buffer-to-display.
4389 (normalize-buffer-to-switch-to): Rename to
4390 window-normalize-buffer-to-switch-to.
4391 Correspondingly update all callers of the functions listed
4392 above.
4393 (display-buffer-alist, display-buffer-normalize-arguments)
4394 (display-buffer-normalize-options, display-buffer)
4395 (display-buffer-alist-set): Use "function" instead of
4396 "fun-with-args".
4397
1176868d
CY
43982011-06-28 Chong Yidong <cyd@stupidchicken.com>
4399
4400 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4401 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4402 debbugs.gnu.org. Mention acknowledgment email.
4403
20a7a65f
LMI
44042011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4405
4406 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4407 buffer multibyteness, since it shouldn't matter.
4408
5f45cca5
MR
44092011-06-28 Martin Rudalics <rudalics@gmx.at>
4410
4411 * window.el (display-buffer-in-side-window): Handle dedicated
4412 windows as in display-buffer-reuse-window.
4413 (display-buffer-normalize-alist): Use value of override
4414 specifier.
4415 (display-buffer-normalize-specifiers): Use value of
4416 other-window-means-other-frame specifier.
4417 (display-buffer-alist): Rewrite some texts in widgets.
4418 (display-buffer): Spread arguments when calling function
4419 specified by fun-with-args.
4420
ad85fe1f
DD
44212011-06-28 Deniz Dogan <deniz@dogan.se>
4422
1fa280a3
LM
4423 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4424 Unnest `let'.
da68c4c8 4425
ad85fe1f
DD
4426 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4427 selectors (Bug#5732).
ec49bd31 4428 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4429
a08cc025
JA
44302011-06-27 Jari Aalto <jari.aalto@cante.net>
4431
4432 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4433 (eshell-ls-date-format): New defcustom.
4434 (eshell-ls-file): Use it.
4435
e2b551c5
SM
44362011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4439
8982b231
KY
44402011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4441
4442 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4443 (ange-ftp-make-tmp-name): New arg.
4444 (ange-ftp-file-local-copy): Use it.
4445
36c9fa27
J
44462011-06-27 Jambunathan K <kjambunathan@gmail.com>
4447
4448 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4449 no-conversion (Bug#8870).
4450
d68443dc
MR
44512011-06-27 Martin Rudalics <rudalics@gmx.at>
4452
4453 * window.el (window-right, window-left, window-child)
4454 (window-child-count, window-last-child)
4455 (window-iso-combination-p, walk-window-tree-1)
4456 (window-atom-check-1, window-tree-1, delete-window)
4457 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4458 new naming conventions - window-vchild, window-hchild,
4459 window-next and window-prev are now called window-top-child,
4460 window-left-child, window-next-sibling and window-prev-sibling
4461 respectively.
d615d6d2
MR
4462 (resize-window-reset): Rename to window-resize-reset.
4463 (resize-window-reset-1): Rename to window-resize-reset-1.
4464 (resize-window): Rename to window-resize.
4465 (window-min-height, window-min-width)
4466 (resize-mini-window, resize-this-window, resize-root-window)
4467 (resize-root-window-vertically, adjust-window-trailing-edge)
4468 (enlarge-window, shrink-window, maximize-window)
4469 (minimize-window, delete-window, quit-restore-window)
4470 (split-window, balance-windows, balance-windows-area-adjust)
4471 (balance-windows-area, window-state-put-2)
4472 (display-buffer-even-window-sizes, display-buffer-set-height)
4473 (display-buffer-set-width, set-window-text-height)
4474 (fit-window-to-buffer): Rename all "resize-window" prefixed
4475 calls to use the "window-resize" prefix convention.
4476 (display-buffer-alist): Fix symbol for label specifier.
4477 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4478 corresponding specifier.
4479 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4480
b6458526
VB
44812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4482
4483 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4484 convention.
4485 (ses-call-printer): Does not pass an empty string to formatter when the
4486 cell is empty to keep from barking printer Calc math-format-value.
4487
d31fd9ac
RS
44882011-06-27 Richard Stallman <rms@gnu.org>
4489
43d5bf84
RS
4490 * battery.el (battery-mode-line-limit): New variable.
4491 (battery-update): Handle it.
4492
d31fd9ac
RS
4493 * mail/rmailmm.el (rmail-mime-process-multipart):
4494 Handle truncated messages.
4495
819a6054
GM
44962011-06-27 Glenn Morris <rgm@gnu.org>
4497
4498 * progmodes/flymake.el (flymake-err-line-patterns):
4499 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4500
cedc73f2
VB
45012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4502
819a6054 4503 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4504 (ses--clean-!, ses--clean-_): New functions.
4505 (ses-range): Add configurability of readout order, and conversion
4506 to Calc vector.
4507
5e5d49b6
VB
4508 * ses.el (ses-repair-cell-reference-all): New function.
4509 (ses-cell-symbol): Set macro as safe, so that it can be used in
4510 formulas.
4511
56e6cc31 4512 * ses.el: Update cycle detection algorithm.
90ca8b49 4513 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4514 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4515 (ses-set-localvars): New function.
4516 (ses-make-cell): Add property-list as a cell element.
4517 (ses-cell-property-get-fun, ses-cell-property-get)
4518 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4519 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4520 New functions.
90ca8b49
VB
4521 (ses-cell-property-set, ses-cell-property-pop)
4522 (ses-cell-property-get-handle): New macro.
4523 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4524 New aliases, used for code readability.
4525 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4526 cycle detection.
4527 (ses-self-reference-early-detection): New defcustom.
4528 (ses-formula-references): Robustify against self-refering cells.
4529 (ses-mode): Use ses-set-localvars.
4530 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4531 before lauching the update processing.
4532 (ses-initialize-Dijkstra-attempt): New function.
4533 (ses-recalculate-cell): Update for cycle detection based on
4534 Dijkstra algorithm.
4535
2bb63e81
VB
4536 * ses.el: Fix commenting and indenting convention.
4537
c9d29fb8
SM
45382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * bs.el (bs-cycle-next): Complete last change.
4541
d8e4b68b
JB
45422011-06-27 Drew Adams <drew.adams@oracle.com>
4543
4544 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4545
40098786
LMI
45462011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547
c9d29fb8
SM
4548 * net/network-stream.el (network-stream-open-starttls):
4549 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4550 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4551
40098786
LMI
4552 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4553 to binary to possibly avoid line encoding issues on Windows (among
4554 other things).
4555
468d09d4
LMI
45562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4557
4558 * net/network-stream.el (open-network-stream): Return an :error
4559 saying what the problem was, if possible.
4560
4561 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4562 server.
4563
4564 * net/network-stream.el (network-stream-open-starttls): If we
4565 wanted to use STARTTLS, and the server offered it, but we weren't
4566 able to because we had no STARTTLS support, then close the connection.
4567 (open-network-stream): Return an :error element, if present.
4568
16f07dd7
CY
45692011-06-26 Chong Yidong <cyd@stupidchicken.com>
4570
88821ca0
CY
4571 * hl-line.el (hl-line-sticky-flag): Doc fix.
4572 (global-hl-line-sticky-flag): New option (Bug#8323).
4573 (global-hl-line-highlight): Obey it.
4574
16f07dd7
CY
4575 * vc/vc.el (vc-revert-show-diff): Default to t.
4576
6b5ccddf
KM
45772011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4578
c9d29fb8
SM
4579 * allout-widgets.el (allout-widgets-post-command-business):
4580 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4581 undecorated when an isearch is continued past, and isearch
4582 automatically collapses them. This leads to "widget leaks", where
4583 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4584 hidden widgets can slow down cursor travel, substantially.
4585 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4586 so we're doing without this nicety.
4587
4588 (allout-widgets-tally-string): Don't try to do a hash-table-count
4589 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4590 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4591 *Messages* when allout-widgets-maintain-tally is t.
4592
355f2e07
MR
45932011-06-26 Martin Rudalics <rudalics@gmx.at>
4594
4595 * window.el (display-buffer-normalize-argument): Rename to
4596 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4597 LABEL argument. Respect special-display-function when popping up
4598 a new frame. Fix code searching for a window showing the buffer
4599 on another frame.
c9d29fb8
SM
4600 (display-buffer-normalize-specifiers):
4601 Call display-buffer-normalize-arguments.
355f2e07
MR
4602 (display-buffer-in-window): Don't undedicate the window if its
4603 buffer remains the same.
4604 Reported by Drew Adams <drew.adams@oracle.com>.
4605 (display-buffer-alist): Add choice for same-window macro
4606 specfier.
4607 (display-buffer): Mention special meaning of LABEL argument in
4608 doc-string. Fix quoting. Don't pop up a new frame even as
4609 fallback.
4610
7ca8fc42
JB
46112011-06-26 Juanma Barranquero <lekktu@gmail.com>
4612
4613 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4614 avoid deleting the current window in some cases (bug#8911).
4615
bc312254
AS
46162011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4617
4618 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4619 (Bug#8934)
4620
2db18f3f
LMI
46212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622
c9d29fb8
SM
4623 * net/network-stream.el (network-stream-open-starttls):
4624 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4625 (network-stream-open-tls): Ditto.
4626
6302e0d3
LL
46272011-06-26 Leo Liu <sdl.web@gmail.com>
4628
4629 * register.el (registerv): New struct.
4630 (registerv-make): New function.
c9d29fb8
SM
4631 (jump-to-register, describe-register-1, insert-register):
4632 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4633 struct. (Bug#8415)
4634
5fdd4046
CY
46352011-06-26 Chong Yidong <cyd@stupidchicken.com>
4636
2afef60a
CY
4637 * vc/vc.el (vc-revert-show-diff): New defcustom.
4638 (vc-diff-internal): New arg specifying diff buffer.
4639 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4640 reuse an existing *vc-diff* buffer (Bug#8927).
4641
5fdd4046
CY
4642 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4643
e93db24a
GM
46442011-06-26 Glenn Morris <rgm@gnu.org>
4645
4646 * progmodes/f90.el (f90-critical-indent): New option.
4647 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4648 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4649 (f90-mode): Doc fix.
4650 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4651 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4652 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4653 (f90-match-end): Handle block, critical.
4654
eefff499
GM
46552011-06-25 Glenn Morris <rgm@gnu.org>
4656
f6ba4cc9
GM
4657 * calendar/diary-lib.el (diary-included-files): Doc fix.
4658 (diary-include-files): New function, extracted from
4659 diary-include-other-diary-files and diary-mark-included-diary-files.
4660 (diary-include-other-diary-files, diary-mark-included-diary-files):
4661 Just call diary-include-files.
4662 (diary-mark-entries): Reset diary-included-files on first call.
4663
16712304
GM
4664 * calendar/diary-lib.el (diary-mark-entries)
4665 (diary-mark-included-diary-files):
4666 Visit included diary-files in temp buffers.
4667
5d8e0d43
GM
4668 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4669 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4670 (f90-start-block-re, f90-imenu-generic-expression)
4671 (f90-looking-at-program-block-start, f90-no-block-limit):
4672 Add support for submodules.
4673
ccf7a5d5
GM
4674 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4675 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4676
11fdef7d 46772011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4678
4679 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4680 buffer-file-type before setting its value, to avoid disastrous
eefff499 4681 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4682
74f53697
JB
46832011-06-25 Juanma Barranquero <lekktu@gmail.com>
4684
4685 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4686
4687 * ses.el (ses-unload-function):
4688 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4689
4690 * proced.el (proced-unload-function):
4691 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4692
18a4ce5e
AR
46932011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4694
4695 * server.el (server-create-window-system-frame): Add parameters arg.
4696 (server-process-filter): Doc fix. Handle frame-parameters.
4697
519d22cc
JB
46982011-06-25 Juanma Barranquero <lekktu@gmail.com>
4699
4700 Fix bug#8730, bug#8781.
4701
4702 * loadhist.el (unload--set-major-mode): New function.
4703 (unload-feature): Use it.
4704
4705 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4706 (python-unload-function): New function.
4707
c206f5b0
SM
47082011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4711
f9ad64f3
GS
47122011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4713
4714 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4715 the candidates list.
4716
7d0da90e
JB
47172011-06-24 Juanma Barranquero <lekktu@gmail.com>
4718
4719 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4720
14b4e83d
RS
47212011-06-23 Richard Stallman <rms@gnu.org>
4722
4723 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4724 (rmail-variables): Set next-error-move-function.
4725 (rmail-what-message): Take argument POS.
4726 (rmail-next-error-move): New function.
4727
273d2baf
SM
47282011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4731 messages for adjacent non-terminals.
4732
56c2cc9a
RS
47332011-06-23 Richard Stallman <rms@gnu.org>
4734
4735 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4736 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4737 (rmail-start-mail): Don't specify use of rmail-mail-return;
4738 that's done by mail-bury now.
4739 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4740
d59eb518
MA
47412011-06-23 Michael Albinus <michael.albinus@gmx.de>
4742
4743 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4744 SIZE is a number.
4745
02cfc6d6
MR
47462011-06-23 Martin Rudalics <rudalics@gmx.at>
4747
4748 * window.el (get-lru-window, get-mru-window)
4749 (get-largest-window): Never return a minibuffer window.
4750 (display-buffer-pop-up-window): Fix a bug that could lead to
4751 reusing the minibuffer window.
4752 (display-buffer): Pass original specifier argument to
4753 display-buffer-function instead of the normalized one.
4754 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4755
4e323265
LL
47562011-06-22 Leo Liu <sdl.web@gmail.com>
4757
4758 * minibuffer.el (completing-read-function)
4759 (completing-read-default): Move from minibuf.c
4760
7a70468f
RS
47612011-06-22 Richard Stallman <rms@gnu.org>
4762
50718fc2
RS
4763 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4764 to Rmail even if not started by a special Rmail command.
4765
7a70468f
RS
4766 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4767 Copy the buffer currently showing just one message.
4768
297dde5a
RW
47692011-06-22 Roland Winkler <winkler@gnu.org>
4770
4771 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4772 (bibtex-clean-entry): First delete the old key so that a
4773 customized algorithm for generating the new key does not get
4774 confused by the old key.
4775 (bibtex-url): Obey regexp of first step.
4776 (bibtex-search-entries): Do not use add-to-list with local
4777 list-var.
4778
97bb1093
LMI
47792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4780
4781 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4782 stored a user name, then query for the password first, instead of
4783 waiting for SMTP to give an error message and the trying again.
4784
1c0f1a19
JD
47852011-06-22 Lawrence Mitchell <wence@gmx.li>
4786
4787 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4788 BUFFER in call-process.
4789
396f7c9d
LMI
47902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
4792 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4793 QUIT twice.
ddb7ffee
LMI
4794 (smtpmail-try-auth-methods): Require user name and password from
4795 auth-source.
396f7c9d 4796
8998d1b3
MR
47972011-06-22 Martin Rudalics <rudalics@gmx.at>
4798
4799 * window.el (display-buffer-default-specifiers)
4800 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4801 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4802 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4803
4804 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4805 (special-display-frame-alist, special-display-popup-frame):
4806 Remove duplicate declarations. These are now in window.el.
4807
4ea31e07
LMI
48082011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4809
c9d29fb8
SM
4810 * mail/smtpmail.el (smtpmail-via-smtp):
4811 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4812 server supports it. SMTP servers that support STARTTLS commonly
4813 require it.
4814
4815 * net/network-stream.el (network-stream-open-starttls): Support
4816 upgrading to STARTTLS always, even if we don't have built-in support.
4817 (open-network-stream): Add the :always-query-capabilies keyword.
4818
95f41d9a
LMI
4819 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4820 upgrades with `open-network-stream', and rely solely on
4821 auth-source for all credentials. Big changes throughout the file,
4822 but in particular:
c9d29fb8
SM
4823 (smtpmail-auth-credentials): Remove.
4824 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4825 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4826 MAIL FROM, too.
95f41d9a 4827
c9d29fb8
SM
4828 * net/network-stream.el (network-stream-open-starttls):
4829 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4830 STARTTLS.
4831 (auth-source): Require.
4832 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4833 (network-stream-certificate): Change cert-cert to cert and
4834 cert-key to key.
4ea31e07 4835
065ec2c7
MA
48362011-06-21 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp-cache.el (top): Don't load the persistency file when
4839 "emacs -Q" has been called.
4840
cd93b359
DR
48412011-06-21 Tim Harper <timcharper@gmail.com>
4842
d8e4b68b
JB
4843 * term/ns-win.el (ns-initialize-window-system):
4844 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4845 resource to NO as it is not yet supported by the NS port.
4846
ae9c0411
JB
48472011-06-21 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4850 (list-dynamic-libraries): ...not here.
4851
7f3f739f
LL
48522011-06-21 Leo Liu <sdl.web@gmail.com>
4853
4854 * subr.el (sha1): Implement sha1 using secure-hash.
4855
327c8fb1
MR
48562011-06-21 Martin Rudalics <rudalics@gmx.at>
4857
4858 * window.el (display-buffer-alist): In default value do not
4859 enforce searching a window on any but the selected frame.
4860 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4861 (display-buffer-select-window): Remove function.
4862 (display-buffer-in-window): When a window on another frame gets
4863 reused, do not select it any more but just raise its frame if
4864 necessary (Bug#8851) and (Bug#8856).
4865 (display-buffer-normalize-options): Handle pop-up-frames related
4866 options more faithfully.
4867 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4868 window if it is on another frame.
c9d29fb8
SM
4869 (display-buffer-alist, display-buffer-default-specifiers):
4870 Don't make new frame unsplittable by default.
9e9de014
MR
4871 (display-buffer-normalize-argument): Fix doc-string typo and use
4872 'same-frame-other-window instead of 'other-window when associating
4873 with display-buffer-macro-specifiers.
327c8fb1 4874
7cf3f556
VB
48752011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4876
4877 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4878 New functions.
4879 (5x5-mode-map, 5x5-mode-menu): Bind them.
4880 (5x5-draw-grid): Tweak the solver's rendering.
4881
60a406cf
SM
48822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4885 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4886
d8e4b68b 48872011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4888
4889 * menu-bar.el: Use function variable instead of switch-to-buffer.
4890 (menu-bar-select-buffer-function): New variable.
60a406cf 4891 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4892
478d6f95
SM
48932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4896 variable's status.
4897
ca530739
JD
48982011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4899
4900 * x-dnd.el (x-dnd-version-from-flags)
4901 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4902 and long as number (Bug#8899).
4903 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4904
bcd70d97
SM
49052011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4906
60a406cf 4907 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4908 (completion-try-completion, completion-all-completions): Compute the
4909 metadata argument if it's missing; make it optional (bug#8795).
4910
60a406cf 4911 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4912 (widget-complete): Use new :completion-function property.
4913 (widget-completions-at-point): New function.
4914 (default): Use :completion-function instead of :complete.
60a406cf
SM
4915 (widget-default-completions): Rename from widget-default-complete;
4916 Rewrite.
bcd70d97
SM
4917 (widget-string-complete, widget-file-complete, widget-color-complete):
4918 Remove functions.
4919 (file, symbol, function, variable, coding-system, color):
4920 * international/mule-cmds.el (default-input-method, charset)
4921 (language-info-custom-alist):
4922 * cus-edit.el (face): Use new property :completions.
4923
4924 * progmodes/pascal.el (pascal-completions-at-point): New function.
4925 (pascal-mode): Use it.
4926 (pascal-mode-map): Use completion-at-point.
4927 (pascal-toggle-completions): Make obsolete.
4928 (pascal-complete-word, pascal-show-completions):
4929 * progmodes/octave-mod.el (octave-complete-symbol):
4930 Redefine as obsolete alias.
4931 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4932 Signal absence of completion info for old Octave,
4933 (inferior-octave-complete): Redefine as obsolete alias.
4934 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4935 (meta-completions-at-point): Rename from meta-complete-symbol and
4936 adapt it for use on completion-at-point-functions.
4937 (meta-common-mode): Use it.
4938 (meta-looking-at-backward, meta-match-buffer): Remove.
4939 (meta-complete-symbol): Redefine as obsolete alias.
4940 (meta-common-mode-map): Use completion-at-point.
4941 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4942 (makefile-mode-map): Use completion-at-point.
4943 (makefile-completions-at-point): Rename from makefile-complete and
4944 adapt it for use on completion-at-point-functions.
4945 (makefile-mode): Use it.
4946 (makefile-complete): Redefine as obsolete alias.
4947
aebf69c8
DD
49482011-06-20 Deniz Dogan <deniz@dogan.se>
4949
4950 * net/rcirc.el: Delete trailing whitespaces once and for all.
4951
bfbbb27d
DC
49522011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4953
4954 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4955
d264a46b
CY
49562011-06-19 Chong Yidong <cyd@stupidchicken.com>
4957
4ca009e5
CY
4958 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4959
d264a46b
CY
4960 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4961
fbf5b3ce
MR
49622011-06-19 Martin Rudalics <rudalics@gmx.at>
4963
4964 * window.el (display-buffer-other-window-means-other-frame):
4965 Call display-buffer-normalize-alist.
4966 (display-buffer-normalize-specifiers-1): Rename to
4967 display-buffer-normalize-argument. New argument other-frame.
4968 Rewrite.
4969 (display-buffer-normalize-specifiers-2): Rename to
4970 display-buffer-normalize-options.
4971 (display-buffer-normalize-alist-1): New function.
4972 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4973 display-buffer-normalize-alist.
4974 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4975 (display-buffer-normalize-options-inhibit): New variable.
4976 (display-buffer-normalize-specifiers): Rewrite calling
4977 display-buffer-normalize-alist,
4978 display-buffer-normalize-argument, and
4979 display-buffer-normalize-options. Don't call the latter if
4980 display-buffer-normalize-options-inhibit is non-nil.
4981 (frame-auto-delete): New option.
4982 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4983 (window-list-no-nils, window-state-ignored-parameters)
4984 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4985 (window-state-put-1, window-state-put-2, window-state-put):
4986 New functions.
9a028c23
MR
4987 (display-buffer-normalize-options): Move special-display-p group
4988 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4989
6d10d800
CY
49902011-06-18 Chong Yidong <cyd@stupidchicken.com>
4991
6420d28b
CY
4992 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4993 groups (Bug#8776).
4994 (rx-submatch-n): New function.
4995 (rx): Document it.
4996
ddb8b596
CY
4997 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4998 (Bug#8768).
4999
5000 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5001
77080289
CY
5002 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5003
61dfb316
CY
5004 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5005 anytime existing face settings are present (Bug#8889).
5006
6d10d800
CY
5007 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5008 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5009 Remove unused argument.
5010
be3fb2b8
MR
50112011-06-18 Martin Rudalics <rudalics@gmx.at>
5012
bcd70d97
SM
5013 * window.el (display-buffer-default-specifiers):
5014 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5015 pop-up-window-min-width, and another reuse-window specifier
5016 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5017 (display-buffer-normalize-specifiers-2):
5018 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5019 pop-up-windows is unset. Add a reuse-window specifier for the
5020 case popping up a new window fails.
5021 (special-display-popup-frame): Remove double quoting.
28dec25a 5022 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5023
1c6d8c76
SM
50242011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5027 according to comint-completion-addsuffix.
5028
5029 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5030 (pcomplete-suffix-list): Mark as obsolete.
5031 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5032 pcomplete-seen in the closure.
5033 (pcomplete-comint-setup): Setup completion-at-point as well.
5034 (pcomplete--entries): New function.
5035 (pcomplete--env-regexp): New var.
5036 (pcomplete-entries): Rewrite to work with partial-completion and
5037 without relying on pcomplete-suffix-list.
5038 (pcomplete-pare-list): Remove, unused.
5039
25aef8b8
MR
50402011-06-17 Martin Rudalics <rudalics@gmx.at>
5041
5042 * window.el (display-buffer-alist): Set pop-up-window-min-height
5043 and pop-up-window-min-width in default value. Reported by
5044 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5045 other-window-means-other-frame.
5046 (display-buffer-macro-specifiers): Comment out entry for
5047 other-window specifier.
5048 (display-buffer-other-window-means-other-frame): New function.
5049 (display-buffer-normalize-specifiers-1): New arguments
5050 buffer-name and label. Treat other-window case specially.
5051 (display-buffer-normalize-specifiers-2): Treat other-window case
5052 specially.
5053 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5054 (display-buffer-normalize-specifiers):
5055 Call display-buffer-normalize-specifiers-3.
25aef8b8 5056
dbad4f69
MR
50572011-06-17 Martin Rudalics <rudalics@gmx.at>
5058
5059 * window.el (same-window-p): Fix two typos introduced when
5060 adding with-no-warnings.
d1067961
MR
5061 (display-buffer-normalize-specifiers-1): Don't check
5062 pop-up-frames for 'unset initialization.
5063 (display-buffer-normalize-specifiers-2): Major rewrite using
5064 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5065 (pop-up-frames, display-buffer-reuse-frames)
5066 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5067 Suggested by David Engster <deng@randomsample.de>.
5068 (even-window-heights): Initialize to 'unset.
5069 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5070 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5071 other window case.
dbad4f69 5072
9b9c9e3a
MR
50732011-06-16 Martin Rudalics <rudalics@gmx.at>
5074
bcd70d97
SM
5075 * window.el (display-buffer-normalize-specifiers-1):
5076 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5077 second argument of display-buffer (Bug#8865).
981d5c09
MR
5078 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5079 (switch-to-buffer-other-window-same-frame)
5080 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5081 Adams (Bug#8875).
9c2755e9
MR
5082 (display-buffer): Don't check noninteractive when calling
5083 display-buffer-pop-up-frame.
5084 (display-buffer-pop-up-frame): Never pop up a frame in
5085 noninteractive mode (Bug#8857).
67222e1d
MR
5086 (enlarge-window, shrink-window): Don't report an error when the
5087 window can't be resized as requested (Bug#8862).
9b9c9e3a 5088
2b75be67
SM
50892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5090
9ffdd3ba
SM
5091 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5092
cb581a67
SM
5093 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5094
2b75be67
SM
5095 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5096
8c0e3589
AM
50972011-06-15 Alan Mackenzie <acm@muc.de>
5098
cb581a67
SM
5099 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5100 for declarators, disable knr checking to speed up for normal files.
5101 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5102
b96e6cde
LMI
51032011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
4bba86e6
LMI
5105 * net/network-stream.el (open-network-stream): Add the keyword
5106 :always-query-capabilities for the case where you want to force a
5107 `plain' network connection, but the protocol still requires the
5108 capabilitiy command (i.e., SMTP and EHLO).
5109
2b75be67 5110 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5111 consistency with other `-live-p' functions.
5112
efdcdbf8
SM
51132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * window.el (same-window-buffer-names, same-window-regexps)
5116 (special-display-frame-alist, special-display-popup-frame)
5117 (special-display-function, special-display-buffer-names)
5118 (special-display-regexps, pop-up-frame-alist)
5119 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5120 (pop-up-windows, split-window-preferred-function)
5121 (split-height-threshold, split-width-threshold, even-window-heights)
5122 (display-buffer-mark-dedicated): Don't encourage the use of
5123 display-buffer-alist from Elisp code.
5124
c5cde042
DN
51252011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5126
5127 * progmodes/python.el (python-mode): Derive from prog-mode.
5128 * progmodes/ps-mode.el (ps-mode):
5129 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5130 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5131 * progmodes/ld-script.el (ld-script-mode): Likewise.
5132
baa1c9ab
MR
51332011-06-15 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (display-buffer-alist): Trim default value to avoid
5136 popping up a new frame (Bug#8857) or reusing an arbitrary window
5137 on another frame.
5138 (display-buffer): Do not fall back on popping up a new frame in
5139 batch mode (Bug#8857).
5140
c5dd5a51
CY
51412011-06-14 Chong Yidong <cyd@stupidchicken.com>
5142
5143 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5144 (custom-theme-summary): New function.
5145 (customize-themes): Use it.
5146
d647b7c4
GM
51472011-06-13 Glenn Morris <rgm@gnu.org>
5148
5149 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5150
9481c002
MR
51512011-06-13 Martin Rudalics <rudalics@gmx.at>
5152
357f93d2
MR
5153 * help.el (help-window): Remove variable.
5154 (help-window-point-marker, temp-buffer-max-height)
5155 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5156 (help-print-return-message): Don't set help-window.
5157 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5158 (help-window-setup-finish): Remove.
5159 (help-window-display-message, help-window-setup)
5160 (with-help-window): Major rewrite based on new
5161 display-buffer-window variable.
5162
5163 * help-mode.el (help-mode-finish): Remove help-window related
5164 code.
5165
5166 * view.el (view-exits-all-viewing-windows): Remove reference to
5167 view-return-to-alist in doc-string.
5168 (view-return-to-alist): Make obsolete.
5169 (view-buffer): Call pop-to-buffer-same-window and remove
5170 undo-window code.
5171 (view-buffer-other-window): Call pop-to-buffer-other-window and
5172 simplify code. Ignore second argument.
5173 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5174 simplify code. Ignore second argument.
5175 (view-return-to-alist-update): Make obsolete.
5176 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5177 Rewrite using quit-restore window parameters.
2b75be67
SM
5178 (view-mode-exit): Rename second argument to EXIT-ONLY.
5179 Rewrite using quit-restore-window.
357f93d2
MR
5180 (View-exit, View-exit-and-edit, View-leave, View-quit)
5181 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5182 appropriate arguments.
5183 (view-end-message): Use quit-restore window parameter.
5184
9481c002
MR
5185 * window.el (display-buffer-function): Rewrite doc-string.
5186 (display-buffer-window, display-buffer-alist): New variables.
5187 (display-buffer-split-specifiers)
5188 (display-buffer-side-specifiers)
5189 (display-buffer-macro-specifiers): New constants.
5190 (display-buffer-even-window-sizes, display-buffer-set-height)
5191 (display-buffer-set-width, display-buffer-select-window)
5192 (display-buffer-in-window, display-buffer-reuse-window)
5193 (display-buffer-split-window-1, display-buffer-split-window)
5194 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5195 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5196 (display-buffer-in-side-window, normalize-buffer-to-display)
5197 (display-buffer-normalize-specifiers-1)
5198 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5199 (display-buffer-normalize-specifiers, display-buffer-frame):
5200 New functions.
9481c002
MR
5201 (display-buffer): Major rewrite.
5202 (display-buffer-other-window, display-buffer-other-frame)
5203 (pop-to-buffer, switch-to-buffer-other-window)
5204 (switch-to-buffer-other-frame): Rewrite.
5205 (display-buffer-same-window, display-buffer-same-frame)
5206 (display-buffer-same-frame-other-window)
5207 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5208 (pop-to-buffer-other-window)
5209 (pop-to-buffer-same-frame-other-window)
5210 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5211 (switch-to-buffer-other-window-same-frame): New functions.
5212 (same-window-p, special-display-p): Rewrite disabling warnings.
5213 Make obsolete.
5214 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5215 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5216 Make obsolete
5217 (same-window-buffer-names, same-window-regexps)
5218 (special-display-frame-alist, special-display-popup-frame)
5219 (special-display-function, special-display-buffer-names)
5220 (special-display-regexps, pop-up-frame-alist)
5221 (pop-up-frame-function, split-window-preferred-function)
5222 (split-height-threshold, split-width-threshold)
5223 (even-window-heights): Make obsolete.
5224
9db51aca
GM
52252011-06-12 Glenn Morris <rgm@gnu.org>
5226
5227 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5228 Misc simplifications.
9db51aca 5229
39cffb44
MR
52302011-06-12 Martin Rudalics <rudalics@gmx.at>
5231
5232 * window.el (window-safely-shrinkable-p): Restore function which
5233 was inadvertently removed in change from 2011-06-11. Declare as
5234 obsolete.
5235
2b75be67
SM
5236 * calendar/calendar.el (calendar-generate-window):
5237 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5238 window-safely-shrinkable-p.
5239
a8955be7
GM
52402011-06-12 Glenn Morris <rgm@gnu.org>
5241
5242 * progmodes/fortran.el (fortran-mode-syntax-table):
5243 * progmodes/f90.el (f90-mode-syntax-table):
5244 Set % to punctuation. (Bug#8820)
5245 (f90-find-tag-default): Remove, no longer needed.
5246
f0d4059d
DC
52472011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5248
5249 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5250
1100a63c
CY
52512011-06-11 Chong Yidong <cyd@stupidchicken.com>
5252
5253 * image.el (image-animated-p): Return animation delay in seconds.
5254 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5255 (image-animate-timeout): Remove DELAY argument. Don't assume
5256 every subimage has the same delay; get it from image-animated-p.
5257 (image-animate): Caller changed.
5258
def722bf
MA
52592011-06-11 Michael Albinus <michael.albinus@gmx.de>
5260
5261 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5262 to ignored backtrace functions.
5263
0a2bb1a9
GM
52642011-06-11 Glenn Morris <rgm@gnu.org>
5265
5266 * calendar/appt.el (appt-disp-window-function): Doc fix.
5267 (appt-check): Handle overlapping appointments. (Bug#8337)
5268
6198ccd0
MR
52692011-06-11 Martin Rudalics <rudalics@gmx.at>
5270
5271 * window.el (window-tree-1, window-tree): New functions, moving
5272 the latter to window.el.
5273 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5274 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5275 (bw-refresh-edges): Remove.
5276 (balance-windows-1, balance-windows-2): New functions.
5277 (balance-windows): Rewrite in terms of window tree functions,
5278 balance-windows-1 and balance-windows-2.
5279 (bw-adjust-window): Remove.
5280 (balance-windows-area-adjust): New function with functionality of
5281 bw-adjust-window but using resize-window.
2b75be67
SM
5282 (set-window-text-height): Rewrite doc-string.
5283 Use normalize-live-window and resize-window.
5284 (enlarge-window-horizontally, shrink-window-horizontally):
5285 Rename argument to DELTA.
6198ccd0
MR
5286 (window-buffer-height): New function.
5287 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5288 Rewrite using new window resize routines.
2b75be67
SM
5289 (kill-buffer-and-window, mouse-autoselect-window-select):
5290 Use ignore-errors instead of condition-case.
6198ccd0
MR
5291 (quit-window): Call delete-frame instead of delete-windows-on
5292 for the only buffer on frame.
5293
9397e56f
MR
52942011-06-10 Martin Rudalics <rudalics@gmx.at>
5295
5296 * loadup.el (top-level): Load window before files for the sake
5297 of replace-buffer-in-windows.
5298
5299 * files.el (read-buffer-to-switch)
5300 (switch-to-buffer-other-window)
2b75be67
SM
5301 (switch-to-buffer-other-frame, display-buffer-other-frame):
5302 Move to window.el.
9397e56f
MR
5303
5304 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5305 (previous-buffer): Move to window.el.
5306
5307 * bindings.el (unbury-buffer): Move to window.el.
5308
5309 * window.el (delete-other-windows-vertically): Move after
5310 definition of delete-other-windows.
5311 (other-window, delete-windows-on, replace-buffer-in-windows):
5312 Move here from window.c.
5313 (record-window-buffer, unrecord-window-buffer)
5314 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5315 (switch-to-next-buffer): New functions.
5316 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5317 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5318 (previous-buffer): Move here from simple.el.
5319 Call switch-to-prev-buffer.
9397e56f
MR
5320 (bury-buffer): Move here from buffer.c. Switch to previous
5321 buffer when window cannot be deleted.
5322 (unbury-buffer): Move here from bindings.el.
5323 (ctl-x-map): Move binding for other-window from window.c to
5324 here.
5325 (read-buffer-to-switch, switch-to-buffer-other-window)
5326 (switch-to-buffer-other-frame): Move here from files.el.
5327 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5328 (switch-to-buffer): Move here from buffer.c.
5329 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5330
562dd5e9
MR
53312011-06-10 Martin Rudalics <rudalics@gmx.at>
5332
5333 * window.el (window-min-height, window-min-width): Move here
5334 from window.c. Add defcustoms and rewrite doc-strings.
5335 (resize-mini-window, resize-window): New functions.
5336 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5337 Move here from window.c.
5338 (maximize-window, minimize-window): New functions.
5339 (delete-window, delete-other-windows, split-window): Move here
5340 from window.c.
5341 (window-split-min-size): New function.
5342 (split-window-keep-point): Mention split-window-above-each-other
5343 instead of split-window-vertically.
2b75be67
SM
5344 (split-window-above-each-other, split-window-vertically):
5345 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5346 provide defalias for old definition.
5347 (split-window-side-by-side, split-window-horizontally): Rename
5348 split-window-horizontally to split-window-side-by-side and provide
5349 defalias for the old definition.
5350 (ctl-x-map): Move bindings for delete-window,
5351 delete-other-windows and enlarge-window here from window.c.
5352 Replace bindings for split-window-vertically and
5353 split-window-horizontally by bindings for
5354 split-window-above-each-other and split-window-side-by-side.
5355
5356 * cus-start.el (all): Remove entries for window-min-height and
5357 window-min-width. Add entries for window-splits and
5358 window-nest.
5359
f0da764a
GM
53602011-06-09 Glenn Morris <rgm@gnu.org>
5361
80675c21
GM
5362 * calendar/appt.el (appt-mode-line): New function.
5363 (appt-check, appt-disp-window): Use it.
5364
f0da764a
GM
5365 * files.el (hack-one-local-variable-eval-safep):
5366 Allow minor-modes with explicit +/-1 arguments.
5367
59f623b7
TZ
53682011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5369
5370 * term/xterm.el (xterm): Add defgroup.
5371 (xterm-extra-capabilities): Add defcustom to supply known xterm
5372 capabilities, skip querying them, or query them (default).
5373 (terminal-init-xterm): Use it.
5374 (terminal-init-xterm-modify-other-keys): New function to set up
5375 modifyOtherKeys support to simplify `terminal-init-xterm'.
5376
9aab8e0d
MR
53772011-06-09 Martin Rudalics <rudalics@gmx.at>
5378
5379 * window.el (resize-window-reset, resize-window-reset-1)
5380 (resize-subwindows-skip-p, resize-subwindows-normal)
5381 (resize-subwindows, resize-other-windows, resize-this-window)
5382 (resize-root-window, resize-root-window-vertically)
5383 (window-deletable-p, window-or-subwindow-p)
5384 (frame-root-window-p): New functions.
5385
e8b08aee
GM
53862011-06-09 Glenn Morris <rgm@gnu.org>
5387
5388 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5389 (ange-ftp-get-files): Use it.
5390
254c37a5
AK
53912011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5392
5393 * mail/sendmail.el (mail-recover-1, mail-recover):
5394 * files.el (recover-file, recover-session):
5395 Handle dired-listing-switches not being just a single short option.
5396
35d7dbd3
GM
53972011-06-09 Glenn Morris <rgm@gnu.org>
5398
5399 * calendar/appt.el (appt-display-message, appt-disp-window):
5400 Handle lists of appointments.
5401
387522b2
MR
54022011-06-08 Martin Rudalics <rudalics@gmx.at>
5403
2b75be67
SM
5404 * window.el (one-window-p): Move down in code.
5405 Rewrite doc-string.
5406 (window-current-scroll-bars): Rewrite doc-string.
5407 Normalize live window argument.
387522b2
MR
5408 (walk-windows, get-window-with-predicate, count-windows):
5409 Rewrite doc-string. Use window-list-1.
5410 (window-in-direction-2, window-in-direction, get-mru-window):
5411 New functions.
5412
d8e4b68b 54132011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5414
5415 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5416 Doc fix (Bug#8713).
5417
54182011-06-08 Chong Yidong <cyd@stupidchicken.com>
5419
5420 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5421
54222011-06-08 Juanma Barranquero <lekktu@gmail.com>
5423
5424 * loadhist.el (unload-feature-special-hooks):
5425 Add `comint-output-filter-functions'.
5426
0de12c52
IK
54272011-06-08 Ivan Kanis <gnu@kanis.fr>
5428
5429 * calendar/appt.el (appt-check): Move some initializations into the let.
5430
f3d1777e
MR
54312011-06-08 Martin Rudalics <rudalics@gmx.at>
5432
5433 * window.el (window-height): Defalias to window-total-height.
5434 (window-width): Defalias to window-body-width.
5435
18af70d0
CY
54362011-06-07 Chong Yidong <cyd@stupidchicken.com>
5437
5438 * image-mode.el (image-toggle-animation): New command.
5439 (image-mode-map): Bind it to RET.
5440 (image-mode): Update message.
5441 (image-toggle-display-image): Avoid a spurious cache flush.
5442 (image-transform-rotation): Doc fix.
5443 (image-transform-properties): Return quickly in the normal case.
5444 (image-animate-loop): Rename from image-animate-max-time.
5445
2b75be67 5446 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5447 (create-animated-image): Remove unnecessary function.
5448 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5449 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5450 (image-animate-timer): Use car-safe.
5451 (image-animate-timeout): Rename argument.
5452
190b47e6
MR
54532011-06-07 Martin Rudalics <rudalics@gmx.at>
5454
5455 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5456 window.c. Rename first argument to ALL-FRAMES.
5457 Rephrase doc-strings.
5458 (get-buffer-window-list): Rewrite using window-list-1.
5459 Rephrase doc-string.
a1511caf
MR
5460 (window-safe-min-height, window-safe-min-width): New constants.
5461 (window-size-ignore, window-min-size, window-min-size-1)
5462 (window-sizable, window-sizable-p, window-size-fixed-1)
5463 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5464 (window-max-delta-1, window-max-delta, window-resizable)
5465 (window-resizable-p, window-total-height, window-total-width)
5466 (window-body-width): New functions.
5467 (window-full-height-p, window-full-width-p): Rewrite using
5468 window-total-size.
5469 (window-body-height): Rewrite using window-body-size.
190b47e6 5470
85cc1f11
MR
54712011-06-06 Martin Rudalics <rudalics@gmx.at>
5472
5473 * window.el (window-right, window-left, window-child)
5474 (window-child-count, window-last-child, window-any-p)
5475 (normalize-live-buffer, normalize-live-frame)
5476 (normalize-any-window, normalize-live-window)
5477 (window-iso-combination-p, window-iso-combined-p)
5478 (window-iso-combinations)
5479 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5480 (windows-with-parameter, window-with-parameter)
5481 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5482 (window-atom-check, window-side-check, window-check):
5483 New functions.
85cc1f11
MR
5484 (ignore-window-parameters, window-sides, window-sides-vertical)
5485 (window-sides-slots): New variables.
5486 (window-size-fixed): Move down in code. Minor doc-string fix.
5487
e7156492
AS
54882011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5489
5490 * comint.el (comint-dynamic-complete-as-filename)
5491 (comint-dynamic-complete-filename): Correctly call
5492 completion-in-region.
5493
7e821d0d
DD
54942011-06-05 Deniz Dogan <deniz@dogan.se>
5495
5496 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5497 in last change.
5498
ac09b8a1
DD
54992011-06-05 Deniz Dogan <deniz@dogan.se>
5500
5501 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5502 (rcirc): Use it to prompt for encryption.
5503
34699b85
RW
55042011-06-05 Roland Winkler <winkler@gnu.org>
5505
5506 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5507 (bibtex-search-entries): New command bound to C-c C-a.
5508 (bibtex-display-entries): New function.
5509
004dedd3
RW
55102011-06-05 Roland Winkler <winkler@gnu.org>
5511
5512 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5513 (bibtex-insert-kill): After yanking insert newline if necessary.
5514 (bibtex-initialize): Call bibtex-string-files-init only once.
5515 (bibtex-mode): Do not call easy-menu-add.
5516 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5517 (bibtex-yank): Set arg properly if nil.
5518
022fe7ce
RW
55192011-06-05 Roland Winkler <winkler@gnu.org>
5520
2b75be67
SM
5521 * textmodes/bibtex.el (bibtex-search-entry-globally):
5522 New variable.
022fe7ce
RW
5523 (bibtex-search-entry): Use it.
5524
b7c3692a
RW
55252011-06-05 Roland Winkler <winkler@gnu.org>
5526
5527 * textmodes/bibtex.el (bibtex-entry-format): New option
5528 sort-fields.
5529 (bibtex-format-entry, bibtex-reformat): Honor this option.
5530 (bibtex-parse-entry): Return fields in proper order.
5531
8eda563d
JB
55322011-06-05 Juanma Barranquero <lekktu@gmail.com>
5533
5534 * doc-view.el (doc-view-remove-if): Move computation of result out
5535 of `dolist' to silence misleading lexical-binding warning.
5536
7dbe3dbc
CY
55372011-06-04 Chong Yidong <cyd@stupidchicken.com>
5538
5539 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5540 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5541
0c33dd17
MA
55422011-06-04 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5545 "SunOS 5.10".
5546
f8f91c2b
MA
55472011-06-04 Michael Albinus <michael.albinus@gmx.de>
5548
5549 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5550 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5551 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5552 (tramp-parse-putty):
5553 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5554 (tramp-completion-function-alist-ssh)
5555 (tramp-completion-function-alist-telnet)
5556 (tramp-completion-function-alist-su)
5557 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5558 cookie.
5559
5560 * net/tramp-ftp.el:
5561 * net/tramp-sh.el:
5562 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5563 load "tramp.el" `tramp-set-completion-function'.
5564
e17d9003
SM
55652011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * shell.el: Require and use pcomplete.
5568 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5569 (shell-completion-vars): Set pcomplete-default-completion-function.
5570
6c4cab03
DD
55712011-06-04 Deniz Dogan <deniz@dogan.se>
5572
5573 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5574 `memq' (Bug#8799).
5575
ea9fafe0
SM
55762011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5579
b3e945d3
JB
55802011-06-02 Juanma Barranquero <lekktu@gmail.com>
5581
5582 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5583 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5584 * vc/log-view.el (log-view-beginning-of-defun):
5585 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5586 (smerge-refine-forward, smerge-refine-chopup-region):
5587 Silence warning for unused `dotimes' counter variables.
5588
7d520089
SM
55892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * net/tramp.el (tramp-with-progress-reporter): Rename from
5592 with-progress-reporter. Use `declare'.
5593 * net/tramp-smb.el:
5594 * net/tramp-sh.el:
5595 * net/tramp-gvfs.el: Update all uses.
5596
a1c2400f
JB
55972011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5598
5599 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5600 buffer isn't killed before making it current.
5601
2403c841
SM
56022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 Silence various byte-compiler warnings.
5605 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5606 `access-type' and new obsolescence format.
5607 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5608 new format.
5609 (byte-compile-check-variable): New `access-type' argument.
5610 Only warn if the access-type is obsolete.
5611 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5612 (byte-compile-variable-set): Adjust callers.
5613 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5614 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5615 setting it as obsolete.
5616 * simple.el (minibuffer-completing-symbol):
5617 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5618 access as obsolete.
5619 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5620 obsolete yet.
5621 * international/quail.el (quail-mouse-choose-completion): Remove unused
5622 code referring to obsolete var.
5623 (quail-choose-completion-string): Remove.
5624 * server.el (server-clients-with, server-kill-buffer-query-function)
5625 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5626 * proced.el (proced-send-signal):
5627 * emacs-lisp/lisp.el (lisp-complete-symbol):
5628 Replace completion-annotate-function with completion-extra-properties.
5629
2462470b
SM
56302011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5631
fb5b2591
SM
5632 * simple.el (goto-line): Use read-number.
5633 (overriding-map-is-bound): Remove.
5634 (saved-overriding-map): Change default.
5635 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5636 Take the map as argument.
5637 (universal-argument, negative-argument, digit-argument): Use it.
5638 (restore-overriding-map): Adjust.
5639 (do-auto-fill): Use fill-forward-paragraph.
5640 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5641
fd6fa53f
SM
5642 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5643 (minibuffer-inactive-mode): New major mode.
5644 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5645 the *Messages* buffer" hack.
5646 (mouse-popup-menubar): Don't burp if the event is a normal key.
5647
2462470b
SM
5648 Miscellaneous tweaks.
5649 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5650 lexical scoping as in subr.el's dolist and dotimes.
5651 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5652 Silence compiler warning.
5653 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5654 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5655 * international/ccl.el (ccl-compile): Trivial simplification.
5656 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5657 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5658 `printflag' argument.
5659 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5660 Purecopy the whole obsolescence data.
5661
108bf785
LL
56622011-06-01 Leo Liu <sdl.web@gmail.com>
5663
5664 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5665 improve doc-string as suggested by Marco Pessotto
5666 <melmothx@gmail.com>.
5667 (rcirc-print): Fix last change.
5668
30a23501
SM
56692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * minibuffer.el (complete-with-action): Return nil for the metadata and
5672 boundaries of non-functional tables.
5673 (completion-table-dynamic): Return nil for the metadata.
5674 (completion-table-with-terminator): Add default case, using
5675 complete-with-action.
5676 (completion--metadata): New function.
5677 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5678 to try and avoid pathological performance problems.
5679 (completion--embedded-envvar-table): Return `category' metadata.
5680
bcd54f83
LMI
56812011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * subr.el (process-alive-p): New tiny convenience function.
5684
e227544d
SM
56852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5688 content but also its previous major mode.
5689
e8296fdc
HE
56902011-05-31 Helmut Eller <eller.helmut@gmail.com>
5691
4d61f28d 5692 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5693 *Backtrace* buffer when we exit with C-M-c.
5694
620c53a6
SM
56952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * minibuffer.el: Add metadata method to completion tables.
5698 (completion-category-overrides): New defcustom.
5699 (completion-metadata, completion--field-metadata)
5700 (completion-metadata-get, completion--styles)
5701 (completion--cycle-threshold): New functions.
5702 (completion-try-completion, completion-all-completions):
5703 Add `metadata' argument to choose completion-styles.
5704 (completion--do-completion): Use metadata to choose cycling.
5705 (completion-all-sorted-completions): Use metadata for sorting.
5706 Remove :completion-cycle-penalty which is not needed any more.
5707 (completion--try-word-completion): Add `metadata' argument.
5708 (minibuffer-completion-help): Check metadata for annotation function
5709 and sorting.
5710 (completion-file-name-table): Return `category' metadata.
5711 (minibuffer-completing-file-name): Make obsolete.
5712 * simple.el (minibuffer-completing-symbol): Make obsolete.
5713 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5714 completion-try-completion.
5715
1257e755
SM
57162011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5719
3767e706
LL
57202011-05-30 Leo Liu <sdl.web@gmail.com>
5721
5722 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5723 (rcirc-print): Decode all incoming messages (bug#8744).
5724 (rcirc-decode-coding-system): Allow value nil for automatic coding
5725 system detection.
3767e706 5726
d1a5d56a
GM
57272011-06-01 Glenn Morris <rgm@gnu.org>
5728
5729 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5730
e8cbec34
CY
57312011-05-29 Chong Yidong <cyd@stupidchicken.com>
5732
5733 * image.el (image-animate-max-time): Allow nil and t values.
5734 Default to nil.
5735 (create-animated-image): Doc fix.
5736 (image-animate-start): Remove second arg; just use
5737 image-animate-max-time.
5738 (image-animate-timeout): Doc fix. Args changed.
5739
5740 * image-mode.el (image-toggle-display-image): Ensure that the
5741 image spec passed to the animate timer is the same object as in
58179cce 5742 the buffer's display property (Bug#6981).
e8cbec34
CY
5743 (image-transform-properties): Doc fix.
5744
5745 * image.el (image-animate-max-time): Default to nil.
5746
159daf87
MR
57472011-05-29 Martin Rudalics <rudalics@gmx.at>
5748
5749 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5750 entire buffer list (Bug#8184).
5751
d66c4c7c
CY
57522011-05-29 Chong Yidong <cyd@stupidchicken.com>
5753
5754 * image.el (imagemagick-types-inhibit)
5755 (imagemagick-register-types): Doc fix.
5756
80aec780
DD
57572011-05-29 Deniz Dogan <deniz@dogan.se>
5758
5759 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5760 default.
5761
1dd3c2d9
CY
57622011-05-29 Chong Yidong <cyd@stupidchicken.com>
5763
5764 * select.el: Don't perform clipboard-manager saving in hooks;
5765 leave the hooks empty.
5766
60e56523
LL
57672011-05-28 Leo Liu <sdl.web@gmail.com>
5768
5769 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5770 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5771 (occur-edit-mode): New major mode (Bug#8463).
5772 (occur-after-change-function): New function.
5773 (occur-engine): Give Occur tags a read-only property.
5774
2b1e1a22
KR
57752011-05-28 Kevin Ryde <user42@zip.com.au>
5776
5777 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5778
5d344e88
CY
57792011-05-28 Chong Yidong <cyd@stupidchicken.com>
5780
8e6ca83d
CY
5781 * bindings.el (help-echo): Make the initial non-indicator dash
5782 empty on graphical terminals (Bug#7295).
5783
5d344e88
CY
5784 * files.el (auto-mode-alist): Move config rule after the
5785 in-stripping one (Bug#8547).
5786
bfbbace7
CY
5787 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5788
fbeba6e2
CY
5789 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5790 setting (Bug#8740).
5791
60ed8c72
AA
57922011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5793
4ac619f0
AA
5794 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5795 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5796 (Bug#8539).
60ed8c72 5797
23db196e
CY
57982011-05-28 Chong Yidong <cyd@stupidchicken.com>
5799
5800 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5801
5012f24c
DK
58022011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5803
5804 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5805 (hs-hide-block-at-point, hs-find-block-beginning)
5806 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5807 (Bug#8279).
5808
6a639b16
GM
58092011-05-28 Glenn Morris <rgm@gnu.org>
5810
5811 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5812
d43eaf2c
CY
58132011-05-28 Chong Yidong <cyd@stupidchicken.com>
5814
5199bde1
CY
5815 * help-fns.el (describe-function-1): If the function is a derived
5816 major mode, print the parent mode.
5817
d43eaf2c
CY
5818 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5819 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5820
423428a8
SM
58212011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5822
0ff8e1ba 5823 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 5824 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
5825 * progmodes/etags.el (tags-completion-at-point-function):
5826 * info-look.el (info-lookup-completions-at-point): Mark as
5827 non-exclusive.
5828 (info-complete): Adjust accordingly.
5829
423428a8
SM
5830 * info-look.el: Convert to lexical-binding and completion-at-point.
5831 (info-lookup-completions-at-point): New function.
5832 (info-complete): Use it and completion-in-region.
5833
b74aa22b
DA
58342011-05-28 Drew Adams <drew.adams@oracle.com>
5835
5836 * isearch.el: Let M-e start with point at the first mismatched char.
5837 (isearch-fail-pos): New function.
5838 (isearch-edit-string): Use it.
5839
66e2e71d
DK
58402011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5841
5842 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5843
eb95d01d
TC
58442009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5845
5846 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5847 traversal functions for avl-trees.
5848 (avl-tree--stack): New struct.
5849 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5850 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5851 (avl-tree--do-enter): Add optional `updatefun' arg.
5852 Change return value.
eb95d01d 5853 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5854 (avl-tree--do-delete): Add `test' and `nilflag' args.
5855 Change return value.
eb95d01d
TC
5856 (avl-tree-member): Add optional `nilflag'
5857 (avl-tree-member-p): New function.
5858 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5859 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5860 (avl-tree-stack-empty-p): New functions.
5861
3769ddcf
TC
58622009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5863
5864 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5865 avl-tree--del-balance1 and make it work both ways.
5866 (avl-tree--del-balance2): Remove.
5867 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5868 make it work both ways.
5869 (avl-tree--enter-balance2): Remove.
5870 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5871 New macros.
5872 (avl-tree--mapc, avl-tree-map): Add direction argument.
5873
eb95d01d 58742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5875
5876 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5877
a9f737ee
CY
58782011-05-27 Chong Yidong <cyd@stupidchicken.com>
5879
5880 * select.el: Support clipboard managers with built-in function
5881 x-clipboard-manager-save, via delete-frame-functions and
5882 kill-emacs-hook.
5883 (xselect-convert-to-targets): Add MULTIPLE target to list.
5884 (xselect-convert-to-save-targets): New function.
5885
c92a1e54
KH
58862011-05-27 Kenichi Handa <handa@m17n.org>
5887
5888 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5889 let-binding rfc2047-encode-encoded-words to nil.
5890
e145f188
GM
58912011-05-27 Glenn Morris <rgm@gnu.org>
5892
5ec8a862
GM
5893 * mail/emacsbug.el: Don't require url-util.
5894
4b29d9fb
GM
5895 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5896
e145f188
GM
5897 * files.el (set-auto-mode):
5898 Also respect mode: entries at the end of the file. (Bug#8586)
5899
7d15102b
GM
59002011-05-26 Glenn Morris <rgm@gnu.org>
5901
98f593b8
GM
5902 * files.el (hack-local-variables-prop-line, hack-local-variables):
5903 Downcase mode names, as seems to be traditional.
27b48e63 5904 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5905
7d15102b
GM
5906 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5907 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5908
51d5b4ec
JD
59092011-05-25 Julien Danjou <julien@danjou.info>
5910
5911 * textmodes/rst.el (rst-define-level-faces): Do not define face
5912 symbol if it is already defined.
5913
91513f63
VB
59142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5915
5916 * play/5x5.el (5x5-new-game, 5x5-randomize):
5917 Reset 5x5-solver-output to nil when a new grid is cast.
5918 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5919 these debugging traces, as defmacro breaks the compiled code.
5920
4d90d6d0
DK
59212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5922
5923 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5924
e1b90ef6
LL
59252011-05-24 Leo Liu <sdl.web@gmail.com>
5926
5927 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5928 (vc-bzr-sha1): Adapt.
5929
d8e4b68b 5930 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5931
5932 * bindings.el: Provide sha1 feature.
5933
db0406bb 59342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5935
5936 * mail/sendmail.el: Require `rfc2047'.
5937 (mail-insert-from-field): Do not perform RFC2047 encoding.
5938 (mail-encode-header): New function.
5939 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5940 buffer to the return value of select-message-coding-system.
5941 Call mail-encode-header.
b8d747b9
KH
5942
5943 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5944
db0406bb 59452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5946
4d90d6d0
DK
5947 * mail/supercite.el (sc-default-cite-frame):
5948 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5949
eb8a5e9b
GM
59502011-05-24 Glenn Morris <rgm@gnu.org>
5951
f8630703
GM
5952 * progmodes/python.el (brm-menu): Declare.
5953
8831bbed
GM
5954 * emulation/viper.el (viper-set-hooks): Declare.
5955
eb8a5e9b
GM
5956 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5957 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5958 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5959 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5960 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5961 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5962
a2a25d24
SM
59632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 Add an :exit-function for completion-at-point.
5966
5967 * minibuffer.el (completion--done): New fun.
5968 (completion--do-completion): Use it. New arg `expect-exact'.
5969 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5970 since completion--do-completion does it for us now.
5971 (minibuffer-force-complete): Use completion--done and
5972 completion--replace. Handle sole-completion case with more care.
5973 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5974 (completion-extra-properties): New var.
5975 (completion-annotate-function): Make obsolete.
5976 (minibuffer-completion-help): Adjust accordingly.
5977 Use completion-list-insert-choice-function.
5978 (completion-at-point, completion-help-at-point):
5979 Bind completion-extra-properties.
5980 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5981 * simple.el (completion-list-insert-choice-function): New var.
5982 (completion-setup-function): Preserve it.
5983 (choose-completion): Pay attention to it, shuffle the code a bit.
5984 (choose-completion-string): New arg `insert-function'.
5985
5986 * textmodes/bibtex.el: Convert to lexical binding.
5987 (bibtex-mode-map): Use completion-at-point.
5988 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5989 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5990 (bibtex-complete): Define as obsolete alias.
5991 (bibtex-complete-internal): Remove.
5992 (bibtex-format-entry): Remove unused sub-group in regexp.
5993 * shell.el (shell--command-completion-data)
5994 (shell-environment-variable-completion):
5995 * pcomplete.el (pcomplete-completions-at-point):
5996 * comint.el (comint--complete-file-name-data): Use :exit-function
5997 instead of completion-table-with-terminator so it also works for
5998 choose-completion.
5999
e44e373d
SM
60002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6001
4f91a816
SM
6002 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6003
782fc819
SM
6004 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6005 (bug#8710).
6006
e44e373d
SM
6007 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6008
381987c3
KM
60092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6010
6011 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6012 customization variable and implement: If non-nil, auto-fill will
6013 be inhibited while on topic's header line.
6014
b776bc70
VB
60152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6016
6017 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6018 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6019 always have a solution in grid size = 5 cases.
6020 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6021 (5x5-solver-output, 5x5-log-buffer): New vars.
6022 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6023 Make these variables buffer local to achieve 5x5 multi-session-ness.
6024 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6025 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6026 (5x5-solve-suggest): New funs.
6027 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6028 randomize a grid so that we ensure that there is always a solution.
6029 (5x5-make-random-grid): Allow other movement than flipping.
6030
7de88b6e
KR
60312011-05-23 Kevin Ryde <user42@zip.com.au>
6032
6033 * emacs-lisp/advice.el (ad-read-advised-function):
6034 Use `function-called-at-point' as the default default, if it has
6035 advice and passes PREDICATE.
6036
b1ef1257
SM
60372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6038
bbca48fe
SM
6039 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6040 byte-compile-lambda if it's actually a lambda.
6041
b1ef1257
SM
6042 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6043 Fix function quoting. Use backquote better.
6044
92a9cc65
YS
60452011-05-22 Yuanle Song <sylecn@gmail.com>
6046
6047 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6048 matching (Bug#8516).
6049
f0fb8059
JA
60502011-01-22 Jari Aalto <jari.aalto@cante.net>
6051
6052 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6053 different face (Bug#8178).
6054
d5b44c93
CY
60552011-05-22 Chong Yidong <cyd@stupidchicken.com>
6056
6057 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6058 defface (Bug#8144).
6059
79106a44
SM
60602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6061
9c848d8a
SM
6062 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6063 funcall as well (bug#8712). Warn when performing those conversions.
6064 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6065
79106a44
SM
6066 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6067
88dfa756
GM
60682011-05-22 Glenn Morris <rgm@gnu.org>
6069
6070 * files.el (hack-local-variables-prop-line): Small simplifications.
6071 (hack-local-variables, hack-local-variables-prop-line):
6072 If MODE-ONLY, return the mode, rather than just `t'.
6073
b7cf2c79
SM
60742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6077
3f1a8558
GM
60782011-05-21 Glenn Morris <rgm@gnu.org>
6079
7e4ccca3
GM
6080 * files.el (hack-local-variables-prop-line, hack-local-variables):
6081 If only interested in the mode, don't bother doing the other stuff.
6082
637d46ca
GM
6083 * image-mode.el (image-after-revert-hook):
6084 Redraw all frames on which the image is visible. (Bug#8567)
6085
973d955b
GM
6086 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6087
3f1a8558
GM
6088 * wid-edit.el (widget-checklist-match-inline):
6089 Fix 2011-04-19 change. (Bug#8649)
6090
96479927
SM
60912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6092
1dcf791f
SM
6093 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6094 Also allow singlespace after single-letter capitals followed by a dot.
6095
96479927
SM
6096 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6097 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6098
35fd0881
N
60992011-05-20 Nix <nix@esperi.org.uk>
6100
6101 * files.el (basic-save-buffer-2):
6102 Fix handling of break-hardlink-on-save with non-existent files.
6103
82745640
DD
61042011-05-19 Deniz Dogan <deniz@dogan.se>
6105
6106 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6107 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6108
4a720484
GM
61092011-05-19 Glenn Morris <rgm@gnu.org>
6110
d1f21341
GM
6111 * progmodes/f90.el (f90-type-def-re):
6112 Handle "type, bind(c)". (Bug#8691)
6113
4a720484
GM
6114 * emacs-lisp/autoload.el (batch-update-autoloads):
6115 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6116
2fb0a219
MA
61172011-05-18 Michael Albinus <michael.albinus@gmx.de>
6118
6119 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6120 property for the correct connection in case of multihops.
6121
e565dd37
GM
61222011-05-18 Glenn Morris <rgm@gnu.org>
6123
c2571358 6124 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6125 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6126
e565dd37
GM
6127 Rationalize calendar handling of day and month abbrev-arrays.
6128 * calendar/calendar.el (calendar-customized-p): New function.
6129 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6130 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6131 Add :set function.
6132 (calendar-abbrev-length, calendar-day-abbrev-array)
6133 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6134 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6135 Elements may no longer be nil.
6136 (calendar-day-name, calendar-month-name):
6137 Update for changed nature of abbrev arrays.
6138 * calendar/diary-lib.el (diary-name-pattern):
6139 Update for changed nature of abbrev arrays.
6140 (diary-mark-entries-1): Update calendar-make-alist calls.
6141 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6142 * calendar/cal-html.el (cal-html-day-abbrev-array):
6143 Simply inherit from calendar-day-abbrev-array.
6144
1d99a745
SM
61452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * progmodes/grep.el (grep-mode): Disable default
6148 compilation-directory-matcher setting (bug#8684).
6149
7c1d9aa0
MA
61502011-05-17 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6153 instead of "head" and "tail". There were problems with SunOS 5.9,
6154 and it performs better.
6155
3952e9d8
GM
61562011-05-17 Glenn Morris <rgm@gnu.org>
6157
2dd12e7f
GM
6158 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6159
e4157b9c
GM
6160 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6161 Replace obsolete function.
6162
8e249bbd
GM
6163 * shell.el (pcomplete-parse-arguments-function): Declare.
6164
3952e9d8
GM
6165 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6166 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6167 (appt-check): Doc fixes.
6168 (appt-disp-window-function, appt-delete-window-function):
6169 Remove needless special case in custom :type.
6170 (appt-display-count): Default to 0, not nil.
6171 (appt-check): Reset appt-display-count to 0, not nil.
6172
c71a0d48 61732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6174
c71a0d48
GM
6175 * progmodes/python.el (python-font-lock-keywords):
6176 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6177
31d55be9
SM
61782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6181
3bfacb2f
KR
61822011-05-16 Kevin Ryde <user42@zip.com.au>
6183
6184 * info-look.el (makefile-automake-mode): New setups, looking in
6185 automake manual, then makefile-mode.
6186 (makefile-mode): Remove automake manual, have it just in
6187 makefile-automake-mode since there's various things different or
6188 not relevant to plain make.
6189 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6190 believe a hypothetical automake-mode would go to makefile-mode,
6191 not the other way around.
6192
c8e83751
CY
61932011-05-15 Chong Yidong <cyd@stupidchicken.com>
6194
5e9e35cd
CY
6195 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6196 hunk-end tags (Bug#8672).
6197
c8e83751
CY
6198 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6199 vc-annotate-show-diff-revision-at-line (Bug#8671).
6200
50b23e5a
GM
62012011-05-14 Glenn Morris <rgm@gnu.org>
6202
7210a739
GM
6203 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6204 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6205 (change-log-font-lock-keywords): Also handle multiple author lines
6206 with leading tabs. (Bug#8644)
7210a739 6207
4691905a
GM
6208 * calendar/appt.el (appt-check): Rename some local variables.
6209 Some simplification/reordering.
6210
50b23e5a
GM
6211 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6212 (feedmail-sendmail-f-doesnt-sell-me-out)
6213 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6214 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6215 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6216 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6217 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6218 (feedmail-binmail-gnulinuxish-template):
6219 Rename from feedmail-binmail-linuxish-template.
6220 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6221 Use insert-buffer-substring.
6222
215cda7c
BC
62232011-05-14 Bill Carpenter <bill@carpenter.org>
6224
6225 * mail/feedmail.el (feedmail-patch-level): Increase.
6226 (feedmail-debug): New custom group.
6227 (feedmail-confirm-outgoing-timeout)
6228 (feedmail-sendmail-f-doesnt-sell-me-out)
6229 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6230 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6231 (feedmail-sender-line, feedmail-from-line)
6232 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6233 (feedmail-spray-this-address)
215cda7c
BC
6234 (feedmail-spray-address-fiddle-plex-list)
6235 (feedmail-queue-use-send-time-for-date)
6236 (feedmail-queue-use-send-time-for-message-id)
6237 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6238 (feedmail-buffer-eating-function):
6239 Doc fixes.
6240 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6241 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6242 (feedmail-message-action-scroll-down): New functions.
6243 (feedmail-queue-directory, feedmail-queue-draft-directory):
6244 Use expand-file-name.
6245 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6246 Remove C-v help entry.
6247 (feedmail-queue-buffer-file-name): New variable.
6248 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6249 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6250 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6251 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6252 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6253 (feedmail-message-action-toggle-spray)
6254 (feedmail-run-the-queue-no-prompts)
6255 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6256 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6257 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6258 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6259 (feedmail-envelope-deducer, feedmail-fiddle-from)
6260 (feedmail-fiddle-sender, feedmail-default-date-generator)
6261 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6262 (feedmail-fiddle-spray-address)
6263 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6264 (feedmail-fiddle-list-of-fiddle-plexes)
6265 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6266 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6267 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6268 Change default. Doc fix.
6269 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6270 (feedmail-binmail-linuxish-template): New constant.
6271 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6272 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6273 (feedmail-send-it): Add debug call.
6274 Use feedmail-queue-buffer-file-name, and
6275 feedmail-send-it-immediately-wrapper.
6276 (feedmail-message-action-send): Add debug call.
6277 Use feedmail-send-it-immediately-wrapper.
6278 (feedmail-queue-express-to-queue): Add debug call.
6279 Run feedmail-queue-express-hook.
6280 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6281 (feedmail-message-action-help-blat):
6282 Rename from feedmail-queue-send-edit-prompt-help-first.
6283 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6284 Check line-endings. Handle errors better.
6285 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6286 Doc fix. Add debug call.
6287 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6288 Use feedmail-queue-send-edit-prompt-inner.
6289 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6290 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6291 from feedmail-queue-send-edit-prompt.
6292 (feedmail-queue-send-edit-prompt-help)
6293 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6294 (feedmail-tidy-up-slug): Add debug call.
6295 Respect feedmail-queue-slug-suspect-regexp.
6296 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6297 (feedmail-dump-message-to-queue): Add debug call.
6298 Expand queue-directory.
6299 (feedmail-dump-message-to-queue): Change message slightly.
6300 Use feedmail-say-chatter.
6301 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6302 (feedmail-send-it-immediately-wrapper): New function.
6303 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6304 Insert empty string rather than newline. Handle full-frame case.
6305 Use catch/throw. Use feedmail-say-chatter.
6306 (feedmail-fiddle-from): Try mail-host-address.
6307 (feedmail-default-message-id-generator): Doc fix.
6308 Bind system-time-locale. Handle missing end.
6309 (feedmail-fiddle-x-mailer): Add debug call.
6310 Handle feedmail-x-mailer-line being nil.
6311 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6312 Add debug call. Use buffer-substring-no-properties.
6313 (feedmail-say-debug, feedmail-say-chatter): New functions.
6314 (feedmail-find-eoh): Give an explicit error.
6315
42c7e61e
UJ
63162011-05-13 Ulf Jasper <ulf.jasper@web.de>
6317
c2571358 6318 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6319 family from helvetica to sans.
c2571358 6320 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6321 etc/images/newsticker.
6322
c2571358 6323 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6324 family from helvetica to sans.
6325
6326 * net/newst-plainview.el (newsticker-new-item-face)
6327 (newsticker-old-item-face, newsticker-immortal-item-face)
6328 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6329 (newsticker-statistics-face): Change default family from
42c7e61e 6330 helvetica to sans.
c2571358 6331 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6332 etc/images/newsticker.
6333
6334 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6335 (newsticker--process-auto-mark-filter-match): : Tell user about
6336 auto-marking.
6337
8497a297
DV
63382011-05-13 Didier Verna <didier@xemacs.org>
6339
6340 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6341 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6342 TODO entries.
8497a297
DV
6343 (lisp-lambda-list-keyword-parameter-indentation)
6344 (lisp-lambda-list-keyword-parameter-alignment)
6345 (lisp-lambda-list-keyword-alignment): New customizable user options.
6346 (lisp-indent-defun-method): Improve docstring.
6347 (extended-loop-p): Fix comment.
6348 (lisp-indent-lambda-list-keywords-regexp): New variable.
6349 (lisp-indent-lambda-list): New function.
6350 (lisp-indent-259): Use it.
6351 (lisp-indent-defmethod): Support for more than one
6352 method qualifier and properly indent methods lambda-lists.
6353 (defgeneric): Provide a missing common-lisp-indent-function property.
6354
f278f87f
SM
63552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6358 bounds for the empty string (bug#8667).
6359
5233edd7
GM
63602011-05-13 Glenn Morris <rgm@gnu.org>
6361
5237a44f
GM
6362 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6363
8340026c 6364 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6365 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6366
5233edd7 6367 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6368 (appt-time-msg-list): Doc fix.
a5464014 6369 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6370
92d10796
AS
63712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6372
6373 * progmodes/ld-script.el (ld-script-keywords)
6374 (ld-script-builtins): Update keywords list.
6375
914a0ae1
SM
63762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6377
c89be45f
SM
6378 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6379
914a0ae1
SM
6380 * shell.el (shell-completion-vars): New function.
6381 (shell-mode):
6382 * simple.el (read-shell-command): Use it.
6383 (blink-matching-open): No need for " [...]" in minibuffer-message.
6384
98dc3df3
GM
63852011-05-12 Glenn Morris <rgm@gnu.org>
6386
6387 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6388 (appt-check): Simplify.
6389
d2fc7e3d 63902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6391
4d61f28d 6392 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6393 literal "/dev/null".
6394
d2fc7e3d 63952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6396
6397 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6398 Fix typo.
6399
d2fc7e3d 64002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6401
3f254caa
SM
6402 * progmodes/which-func.el (which-function):
6403 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6404 which might not be defined (Bug#8260).
6405
d45885f7
GM
64062011-05-12 Glenn Morris <rgm@gnu.org>
6407
6408 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6409 Let byte-compile-initial-macro-environment always take precedence.
6410
488086f4
SM
64112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * net/rcirc.el: Add support for SSL/TLS connections.
6414 (rcirc-server-alist): New field `encryption'.
6415 (rcirc): Check `encryption' settings.
6416 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6417 Merge make-local-variable into `set'.
6418 (rcirc--connection-open-p): New function.
6419 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6420 the process is not a network process (e.g. running gnutls-cli).
6421 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6422 Make rcirc-(en|de)code-coding-system local here.
6423 (rcirc-mode): Merge make-local-variable into `set'.
6424 (rcirc-parent-buffer): Make permanent buffer-local.
6425 (rcirc-multiline-minor-mode): Don't do it here.
6426 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6427 there's no server buffer.
6428
7d3b9d44
GM
64292011-05-11 Glenn Morris <rgm@gnu.org>
6430
f64049c6
GM
6431 * newcomment.el (comment-kill): Prefix "unused" local.
6432
93c9df73
GM
6433 * term/w32console.el (get-screen-color): Declare.
6434
7d3b9d44
GM
6435 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6436 Handle symbol elements of byte-compile-initial-macro-environment.
6437
9e2dd53f
LL
64382011-05-10 Leo Liu <sdl.web@gmail.com>
6439
488086f4
SM
6440 * bookmark.el (bookmark-bmenu-mode-map):
6441 Bind bookmark-bmenu-search to `/'.
8b340240 6442
9e2dd53f 6443 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6444 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6445 (Footnote-unicode): New function.
6446 (footnote-style-alist): Add unicode style to the list.
6447 (footnote-style): Doc fix.
9e2dd53f 6448
79b70037
GM
64492011-05-10 Jim Meyering <meyering@redhat.com>
6450
6451 Fix doubled-word typos.
6452 * international/quail.el (quail-insert-kbd-layout): and and -> and
6453 * kermit.el: and and -> and
6454 * net/ldap.el (ldap-search-internal): to to -> to
6455 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6456 * progmodes/js.el (js-mode): and and -> and
6457 * textmodes/artist.el (artist-move-to-xy): at at -> at
6458 (artist-draw-region-trim-line-endings): if if -> if
6459 And Safetyc -> Safety.
6460 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6461
b8f82dc1 64622011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6463 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6464
6465 * files.el (hack-one-local-variable-eval-safep):
6466 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6467
4f99f44b
GM
64682011-05-10 Glenn Morris <rgm@gnu.org>
6469
6470 * calendar/diary-lib.el (diary-list-entries-hook)
6471 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6472 (diary-nongregorian-marking-hook, diary-list-entries)
6473 (diary-include-other-diary-files, diary-mark-entries)
6474 (diary-mark-included-diary-files): Doc fixes.
6475
84f29e6b
JB
64762011-05-09 Juanma Barranquero <lekktu@gmail.com>
6477
6478 * misc.el: Require tabulated-list.el during compilation.
6479
9bedd73a
CY
64802011-05-09 Chong Yidong <cyd@stupidchicken.com>
6481
488086f4
SM
6482 * progmodes/compile.el (compilation-start):
6483 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6484 (compilation-filter-hook): Doc fix.
6485
797c735c
DD
64862011-05-09 Deniz Dogan <deniz@dogan.se>
6487
6488 * wdired.el: Remove outdated installation comment. Fix usage
6489 comment.
6490
5f4b1dfe
JB
64912011-05-09 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * misc.el: Implement new command `list-dynamic-libraries'.
6494 (list-dynamic-libraries--loaded-only-p): New variable.
6495 (list-dynamic-libraries--refresh): New function.
6496 (list-dynamic-libraries): New command.
6497
4c44026c
CY
64982011-05-09 Chong Yidong <cyd@stupidchicken.com>
6499
488086f4
SM
6500 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6501 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6502 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6503 higher priority to avoid clobbering by gnu.
6504
027f966d
CY
65052011-05-08 Chong Yidong <cyd@stupidchicken.com>
6506
6507 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6508 if the face has existing theme settings (Bug#8454).
6509
085f5d7d
CY
65102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6511
488086f4
SM
6512 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6513 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6514
2a86a00c
RS
6515 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6516 special file names `.' and `..' (Bug#8259).
6517
d9c54a06
CY
65182011-05-08 Chong Yidong <cyd@stupidchicken.com>
6519
488086f4
SM
6520 * progmodes/grep.el (grep-mode-font-lock-keywords):
6521 Remove buffer-changing entries.
d9c54a06
CY
6522 (grep-filter): New function.
6523 (grep-mode): Add it to compilation-filter-hook.
6524
6525 * progmodes/compile.el (compilation-filter-hook)
6526 (compilation-filter-start): New defvars.
6527 (compilation-filter): Call compilation-filter-hook prior to
6528 updating the process mark.
6529
c4662635
SM
65302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6533
b0512a1d
EZ
65342011-05-07 Eli Zaretskii <eliz@gnu.org>
6535
605c9376
EZ
6536 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6537 mailclient-send-it even if window-system is nil. (Bug#8595)
6538
c4662635
SM
6539 * term/w32console.el (terminal-init-w32console):
6540 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6541 background-mode. (Bug#8597)
6542
d1dc2cc2
SM
65432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6546 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6547 New functions.
6548 (defgeneric, eieio--defmethod): Use them.
6549 (eieio-defgeneric): Remove.
6550 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6551
915d1300
GM
65522011-05-07 Glenn Morris <rgm@gnu.org>
6553
a3961c3e
GM
6554 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6555 Use let rather than let*.
6556 (timeclock-find-discrep): Remove unused local.
6557
314347b9
GM
6558 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6559
915d1300
GM
6560 * calendar/appt.el (appt-time-msg-list): Doc fix.
6561
275b59b0
NF
65622011-05-06 Noah Friedman <friedman@splode.com>
6563
6564 * apropos.el (apropos-print-doc): Only use
6565 emacs-lisp-docstring-fill-column when it is bound to an integer,
6566 per that variable's documentation.
6567
6c19f744
SM
65682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6571 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6572
60f884b2
GM
65732011-05-06 Glenn Morris <rgm@gnu.org>
6574
5006e634
GM
6575 * calendar/appt.el (appt-message-warning-time): Doc fix.
6576 (appt-warning-time-regexp): New option.
6577 (appt-make-list): Respect appt-message-warning-time.
6578
548d0a63
GM
6579 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6580 New options.
6581 (diary-add-to-list): Strip comments from the displayed string.
6582 (diary-mode): Set comment-start and comment-end.
6583
60f884b2
GM
6584 * vc/diff-mode.el (smerge-refine-subst): Declare.
6585 (diff-refine-hunk): Don't require smerge-mode when compiling.
6586
989681bb
JB
65872011-05-06 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * simple.el (list-processes): Return nil as the docstring says.
6590
a6bc05e1
MA
65912011-05-05 Michael Albinus <michael.albinus@gmx.de>
6592
6593 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6594 to "".
6595 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6596 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6597 determining of binary transfer. (Bug#7383)
6598
23c22e9a
MA
65992011-05-05 Michael Albinus <michael.albinus@gmx.de>
6600
c4662635
SM
6601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6602 Fix port computation bug. (Bug#8618)
23c22e9a 6603
0bff894f
GM
66042011-05-05 Glenn Morris <rgm@gnu.org>
6605
b8296902
GM
6606 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6607
1f522ce8
GM
6608 * simple.el (shell-dynamic-complete-functions)
6609 (comint-dynamic-complete-functions): Declare.
6610
cf5bee67
GM
6611 * net/network-stream.el (gnutls-negotiate):
6612 * simple.el (tabulated-list-print): Fix declarations.
6613
6614 * progmodes/gud.el (syntax-symbol, syntax-point):
6615 Remove unnecessary and incorrect declarations.
6616
0bff894f
GM
6617 * emacs-lisp/check-declare.el (check-declare-scan):
6618 Handle byte-compile-initial-macro-environment in bytecomp.el
6619
9869b3ae
SM
66202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 Fix earlier half-done eieio-defmethod change (bug#8338).
6623 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6624 Streamline and change calling convention.
6625 (defmethod): Adjust accordingly and simplify.
6626 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6627 new eieio--defmethod.
6628 (slot-boundp): Minor CSE simplification.
6629
9c1d5ac5
MZ
66302011-05-05 Milan Zamazal <pdm@zamazal.org>
6631
6632 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6633 (glasses-make-readable): Use glasses-separate-capital-groups.
6634
455c834e
JB
66352011-05-05 Juanma Barranquero <lekktu@gmail.com>
6636
6637 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6638 (warning-series): Doc fix.
6639 (display-warning): Don't try to create the buffer if we just found it.
6640
9ed7c8cb
CY
66412011-05-04 Chong Yidong <cyd@stupidchicken.com>
6642
6643 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6644 (autoload-find-generated-file): New function.
6645 (generate-file-autoloads): Bind generated-autoload-file to
6646 buffer-file-name.
9869b3ae
SM
6647 (update-file-autoloads, update-directory-autoloads):
6648 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6649 output file (Bug#7989).
6650 (batch-update-autoloads): Doc fix.
6651
0898ca10
JB
66522011-05-04 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6655
31dfb76c
GM
66562011-05-04 Glenn Morris <rgm@gnu.org>
6657
f330b642
GM
6658 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6659 function, so it follows changes in calendar-date-style.
6660 (diary-fancy-date-matcher): New function.
6661 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6662 (diary-fancy-font-lock-fontify-region-function):
6663 Use diary-fancy-date-pattern as a function.
6664
31dfb76c
GM
6665 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6666 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6667
48e79d6a
TZ
66682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6669
6670 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6671 instead of positional arguments. Allow :keylist and :crlfiles
6672 arguments.
6673 (open-gnutls-stream): Call it.
6674
6675 * net/network-stream.el (network-stream-open-starttls): Adjust to
6676 call `gnutls-negotiate' with :process and :hostname arguments.
6677
dd5a5ee0
SM
66782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6679
ef80fc09
SM
6680 * minibuffer.el (completion--message): New function.
6681 (completion--do-completion, minibuffer-complete)
6682 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6683 (completion--do-completion): Don't ignore completion-auto-help when in
6684 icomplete-mode.
6685
dd5a5ee0
SM
6686 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6687 internal encoding (e.g. tibetan zero is not whitespace).
6688 (global-whitespace-mode): Prefer save-current-buffer.
6689 (whitespace-trailing-regexp): Remove useless save-match-data.
6690 (whitespace-empty-at-bob-regexp): Minor simplification.
6691
b7d22a83
CY
66922011-05-03 Chong Yidong <cyd@stupidchicken.com>
6693
6694 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6695
5192af46
AM
66962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6697
6698 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6699 Use `concat' to create string for insertion.
5192af46 6700
5767d190
SM
67012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6704 Avoid open-line which runs post-self-insert-hook.
6705 (bibtex-fill-entry): Remove unused `end' var.
6706
bf242939
AM
67072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6708
5767d190
SM
6709 * textmodes/ispell.el (ispell-add-per-file-word-list):
6710 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6711
25666126
LL
67122011-05-03 Leo Liu <sdl.web@gmail.com>
6713
6714 * isearch.el (isearch-yank-pop): New command.
5767d190 6715 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6716 (isearch-forward): Mention it.
6717
52d3c2d0
SM
67182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6719
1bcace58
SM
6720 * simple.el (minibuffer-complete-shell-command): Remove.
6721 (minibuffer-local-shell-command-map): Use completion-at-point.
6722 (read-shell-command): Setup completion vars here instead.
6723 (read-expression-map): Bind TAB to symbol completion.
6724
52d3c2d0
SM
6725 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6726 error directly rather via storing it into `results'.
6727
35813471
LL
67282011-05-02 Leo Liu <sdl.web@gmail.com>
6729
6730 * vc/diff.el: Fix description.
6731
e793a940
LMI
67322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
6734 * server.el (server-eval-at): New function.
6735
8de66e05
LMI
67362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6737
6738 * net/network-stream.el (open-network-stream): Take a :nowait
6739 parameter and pass it on to `make-network-process'.
6740 (network-stream-open-plain): Ditto.
6741
dcb79f20
AS
67422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6743
6744 * faces.el (face-spec-set-match-display): Don't match toolkit
6745 options on terminal frames.
6746
14a7fbd8
SM
67472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6748
7eabc1be
SM
6749 * progmodes/pascal.el: Use lexical binding.
6750 (pascal-mode-map): Remove author preferences.
6751
14a7fbd8
SM
6752 * pcomplete.el (pcomplete-std-complete): Don't abuse
6753 completion-at-point.
6754
50f84510
JB
67552011-04-28 Juanma Barranquero <lekktu@gmail.com>
6756
6e087a44
JB
6757 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6758 removing code that has been dead since 1991 or so.
6759
50f84510
JB
6760 * startup.el (command-line): When warning about "_emacs", use a
6761 delayed warning to allow the user to filter it out.
6762
0ba690bd
DD
67632011-04-28 Deniz Dogan <deniz@dogan.se>
6764
6765 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6766 user has not joined.
6767
08abfaad
SM
67682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6771 aren't any completions at point.
6772
638f053a
JB
67732011-04-28 Juanma Barranquero <lekktu@gmail.com>
6774
6775 * subr.el (display-delayed-warnings): New function.
6776 (delayed-warnings-hook): New variable.
6777
8fff8daa
SM
67782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6779
08abfaad
SM
6780 * minibuffer.el (completion-at-point, completion-help-at-point):
6781 Don't presume that a given completion-at-point-function will always
6782 use the same calling convention.
6783
8fff8daa
SM
6784 * pcomplete.el (pcomplete-completions-at-point):
6785 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6786 pcomplete-seen is non-nil.
6787 (pcomplete-comint-setup): Also recognize the new comint/shell
6788 completion functions.
6789 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6790 pcomplete-seen is non-nil.
6791
841a1577 67922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6793
841a1577 6794 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6795 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6796 the first character in the entry. This allows for code to add its
211ec907
UJ
6797 own uid to the entry.
6798 (icalendar--convert-float-to-ical): Add export of
6799 `diary-float'-entries save for those with the optional DAY
6800 argument.
6801
2a782793
DC
68022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6803
6804 * subr.el (shell-quote-argument): Use alternate escaping strategy
6805 when we spot a variable reference in a string.
6806
0438ce91
DC
68072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6808
6809 * cus-start.el (all): Define customization for debug-on-event.
6810
841a1577 68112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6812
6813 * subr.el (shell-quote-argument): Escape correctly under Windows.
6814
d090ed6c
SM
68152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6818
bfd31217
MA
68192011-04-25 Michael Albinus <michael.albinus@gmx.de>
6820
d090ed6c
SM
6821 * net/tramp.el (tramp-process-actions): Add POS argument.
6822 Delete region between POS and (pos).
bfd31217 6823
d090ed6c
SM
6824 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6825 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6826 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6827
6828 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6829 position in `tramp-process-actions' call.
6830
6831 * net/trampver.el: Update release number.
6832
e92f3bd3
SM
68332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6834
850256b5
SM
6835 * custom.el (defcustom): Obey lexical-binding.
6836
e92f3bd3
SM
6837 Fix octave-inf completion problems reported by Alexander Klimov.
6838 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6839 Inherit from octave-mode-syntax-table.
6840 (inferior-octave-mode): Set info-lookup-mode.
6841 (inferior-octave-completion-at-point): New function.
6842 (inferior-octave-complete): Use it and completion-in-region.
6843 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6844 comint-filename-completion.
6845 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6846 symbol elements which shouldn't be word elements.
6847 (octave-font-lock-keywords, octave-beginning-of-defun)
6848 (octave-function-header-regexp): Adjust regexps accordingly.
6849 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6850
cd22b309
JB
68512011-04-25 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * net/gnutls.el (gnutls-errorp): Declare before first use.
6854
8b492194
TZ
68552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6856
6857 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6858 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6859 default trustfile exists before going to use it. Add missing
6860 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6861 Reported by Claudio Bley <claudio.bley@gmail.com>.
6862 (open-gnutls-stream): Add usage example.
6863
6864 * net/network-stream.el (network-stream-open-starttls): Give host
6865 parameter to `gnutls-negotiate'.
6866 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6867 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6868
841a1577 68692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6870
cd22b309
JB
6871 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6872 Use correct match group (bug#8438).
05842630 6873
3ba7869c
CY
68742011-04-24 Chong Yidong <cyd@stupidchicken.com>
6875
512e3ae1
CY
6876 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6877 (package-menu--generate): New arg specifying packages to show.
6878 (package-menu-refresh, package-menu-execute, list-packages):
6879 Callers changed.
6880 (package-show-package-list): New function, replacing deleted
6881 package--list-packages (renamed because it is non-internal).
6882
6883 * finder.el (finder-list-matches): Use package-show-package-list
6884 instead of deleted package--list-packages.
6885
e92f3bd3
SM
6886 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6887 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6888 (vc-annotate-mode-map): Bind it to RET.
6889
7031be6d
UR
68902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6891
6892 * progmodes/etags.el (next-file): Don't use set-buffer to change
6893 buffers (Bug#8478).
6894
4ef177aa
CY
68952011-04-24 Chong Yidong <cyd@stupidchicken.com>
6896
c8d173eb
CY
6897 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6898
4ef177aa
CY
6899 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6900 (apropos-accumulator): Doc fix.
6901 (apropos-function, apropos-macro, apropos-command)
6902 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6903 (apropos-plist): Add face property.
6904 (apropos-symbols-internal): Fix indentation.
6905 (apropos-print): Simplify help, and recognize apropos-multi-type.
6906 (apropos-print-doc): Use button-type-get to extract the button's
6907 face property. Fill docstring (Bug#8352).
6908
4ffd0d6b 69092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6910
6911 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6912
c6c32125 6913 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6914 (mpuz-mode-map): Use mapc.
c6c32125
JB
6915 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6916 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6917 Fix typos in docstrings.
6918
58d468b4
JB
6919 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6920 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6921
6470c3c6
JB
6922 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6923
4ffd0d6b 69242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6925
6926 * minibuffer.el (completion--do-completion): Avoid the "Next char
6927 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6928
3ad8bad0
CY
6929 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6930 mouse-2 into unread-command-events, it is interpreted correctly.
6931
71d73c9c 6932 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6933 (image-toggle-display): Doc fix.
71d73c9c 6934
841a1577 69352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6936
4ffd0d6b
GM
6937 * textmodes/page.el (what-page): Use line-number-at-pos to
6938 calculate line number (Bug#6825).
6e1dbaa9 6939
c2fb1b60
JB
69402011-04-22 Juanma Barranquero <lekktu@gmail.com>
6941
6942 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6943 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6944 Pass argument NO-DEFAULT to `find-tag-interactive'.
6945
e02f48d7
JB
69462011-04-22 Juanma Barranquero <lekktu@gmail.com>
6947
6948 Lexical-binding cleanup.
6949
6950 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6951 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6952 * progmodes/ada-prj.el (ada-prj-initialize-values)
6953 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6954 (ada-prj-show-value):
6955 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6956 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6957 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6958 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6959 * progmodes/bug-reference.el (bug-reference-push-button):
6960 * progmodes/fortran.el (fortran-line-length):
6961 * progmodes/glasses.el (glasses-change):
6962 * progmodes/octave-mod.el (octave-fill-paragraph):
6963 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6964 (python-pdbtrack-grub-for-buffer, python-sentinel):
6965 * progmodes/sql.el (sql-save-connection):
6966 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6967 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6968 Mark unused parameters.
6969
6970 * progmodes/compile.el (compilation--flush-directory-cache)
6971 (compilation--flush-parse, compile-internal): Mark unused parameters.
6972 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6973 (compilation-next-error-function): Remove unused variable `timestamp'.
6974
6975 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6976 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6977
6978 * progmodes/dcl-mode.el (dcl-end-of-command):
6979 Remove unused variable `start'.
6980 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6981 (dcl-option-value-basic, dcl-option-value-offset)
6982 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6983 Mark unused parameters.
6984 (dcl-save-local-variable): Remove unused variable `val'.
6985 (mode): Declare.
6986
6987 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6988 Mark unused parameters.
6989 (delphi-ignore-changes): Move before first use.
6990 (delphi-charset-token-at): Remove unused variable `start'.
6991 (delphi-else-start): Remove unused variable `if-count'.
6992 (delphi-comment-block-start, delphi-comment-block-end):
6993 Remove unused variable `kind'.
6994 (delphi-indent-line): Remove unused variable `new-point'.
6995
6996 * progmodes/ebrowse.el (ebrowse-files-list)
6997 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6998 Mark unused parameters. Don't quote `lambda'.
6999 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7000 Don't quote `lambda'.
7001 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7002 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7003 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7004 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7005 Use `ignore-errors'.
7006 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7007 (ebrowse-view/find-file-and-search-pattern)
7008 (ebrowse-view/find-member-declaration/definition):
7009 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7010 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7011 Rename parameter PREFIX-ARG to PREFIX.
7012 (ebrowse-tags-read-name): Remove unused variables `start' and
7013 `member-info'.
7014 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7015 to `tags-file'.
7016
7017 * progmodes/etags.el (local-find-tag-hook): Declare.
7018 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7019 Mark unused parameters.
7020
7021 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7022 (executable-interpret): Mark unused parameter.
7023
7024 * progmodes/flymake.el (flymake-process-sentinel)
7025 (flymake-after-change-function)
7026 (flymake-create-temp-with-folder-structure)
7027 (flymake-get-include-dirs-dot): Mark unused parameters.
7028 (flymake-safe-delete-directory): Remove unused variable `err'.
7029
7030 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7031 (speedbar-timer-fn, speedbar-line-text)
7032 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7033 (speedbar-center-buffer-smartly): Declare functions.
7034 (gdb-find-watch-expression): Remove unused variable `array'.
7035 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7036 (gdb-starting): Mark unused parameters.
7037 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7038 (gdb-table-string): Remove unused variable `res'.
7039 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7040 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7041 (gdb-display-buffer): Remove unused variable `cur-size'.
7042
7043 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7044 allow lexical-binding compilation.
7045 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7046 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7047 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7048 Mark unused parameters.
7049 (gud-gdb-marker-filter): Remove unused variable `match'.
7050 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7051 lambda expressions and funcall them, instead of using `fset'.
7052
7053 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7054 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7055
7056 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7057 variable `header-beg'; use `let'.
7058
7059 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7060 `restart', `last-sexp' and `at-do'.
7061
7062 * progmodes/js.el (js--debug): Mark unused parameter.
7063 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7064 (js--splice-into-items): Remove unused variable `item'.
7065 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7066
7067 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7068 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7069 (makefile-complete): Remove unused variable `try'.
7070 (makefile-fill-paragraph, makefile-match-function-end):
7071 Mark unused parameters.
7072
7073 * progmodes/octave-inf.el (inferior-octave-complete):
7074 Remove unused variable `proc'.
7075 (inferior-octave-output-digest): Mark unused parameter.
7076
7077 * progmodes/perl-mode.el (perl-calculate-indent):
7078 Remove unused variable `err'.
7079
7080 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7081 (prolog-indent-line): Mark unused parameters.
7082 (prolog-indent-line): Remove unused variable `beg'.
7083
7084 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7085 (reporter-dont-compact-list): Declare.
7086
7087 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7088 Remove unused variable `char'.
7089 (sh-debug): Mark unused parameter.
7090 (sh-get-indent-info): Remove unused variable `start'.
7091 (sh-calculate-indent): Remove unused variable `var'.
7092
7093 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7094 (simula-electric-keyword): Remove unused variable `null'.
7095 (simula-search-backward, simula-search-forward): Remove unused
7096 variables `begin' and `end'.
7097
7098 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7099 Remove unused variable `pos'.
7100 (vera-electric-tab, vera-comment-uncomment-region):
7101 Mark unused parameters.
7102 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7103
7ede3b65
CY
71042011-04-22 Chong Yidong <cyd@stupidchicken.com>
7105
7106 * emacs-lisp/package.el (package--builtins, package-alist)
7107 (package-load-descriptor, package-built-in-p, package-activate)
7108 (define-package, package-installed-p)
7109 (package-compute-transaction, package-buffer-info)
7110 (package--push): Doc fix. Distinguish more clearly between
7111 version strings and version lists.
7112
121656e9
JB
71132011-04-21 Juanma Barranquero <lekktu@gmail.com>
7114
7115 Lexical-binding cleanup.
7116
7117 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7118 (5x5-make-mutate-best):
7119 * play/fortune.el (fortune-in-buffer):
7120 * play/gomoku.el (gomoku-init-display):
7121 * play/solitaire.el (solitaire, solitaire-do-check):
7122 * play/tetris.el (tetris-default-update-speed-function):
7123 Mark unused parameters.
7124
7125 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7126 (bubbles--shift): Remove unused variable `char-org'.
7127 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7128 (bubbles--show-images): Remove unused variable `char'.
7129
7130 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7131 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7132 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7133 (decipher-analyze-buffer): Use ?\s.
7134 (decipher-make-checkpoint): Remove unused variable `mapping'.
7135
7136 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7137
7138 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7139 Remove unused variable `result'; use `let'.
7140
7141 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7142 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7143 (gametree-children-shown-p, gametree-compute-reduced-score):
7144 Use `ignore-errors'.
7145
7146 * play/handwrite.el (ps-lpr-switches): Declare.
7147 (handwrite): Remove unused variables `pmin' and `lastp'.
7148
7149 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7150
7151 * play/landmark.el (landmark-init-display)
7152 (landmark-update-naught-weights): Mark unused parameters.
7153 (landmark-y): Remove unused variable `noise'. Simplify.
7154 (landmark-human-plays): Remove unused variable `score'.
7155
7156 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7157 (mpuz-try-proposal): Remove unused variable `game'.
7158
7159 * play/zone.el (life-patterns): Declare.
7160
80f499c7
JB
71612011-04-20 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * vc/vc.el (ediff-vc-internal): Declare function.
7164
024ff170
SM
71652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7166
c0a193ea
SM
7167 * shell.el: Use lexical-binding and std completion UI.
7168 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7169 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7170 comint-preoutput-filter-functions rather than on
7171 comint-output-filter-functions.
7172 (shell-command-completion, shell--command-completion-data)
7173 (shell-filename-completion, shell-environment-variable-completion)
7174 (shell-c-a-p-replace-by-expanded-directory): New functions.
7175 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7176 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7177 (shell-dynamic-complete-environment-variable): Use them.
7178 (shell-dynamic-complete-as-environment-variable)
7179 (shell-dynamic-complete-as-command): Remove.
7180 (shell-match-partial-variable): Match past point.
7181 * comint.el: Clean up use of completion-at-point-functions.
7182 (comint-completion-at-point): New function.
7183 (comint-mode): Use it completion-at-point-functions.
7184 (comint-dynamic-complete): Make it obsolete.
7185 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7186 (comint-c-a-p-replace-by-expanded-history): New function.
7187 (comint-dynamic-complete-functions)
7188 (comint-replace-by-expanded-history): Use it.
7189 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7190 termination strings. Try harder to avoid second try-completion.
7191 (completion-in-region-mode-map): Disable bindings that don't work yet.
7192
2dbaa080
SM
7193 * comint.el: Use lexical-binding. Require CL.
7194 (comint-dynamic-complete-functions): Use comint-filename-completion.
7195 (comint-completion-addsuffix): Tweak custom type.
7196 (comint-filename-completion, comint--common-suffix)
7197 (comint--common-quoted-suffix, comint--table-subvert)
7198 (comint--complete-file-name-data): New functions.
7199 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7200 (comint-dynamic-list-filename-completions): Use them.
7201 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7202
2dbaa080
SM
7203 * minibuffer.el (completion-in-region-mode):
7204 Keep completion-in-region-mode--predicate global.
7205 (completion-in-region--postch):
7206 Assume completion-in-region-mode--predicate is not null.
7207
c79a6f38
SM
7208 * progmodes/flymake.el (flymake-start-syntax-check-process):
7209 Obey `dir'. Simplify.
7210
024ff170
SM
7211 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7212 we're in VC after all.
7213
1c6c854e
CS
72142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7215
7216 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7217 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7218 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7219
bed7f140
SM
72202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7221
332e62ab
SM
7222 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7223 add sanity check.
7224
bed7f140
SM
7225 * obsolete/erc-hecomplete.el: Make obsolete.
7226 * obsolete/: Standardize obsolescence info in the header.
7227
f195c582
GM
72282011-04-20 Glenn Morris <rgm@gnu.org>
7229
7230 * calendar/solar.el (solar-horizontal-coordinates):
7231 Use the longitude argument rather than `calendar-longitude'.
7232 (solar-date-next-longitude): Remove unused locals.
7233
cb79b8c0
VJL
72342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7235
7236 * whitespace.el: New version 13.2.1.
7237
72382011-04-20 felix <EmacsWiki> (tiny change)
7239
d8e4b68b 7240 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7241 switching between major modes on a file.
7242
602ea69d
SM
72432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7246 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7247 multi-line comments as well.
7248
06b60517
JB
72492011-04-19 Juanma Barranquero <lekktu@gmail.com>
7250
7251 Lexical-binding cleanup.
7252
7253 * arc-mode.el (archive-mode-revert):
7254 * cmuscheme.el (scheme-interactively-start-process):
7255 * custom.el (custom-initialize-delay):
7256 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7257 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7258 * emacs-lock.el (emacs-lock-clear-sentinel):
7259 * ezimage.el (defezimage):
7260 * follow.el (follow-avoid-tail-recenter):
7261 * fringe.el (set-fringe-mode-1):
7262 * generic-x.el (bat-generic-mode-compile):
7263 * help-mode.el (help-info-variable, help-do-xref)
7264 (help-mode-revert-buffer):
7265 * help.el (view-emacs-todo):
7266 * iswitchb.el (iswitchb-completion-help):
7267 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7268 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7269 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7270 * locate.el (locate-update):
7271 * longlines.el (longlines-encode-region)
7272 (longlines-after-change-function):
7273 * outline.el (outline-isearch-open-invisible):
7274 * ps-def.el (declare-function, charset-dimension, char-width)
7275 (encode-char):
7276 * ps-mule.el (ps-mule-plot-string):
7277 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7278 (recentf-edit-list-select, recentf-edit-list-validate)
7279 (recentf-open-files-action):
7280 * rect.el (delete-whitespace-rectangle-line)
7281 (rectangle-number-line-callback):
7282 * register.el (window-configuration-to-register)
7283 (frame-configuration-to-register):
7284 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7285 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7286 (xselect-convert-to-targets, xselect-convert-to-delete)
7287 (xselect-convert-to-filename, xselect-convert-to-charpos)
7288 (xselect-convert-to-lineno, xselect-convert-to-colno)
7289 (xselect-convert-to-os, xselect-convert-to-host)
7290 (xselect-convert-to-user, xselect-convert-to-class)
7291 (xselect-convert-to-name, xselect-convert-to-integer)
7292 (xselect-convert-to-atom, xselect-convert-to-identity):
7293 * subr.el (declare, ignore, process-kill-without-query)
7294 (text-clone-maintain):
7295 * terminal.el (te-get-char, te-tic-sentinel):
7296 * tool-bar.el (tool-bar-make-keymap):
7297 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7298 * type-break.el (type-break-mode, type-break-noninteractive-query):
7299 * view.el (View-back-to-mark):
7300 * wid-browse.el (widget-browse-action, widget-browse-widget)
7301 (widget-browse-widgets, widget-browse-sexp):
7302 * widget.el (define-widget-keywords):
7303 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7304 Mark unused parameters.
7305
7306 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7307 (align-areas): Remove unused variable `look'.
7308 (align-region): Remove unused variables `real-end' and `pos-list'.
7309
7310 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7311
7312 * bindings.el (mode-line-modified, mode-line-remote):
7313 Mark unused parameters.
7314 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7315
7316 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7317 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7318
7319 * comint.el (comint-history-isearch-pop-state)
7320 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7321 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7322 (comint-substitute-in-file-name): Doc fix.
7323
7324 * completion.el (cmpl-statistics-block): Mark unused parameter.
7325 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7326 (save-completions-to-file, load-completions-from-file):
7327 Remove unused local variable `e'.
7328
7329 * composite.el (compose-chars): Remove unused variable `len'.
7330 (lgstring-insert-glyph): Remove unused variable `g'.
7331 (compose-glyph-string): Remove unused variables `ascent',
7332 `descent', `lbearing' and `rbearing'.
7333 (compose-glyph-string-relative): Remove unused variables
7334 `lbearing', `rbearing' and `wadjust'.
7335 (compose-gstring-for-graphic): Remove unused variables `header',
7336 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7337 (compose-gstring-for-terminal): Remove unused variables `header'
7338 and `nchars'. Use `let', not `let*'.
7339
7340 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7341 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7342 (Custom-buffer-done, custom-buffer-create-internal)
7343 (custom-browse-visibility-action, custom-browse-group-tag-action)
7344 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7345 (widget-magic-mouse-down-action, custom-toggle-parent)
7346 (custom-add-parent-links, custom-toggle-hide-variable)
7347 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7348 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7349 (custom-face-menu-create, custom-variable-menu-create, get)
7350 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7351 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7352 (customize-apropos): Remove unused variable `tests'.
7353 (custom-group-value-create): Remove unused variable `hidden-p'.
7354 (sort-fold-case): Declare.
7355
7356 * cus-theme.el (custom-reset-standard-faces-list)
7357 (custom-reset-standard-variables-list): Declare.
7358 (customize-create-theme, custom-theme-revert, custom-theme-write)
7359 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7360 Mark unused parameters.
7361
7362 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7363
7364 * delim-col.el (delimit-columns-max): Move defvar before first use.
7365
7366 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7367 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7368
7369 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7370 (auto-insert): Declare.
7371 (desktop-restore-file-buffer): Rename desktop-* parameters;
7372 mark unused ones.
7373 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7374 (desktop-buffer): Rename desktop-* parameters.
7375
7376 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7377 (dframe-reposition-frame-xemacs, dframe-help-echo)
7378 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7379 Mark unused parameters.
7380
7381 * dired-aux.el (backup-extract-version-start, overwrite-query)
7382 (overwrite-backup-query, rename-regexp-query)
7383 (rename-non-directory-query): Declare.
7384 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7385 (dired-add-entry): Remove unused variable `orig-file-name'.
7386 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7387 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7388 `dired-copy-preserve-time' directly.
7389 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7390 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7391
7392 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7393 (dired-virtual-revert, dired-make-relative-symlink):
7394 Mark unused parameters.
7395 (manual-program): Declare.
7396 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7397 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7398 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7399
7400 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7401
7402 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7403
7404 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7405 Declare.
7406
7407 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7408
7409 * electric.el (Electric-command-loop): Rename parameter
7410 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7411
7412 * expand.el (expand-in-literal): Remove unused variable `here'.
7413
7414 * facemenu.el (facemenu-add-new-color):
7415 Remove unused variable `docstring'.
7416
7417 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7418 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7419 (face-attr-construct): Mark unused parameter. Doc fix.
7420 (read-color): Remove unused variable `hex-string'.
7421
7422 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7423 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7424 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7425 (display-buffer-other-frame): Remove unused variable `old-window'.
7426 (kill-buffer-hook): Declare.
7427 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7428 Mark unused parameters.
7429 (after-find-file): Pass 1 to `auto-save-mode', not t.
7430
7431 * files-x.el (auto-insert): Declare.
7432 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7433
7434 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7435 variable `buf'. Mark unused parameter.
06b60517
JB
7436 (find-lisp-insert-directory): Mark unused parameter.
7437
7438 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7439 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7440 (format-common-tail): Remove, unused.
7441 (format-deannotate-region): Remove unused variable `loc'.
7442 (format-annotate-region): Remove unused variable `p'.
7443 (format-annotate-single-property-change): Remove unused variables
7444 `default' and `tail'.
7445
7446 * forms.el (read-file-filter): Declare.
7447 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7448
7449 * frame.el (frame-creation-function-alist): Mark unused parameter.
7450 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7451
7452 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7453 Remove unused parameters.
7454 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7455 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7456
7457 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7458 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7459 (hfy-prepare-tag-map): Mark unused parameters.
7460 (htmlfontify-buffer): Use `called-interactively-p'.
7461
7462 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7463 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7464 (ibuffer-do-occur): Mark unused parameters.
7465 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7466 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7467
7468 * ibuffer.el: Don't quote `lambda'.
7469 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7470 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7471 Mark unused parameters.
7472
7473 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7474 (ido-completing-read): Mark unused parameters.
7475 (ido-copy-current-word): Mark unused parameters;
7476 remove unused variable `name'.
7477 (ido-sort-merged-list): Remove unused parameter `dirs'.
7478
7479 * ielm.el (ielm-input-sender): Mark unused parameter.
7480 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7481 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7482 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7483 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7484 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7485
7486 * image-dired.el (image-dired-display-thumbs): Remove unused
7487 variables `curr-file' and `count'.
7488 (image-dired-remove-tag): Remove unused variable `start'.
7489 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7490 variable `curr-file'
7491 (image-dired-rotate-original): Remove unused variable `temp-file'.
7492 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7493 Remove unused variable `file'.
7494 (image-dired-gallery-generate): Remove unused variable `curr'.
7495 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7496
7497 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7498
7499 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7500
7501 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7502
7503 * isearch.el (minibuffer-history-symbol): Declare.
7504 (isearch-edit-string): Remove unused variable `err'.
7505 (isearch-message-prefix, isearch-message-suffix):
7506 Mark unused parameters.
7507
7508 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7509
7510 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7511
7512 * makesum.el (double-column): Remove unused variable `cnt'.
7513
7514 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7515 (ido-ignore-item-temp-list): Declare.
7516
7517 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7518 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7519 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7520 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7521 `mouse-col-delta'.
7522
7523 * mouse-sel.el (mouse-extend-internal):
7524 Remove unused variable `orig-window-frame'.
7525
7526 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7527 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7528 Move declarations before first use.
7529 (pcomplete-opt): Mark unused parameters; doc fix.
7530
7531 * proced.el (proced-revert): Mark unused parameter.
7532 (proced-send-signal): Remove unused variable `err'.
7533
7534 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7535 Rename parameter PREFIX-ARG to ARG.
7536 (ps-basic-plot-string, ps-basic-plot-whitespace):
7537 Mark unused parameters.
7538
7539 * replace.el (replace-count): Define.
7540 (occur-revert-function): Mark unused parameters.
7541 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7542 (isearch-case-fold-search, isearch-string): Declare.
7543 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7544 bind `case-fold-search'. Remove unused variables `beg' and `end',
7545 and simplify.
7546 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7547 COUNT and bind `replace-count'.
7548 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7549 to COUNT.
7550
7551 * savehist.el (print-readably, print-string-length): Declare.
7552
7553 * shadowfile.el (shadow-expand-cluster-in-file-name):
7554 Remove unused variable `cluster'.
7555 (shadow-copy-file): Remove unused variable `i'.
7556 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7557 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7558 (shadow-define-literal-group, shadow-define-regexp-group)
7559 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7560
7561 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7562 (shell): Use `called-interactively-p'.
7563 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7564
7565 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7566 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7567 (delete-backward-char): Remove unused variable `ocol'.
7568 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7569 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7570 (event-apply-hyper-modifier, event-apply-shift-modifier)
7571 (event-apply-control-modifier, event-apply-meta-modifier):
7572 Mark unused parameters.
7573 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7574 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7575
7576 * speedbar.el (speedbar-ignored-directory-expressions)
7577 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7578 (speedbar-find-file, speedbar-dir-follow)
7579 (speedbar-directory-buttons-follow, speedbar-tag-find)
7580 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7581 (speedbar-buffers-line-directory, speedbar-buffer-click):
7582 Mark unused parameters.
7583 (speedbar-tag-file): Remove unused variable `mode'.
7584 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7585
7586 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7587
7588 * talk.el (talk): Remove unused variable `display'.
7589
7590 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7591 (tar-write-region-annotate): Mark unused parameter.
7592
7593 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7594 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7595 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7596 warning by another.
7597
7598 * time-stamp.el (time-stamp-string-preprocess):
7599 Remove unused variable `require-padding'.
7600
7601 * tree-widget.el (widget-glyph-enable): Declare.
7602 (tree-widget-action): Mark unused parameter.
7603
7604 * w32-fns.el (x-get-selection): Mark unused parameter.
7605 (autoload-make-program, generated-autoload-file): Declare.
7606
7607 * wdired.el (wdired-revert): Mark unused parameters.
7608 (wdired-xcase-word): Remove unused variable `err'.
7609
7610 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7611 (whitespace-help-scroll): Remove unused variable `data-help'.
7612
7613 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7614 (widget-image-insert, widget-after-change, default)
7615 (widget-default-format-handler, widget-default-notify)
7616 (widget-default-prompt-value, widget-info-link-action)
7617 (widget-url-link-action, widget-function-link-action)
7618 (widget-variable-link-action, widget-file-link-action)
7619 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7620 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7621 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7622 (widget-insert-button-action, widget-delete-button-action, visibility)
7623 (widget-documentation-link-action, widget-documentation-string-action)
7624 (widget-const-prompt-value, widget-regexp-match, symbol)
7625 (widget-coding-system-prompt-value)
7626 (widget-key-sequence-value-to-external, sexp)
7627 (widget-sexp-value-to-internal, character, vector, cons)
7628 (widget-choice-prompt-value, widget-boolean-prompt-value)
7629 (widget-color--choose-action): Mark unused parameters.
7630 (widget-item-match-inline, widget-choice-match-inline)
7631 (widget-checklist-match, widget-checklist-match-inline)
7632 (widget-group-match): Rename parameter VALUES to VALS.
7633 (widget-field-value-set): Remove unused variable `size'.
7634 (widget-color-action): Remove unused variables `value' and `start'.
7635
7636 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7637 variable `dir'. Doc fix.
06b60517
JB
7638 (windmove-find-other-window): Don't pass it.
7639
7640 * window.el (count-windows): Mark unused parameter.
7641 (bw-adjust-window): Remove unused variable `err'.
7642
7643 * woman.el (woman-file-name): Remove unused variable `default'.
7644 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7645 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7646 (global-font-lock-mode): Declare.
7647 (woman-decode-region): Mark unused parameter.
7648 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7649
7650 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7651 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7652 (x-dnd-handle-moz-url): Remove unused variable `title'.
7653 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7654
7655 * xml.el (xml-parse-tag, xml-parse-attlist):
7656 Remove unused variable `pos'.
7657
bc4f7f3d
GM
76582011-04-19 Glenn Morris <rgm@gnu.org>
7659
7660 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7661 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7662 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7663 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7664 * calendar/cal-html.el (cal-html-insert-minical):
7665 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7666 (calendar-mark-date-pattern):
7667 Prefix "unused" locals.
7668
7669 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7670 optional argument `style'.
7671
7672 * calendar/appt.el (appt-make-list):
7673 * calendar/cal-china.el (calendar-chinese-date-string):
7674 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7675 (diary-hebrew-yahrzeit):
7676 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7677 * calendar/calendar.el (calendar-generate-window):
7678 * calendar/time-date.el (time-to-days):
7679 Remove unused local variables.
7680
16a43933
CY
76812011-04-18 Chong Yidong <cyd@stupidchicken.com>
7682
7683 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7684 glyphless-char-display table.
7685 (tabulated-list-glyphless-char-display): New var.
7686
7eed1860
SS
76872011-04-18 Sam Steingold <sds@gnu.org>
7688
7689 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7690 to acknowledgments.
7691
4d2d1ccd
GM
76922011-04-17 Glenn Morris <rgm@gnu.org>
7693
7694 * calendar/diary-lib.el (diary-sexp-entry):
7695 * calendar/holidays.el (holiday-sexp):
7696 Set debug-on-error rather than the removed stack-trace-on-error.
7697
239da61d
GM
76982011-04-16 Glenn Morris <rgm@gnu.org>
7699
7700 * progmodes/f90.el: Use lexical-binding.
7701 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7702
8b05752a
SM
77032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7704
daca8ba5
SM
7705 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7706 (mail-mode): Setup mailalias completion here instead.
7707 * mail/mailalias.el: Use lexical-binding.
7708 (pattern, mailalias-done): Declare dynamic.
7709 (mail-completion-at-point-function): New function, from mail-complete.
7710 (mail-complete): Use it.
7711 (mail-completion-expand): New function.
7712 (mail-get-names): Use it.
7713 (mail-directory, mail-directory-process, mail-directory-stream):
7714 Don't use `pattern' for lexically bound arg.
7715
6f542485
SM
7716 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7717
037e7c3f
SM
7718 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7719 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7720 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7721
8b05752a
SM
7722 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7723 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7724 (byte-interactive-p): Define them again, for use when inlining
7725 old code.
7726
49093f60
JB
77272011-04-15 Juanma Barranquero <lekktu@gmail.com>
7728
7729 * loadup.el: Use `string-to-number', not `string-to-int'.
7730
b5b8e7de
SM
77312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7734 gud-gdb-complete-command.
7735 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7736 (gud-gdb-completion-at-point): New function.
7737 (gud-gdb-completions): Remove.
7738
f42efeb5
MA
77392011-04-14 Michael Albinus <michael.albinus@gmx.de>
7740
49093f60
JB
7741 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7742 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7743 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7744 whether `executable-find' is bound.
f42efeb5
MA
7745
7746 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7747
e240cc21
SM
77482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * minibuffer.el (completion-in-region-mode-predicate)
7751 (completion-in-region-mode--predicate): New vars.
7752 (completion-in-region, completion-in-region--postch)
7753 (completion-in-region-mode): Use them.
7754 (completion--capf-wrapper): Also return the hook function.
7755 (completion-at-point, completion-help-at-point):
7756 Adjust and provide a predicate.
c2bd2ab0
SM
7757
7758 Preserve arg names for advice of subr and lexical functions (bug#8457).
7759 * help-fns.el (help-function-arglist): Consolidate the subr and
7760 new-byte-code cases. Add argument `preserve-names' to extract names
7761 from the docstring when needed.
7762 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7763 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7764 (ad-arglist): Use help-function-arglist's new arg.
7765 (ad-definition-type): Use cond.
7766
c183f693
JB
77672011-04-13 Juanma Barranquero <lekktu@gmail.com>
7768
06641a47
JB
7769 * autorevert.el (auto-revert-handler):
7770 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7771 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7772 Don't quote lambda.
7773
c183f693
JB
7774 * image-mode.el (image-transform-set-scale):
7775 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7776
1e3b6001
G
77772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778
7779 * net/network-stream.el (network-stream-open-starttls): Only do
7780 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7781 Upgrades via gnutls-cli are too slow to be done opportunistically.
7782
2d6af8dd
JB
77832011-04-12 Juanma Barranquero <lekktu@gmail.com>
7784
7785 * dframe.el (dframe-current-frame): Remove spurious quote.
7786
c0749a51
GM
77872011-04-12 Glenn Morris <rgm@gnu.org>
7788
088d0d61
GM
7789 * calendar/cal-tex.el (cal-tex-end-document):
7790 Try to automatically use latin1 input if needed.
7791
c0749a51
GM
7792 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7793 Don't try to cons a mark onto an empty element.
7794
5c90fde0
LL
77952011-04-11 Leo Liu <sdl.web@gmail.com>
7796
7797 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7798 buffers.
7799 (ido-kill-buffer-at-head): Support killing virtual buffers.
7800
369e974d
CY
78012011-04-10 Chong Yidong <cyd@stupidchicken.com>
7802
7803 * minibuffer.el (completion-show-inline-help): New var.
7804 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7805 (minibuffer-force-complete, minibuffer-complete-word):
7806 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7807
7808 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7809 to avoid interference from inline help (Bug#5849).
7810
37f1c930
LL
78112011-04-10 Leo Liu <sdl.web@gmail.com>
7812
099c39a4
JB
7813 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7814 Fix typo.
37f1c930 7815
a32d4040
CY
78162011-04-09 Chong Yidong <cyd@stupidchicken.com>
7817
7818 * image-mode.el (image-toggle-display-image): Signal an error if
7819 not in Image mode.
7820 (image-transform-mode, image-transform-resize)
7821 (image-transform-set-rotation): Doc fix.
daca8ba5 7822 (image-transform-set-resize): Delete.
a32d4040
CY
7823 (image-transform-set-scale, image-transform-fit-to-height)
7824 (image-transform-fit-to-width): Handle image-toggle-display-image
7825 and image-transform-resize directly.
7826
099c39a4 78272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7828
7829 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7830 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7831 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7832 (doc-view-mode-map): Add bindings for the new functions.
7833
099c39a4 78342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7835
4d61f28d 7836 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7837 Fix typo in docstring.
7838
3726838a
EZ
78392011-04-08 Eli Zaretskii <eliz@gnu.org>
7840
04f33f1e
EZ
7841 * files.el (file-size-human-readable): Produce one digit after
7842 decimal, like "ls -lh" does.
7843
7844 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7845 the file size representation.
7846
3726838a
EZ
7847 * simple.el (list-processes): If async subprocesses are not
7848 available, error out with a clear error message.
7849
cbb59342
CY
78502011-04-08 Chong Yidong <cyd@stupidchicken.com>
7851
7852 * help.el (help-form-show): New function, to be called from C.
7853 Put help-form output in a buffer named differently than *Help*.
7854
e3971c44
EZ
78552011-04-08 Eli Zaretskii <eliz@gnu.org>
7856
7857 * files.el (file-size-human-readable): New function.
7858
7859 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7860 computing the representation inline. Don't require `cl'.
7861
12544bbe
GM
78622011-04-08 Glenn Morris <rgm@gnu.org>
7863
a1de6c6a
GM
7864 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7865
3c4671f4
GM
7866 * net/browse-url.el (browse-url-firefox):
7867 Test system-type, not system-configuration.
7868
b605679c
GM
7869 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7870 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7871 Use log-edit-empty-buffer-p. (Bug#7598)
7872
56442f0c
GM
7873 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7874 (rlogin-mode-map): Initialize in the defvar.
7875 (rlogin): Use ignore-errors.
7876
12544bbe
GM
7877 * replace.el (occur-mode-map): Some fixes for menu items.
7878
eb237b0f
AH
78792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7880
7881 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7882
7d668f2c
CY
78832011-04-06 Chong Yidong <cyd@stupidchicken.com>
7884
e67a13ab
CY
7885 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7886 issuing unused warnings.
7887
7888 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7889 macro directly.
7890
7d668f2c
CY
7891 * simple.el: Lisp reimplement of list-processes. Based on an
7892 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7893 (process-menu-mode): New major mode.
7894 (list-processes--refresh, list-processes):
7895 (process-menu-visit-buffer): New functions.
7896
7897 * files.el (save-buffers-kill-emacs): Don't assume any return
7898 value of list-processes, which is undocumented anyway.
7899
a83ec3c9
CY
79002011-04-06 Chong Yidong <cyd@stupidchicken.com>
7901
7902 * emacs-lisp/tabulated-list.el: New file.
7903
e91a96fe
CY
7904 * emacs-lisp/package.el: Use Tabulated List mode.
7905 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7906 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7907 table format using Tabulated List mode variables.
7908 (package--push): New macro, replacing package-list-maybe-add.
7909 (package-menu--generate): Use package--push. Renamed from
7910 package--generate-package-list.
7911 (package-menu-refresh, list-packages): Use it.
daca8ba5 7912 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7913 Return insertion data instead of inserting it directly.
099c39a4
JB
7914 (package-menu-describe-package, package-menu-execute):
7915 Use tabulated-list-get-id.
e91a96fe
CY
7916 (package-menu-mark-delete, package-menu-mark-install)
7917 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7918 (package-menu-mark-obsolete-for-deletion):
7919 Use tabulated-list-put-tag.
e91a96fe
CY
7920 (package--list-packages, package-menu-revert)
7921 (package-menu-get-package, package-menu-get-version)
7922 (package-menu-sort-by-column): Functions deleted.
7923 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7924 (package-menu--status-predicate, package-menu--version-predicate)
7925 (package-menu--name-predicate)
7926 (package-menu--description-predicate): Handle arguments in the
7927 Tabulated List format.
7928 (package-list-packages-no-fetch): Call list-packages.
7929
3e214b50
JB
79302011-04-06 Juanma Barranquero <lekktu@gmail.com>
7931
7932 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7933 (after-find-file): Don't bind it.
3e214b50
JB
7934 (revert-buffer-in-progress-p): New variable.
7935 (revert-buffer): Bind it.
7936 Pass nil for `after-find-file-from-revert-buffer'.
7937
7938 * saveplace.el (save-place-find-file-hook): Use new variable
7939 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7940
3f0f1700
GM
79412011-04-06 Glenn Morris <rgm@gnu.org>
7942
c0274801
GM
7943 * Makefile.in (AUTOGEN_VCS): New variable.
7944 (autoloads): Use $AUTOGEN_VCS.
7945
3f0f1700
GM
7946 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7947 * calendar/calendar.el (calendar-mode-map):
7948 Check for toolkit scroll bars. (Bug#8305)
7949
41ea9e48
CY
79502011-04-05 Chong Yidong <cyd@stupidchicken.com>
7951
7952 * minibuffer.el (completion-in-region--postch)
7953 (completion-in-region-mode): Remove unnecessary messages.
7954
6194c800
JB
79552011-04-05 Juanma Barranquero <lekktu@gmail.com>
7956
33256f14
JB
7957 * font-lock.el (font-lock-refresh-defaults):
7958 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7959 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7960
6194c800
JB
7961 * info.el (Info-directory-list, Info-read-node-name-2)
7962 (Info-split-parameter-string): Doc fixes.
7963 (Info-virtual-nodes): Reflow docstring.
7964 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7965 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7966 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7967 Fix typos in docstrings.
7968 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7969 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7970 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7971 (Info-restore-desktop-buffer): Mark unused parameters.
7972 (Info-directory-find-file, Info-directory-find-node)
7973 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7974 (Info-virtual-index-find-node, Info-apropos-find-file)
7975 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7976 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7977 (Info-virtual-index): Remove unused local variable `nodename'.
7978
b87a8200 79792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7980
b87a8200
DD
7981 * net/rcirc.el: Update my e-mail address.
7982 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7983
3b2ff876
CY
79842011-04-05 Chong Yidong <cyd@stupidchicken.com>
7985
7986 * startup.el (command-line): Save the cursor's theme-face
7987 directly, instead of using face-override-spec.
7988
7989 * custom.el (load-theme): Minor optimization in assigning faces.
7990
8d17e7ca
JB
79912011-04-04 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * help-fns.el (describe-variable): Complete all variables having
7994 documentation, including keywords.
7995 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7996
2fbc1934
JB
79972011-04-04 Juanma Barranquero <lekktu@gmail.com>
7998
7999 Convert to lexical-binding.
8000
8001 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8002 (bs--get-marked-string, bs--get-modified-string)
8003 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8004 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8005 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8006
8007 * ehelp.el (electric-help-execute-extended)
8008 (electric-help-ctrl-x-prefix):
8009 * hexl.el (hexl-revert-buffer-function):
8010 * linum.el (linum-after-change, linum-after-scroll):
8011 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8012
8013 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8014
74f50695
DU
80152011-04-04 Daiki Ueno <ueno@unixuser.org>
8016
8017 * epa-dired.el:
8018 * epa-mail.el:
8019 * epa-hook.el:
8020 * epa-file.el:
8021 * epa.el:
8022 * epg.el: Use lexical binding.
8023
c11325f7
CY
80242011-04-03 Chong Yidong <cyd@stupidchicken.com>
8025
0d9e9a12
CY
8026 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8027
c11325f7 8028 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8029 dictionary case for flyspell-mark-duplications-exceptions.
8030 Use regexp matching for languages.
c11325f7
CY
8031 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8032 default dictionary (Bug#7926).
8033
da91b5f2
CY
80342011-04-02 Chong Yidong <cyd@stupidchicken.com>
8035
099c39a4
JB
8036 * emacs-lisp/package.el (package--with-work-buffer):
8037 Recognize https URLs.
da91b5f2 8038
099c39a4
JB
8039 * net/network-stream.el: Move from gnus/proto-stream.el.
8040 Change prefix to network-stream throughout.
da91b5f2
CY
8041 (open-protocol-stream): Merge into open-network-stream, leaving
8042 open-protocol-stream as an alias. Handle nil BUFFER args.
8043
8044 * subr.el (open-network-stream): Move to net/network-stream.el.
8045
afa8e9f6
GM
80462011-04-02 Glenn Morris <rgm@gnu.org>
8047
1d2e369d
GM
8048 * find-dired.el (find-exec-terminator): New option.
8049 (find-ls-option): Test for -ls support.
8050 (find-ls-subdir-switches): Test for -b in find-ls-option.
8051 (find-dired, find-grep-dired): Doc fixes.
8052 (find-dired): Use find-exec-terminator.
8053
8abb7da8 8054 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8055 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8056 (find-name-arg): Remove purecopy.
8abb7da8 8057
f3ca7378
GM
8058 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8059 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8060 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8061 accordingly. Don't add the null-device if not needed.
8062
afa8e9f6
GM
8063 * files.el (save-some-buffers): Doc fix.
8064
35eae264
EZ
80652011-04-02 Eli Zaretskii <eliz@gnu.org>
8066
8067 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8068
26b51db5
JB
80692011-04-01 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8072 Use `dolist' rather than `mapcar'.
8073
7200d79c
SM
80742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8075
03408648 8076 Add lexical binding.
7200d79c 8077
03408648
SM
8078 * subr.el (apply-partially): Use new closures rather than CL.
8079 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8080 (dolist, dotimes): Use slightly different expansion for lexical code.
8081 (functionp): Move to C.
8082 (letrec): New macro.
8083 (with-wrapper-hook): Use it and apply-partially instead of CL.
8084 (eval-after-load): Preserve lexical-binding.
8085 (save-window-excursion, with-output-to-temp-buffer): Turn them
8086 into macros.
7200d79c 8087
03408648
SM
8088 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8089
8090 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8091 than the arglist.
8092 (help-add-fundoc-usage): Don't add `Not documented'.
8093 (help-function-arglist): Handle closures, subroutines, and new
8094 byte-code-functions.
8095 (help-make-usage): Remove leading underscores.
8096 (describe-function-1): Handle closures.
8097 (describe-variable): Use special-variable-p for completion.
8098
8099 * files.el (lexical-binding): Declare safe.
f488fb65 8100
03408648
SM
8101 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8102 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8103 (pcase): Add `let' pattern.
8104 Change memoization so it actually works.
8105 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8106 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8107 <let>: New case.
f488fb65 8108
03408648
SM
8109 * emacs-lisp/macroexp.el: Use lexical binding.
8110 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8111 Don't convert ' to #' without checking that it's indeed quoting
8112 a lambda.
8113
8114 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8115 Use eval-sexp-add-defvars.
03408648
SM
8116 (eval-sexp-add-defvars): New fun.
8117
8118 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8119
8120 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8121 Don't autoload.
8122 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8123 than the internal `byte-compile-lambda'.
8124 (defmethod): Don't hide code under quotes.
8125 (eieio-defmethod): New `code' argument.
8126
8127 * emacs-lisp/eieio-comp.el: Remove.
8128
8129 * emacs-lisp/edebug.el (edebug-eval-defun)
8130 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8131 (edebug-toggle): Avoid `eval'.
8132
8133 * emacs-lisp/disass.el (disassemble-internal): Handle new
8134 `closure' objects.
8135 (disassemble-1): Handle new byte codes.
8136
8137 * emacs-lisp/cl.el (pushnew): Silence warning.
8138
8139 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8140 (cl-byte-compile-throw): Remove.
8141 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8142
8143 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8144 closures.
8145
8146 * emacs-lisp/cconv.el: New file.
8147
8148 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8149 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8150 (byte-compile-initial-macro-environment):
8151 Handle declare-function here.
8152 (byte-compile--lexical-environment): New var.
8153 (byte-stack-ref, byte-stack-set, byte-discardN)
8154 (byte-discardN-preserve-tos): New lap codes.
8155 (byte-interactive-p): Don't use any more.
8156 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8157 New macros.
8158 (byte-compile-lapcode): Use them and handle new lap codes.
8159 (byte-compile-obsolete): Remove.
8160 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8161 (byte-compile-arglist-warn): Check late def of inlinable funs.
8162 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8163 since they should have been expanded by now.
8164 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8165 (byte-compile-from-buffer): Remove unused second arg.
8166 (byte-compile-preprocess): New function.
8167 (byte-compile-toplevel-file-form): New function to distinguish
8168 file-form calls from outside from file-form calls from hunk-handlers.
8169 (byte-compile-file-form): Simplify.
8170 (byte-compile-file-form-defsubst): Remove.
8171 (byte-compile-file-form-defmumble): Simplify now that
8172 byte-compile-lambda always returns a byte-code-function.
8173 (byte-compile): Preprocess.
8174 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8175 Remove, not used any more.
8176 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8177 (byte-compile-make-args-desc): New funs.
8178 (byte-compile-lambda): Handle lexical functions. Always return
8179 a byte-code-function.
8180 (byte-compile-reserved-constants): New var, to make up room for
8181 closed-over variables.
8182 (byte-compile-constants-vector): Obey it.
8183 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8184 (byte-compile-macroexpand-declare-function): New function.
8185 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8186 byte-code-functions.
8187 (byte-compile-form): Check obsolescence here.
8188 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8189 (byte-compile-variable-ref): Remove.
8190 (byte-compile-dynamic-variable-op): New fun.
8191 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8192 (byte-compile-variable-set): New funs.
8193 (byte-compile-discard): Add 2 args.
8194 (byte-compile-stack-ref, byte-compile-stack-set)
8195 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8196 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8197 macroexpand-all instead.
8198 (byte-compile-quote-form): Remove.
8199 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8200 (byte-compile-bind, byte-compile-unbind): New funs.
8201 (byte-compile-let): Handle let* and lexical binding.
8202 (byte-compile-let*): Remove.
8203 (byte-compile-catch, byte-compile-unwind-protect)
8204 (byte-compile-track-mouse, byte-compile-condition-case):
8205 Handle a new :fun-body form, used for lexical scoping.
8206 (byte-compile-save-window-excursion)
8207 (byte-compile-with-output-to-temp-buffer): Remove.
8208 (byte-compile-defun): Simplify.
8209 (byte-compile-stack-adjustment): New fun.
8210 (byte-compile-out): Use it.
8211 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8212
8213 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8214 handler any more.
8215
8216 * emacs-lisp/byte-opt.el: Use lexical binding.
8217 (byte-inline-lapcode): Remove (to bytecomp).
8218 (byte-compile-inline-expand): Pay attention to inlining to/from
8219 lexically bound code.
8220 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8221 any more.
8222 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8223 any more and don't call compiler-macros.
8224 (byte-compile-splice-in-already-compiled-code): Remove.
8225 (byte-code): Don't inline any more.
8226 (disassemble-offset): Receive `bytes' as argument rather than via
8227 dynamic scoping.
8228 (byte-compile-tag-number): Declare before first use.
8229 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8230 `return' even if make-spliceable.
8231 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8232 obsolete interactive-p.
8233 (byte-optimize-lapcode): Optimize new lap-codes.
8234 Don't trip up on new form of `byte-constant' lap code.
8235
8236 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8237
8238 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8239
8240 * custom.el (custom-initialize-default, custom-declare-variable):
8241 Use `defvar'.
8242
8243 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8244 New variables.
8245 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8246 (COMPILE_FIRST): Add macroexp and cconv.
8247 * makefile.w32-in: Mirror changes in Makefile.in.
8248
8249 * vc/cvs-status.el:
8250 * vc/diff-mode.el:
8251 * vc/log-edit.el:
8252 * vc/log-view.el:
8253 * vc/smerge-mode.el:
8254 * textmodes/bibtex-style.el:
8255 * textmodes/css.el:
8256 * startup.el:
8257 * uniquify.el:
da91b5f2
CY
8258 * minibuffer.el:
8259 * newcomment.el:
8260 * reveal.el:
8261 * server.el:
8262 * mpc.el:
8263 * emacs-lisp/smie.el:
8264 * doc-view.el:
8265 * dired.el:
03408648
SM
8266 * abbrev.el: Use lexical binding.
8267
0f0c1f27
EZ
82682011-04-01 Eli Zaretskii <eliz@gnu.org>
8269
8270 * info.el (info-display-manual): New function.
8271
c82b2579
SM
82722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8275
221ddf68
TH
82762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8277
8278 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8279 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8280
cba6e77e
GM
82812011-03-31 Glenn Morris <rgm@gnu.org>
8282
e040639f
GM
8283 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8284
cba6e77e
GM
8285 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8286
6d0f1c9e
CS
82872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8288
8289 * progmodes/python.el (python-default-interpreter)
8290 (python-python-command-args, python-jython-command-args)
8291 (python-which-shell, python-which-args, python-which-bufname)
8292 (python-file-queue, python-comint-output-filter-function)
8293 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8294 variables and functions.
8295
3e2d70fd
SM
82962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8299 (completion-in-region-mode): New minor mode.
8300 (completion-in-region): Use it.
8301 (completion-in-region--data, completion-in-region-mode-map): New vars.
8302 (completion-in-region--postch): New function.
8303 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8304 New vars.
8305 (completion--capf-wrapper): New function.
8306 (completion-at-point): Use it to track well-behavedness of
8307 hook functions.
8308 (completion-help-at-point): New command.
8309
f3e4086c
JM
83102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8311
8312 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8313 syntax class to search for whitespace on a single line
8314 (Message-ID: <4D938140.4030905@redhat.com>).
8315
eb7ffc14
LL
83162011-03-30 Leo Liu <sdl.web@gmail.com>
8317
8318 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8319 New commands.
8320 (edit-abbrevs-map): Bind them here.
8321 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8322
d806ab68
KM
83232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8324
8325 * allout.el (allout-hide-by-annotation, allout-flag-region):
8326 Reduce possibility of overlay leakage by making them volatile.
8327
8328 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8329 hash is not shared between buffers. Mode initialization is
8330 responsible for giving it a useful starting value.
8331 (allout-item-span): Reduce possibility of overlay leakage by
8332 making them volatile.
8333 (allout-widgets-count-buttons-in-region): Add diagnostic function
8334 for tracking down button overlay leaks.
8335
ea622834
LL
83362011-03-29 Leo Liu <sdl.web@gmail.com>
8337
8338 * ido.el (ido-read-internal): Use the default history var
8339 minibuffer-history if no HISTORY is specified.
8340
b62f8267
G
83412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8342
03408648
SM
8343 * net/imap.el (imap-shell-open, imap-process-connection-type):
8344 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8345 Kerberos, SSL, other subprocesses.
8346
947b6566
LL
83472011-03-28 Leo Liu <sdl.web@gmail.com>
8348
8349 * abbrev.el (abbrev-table-empty-p): New function.
8350 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8351 nonempty ones. (Bug#5937)
8352
5ffb62aa
JD
83532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8354
8355 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8356
7a097943
LL
83572011-03-27 Leo Liu <sdl.web@gmail.com>
8358
8359 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8360 for foreground and background colors.
8361 (ansi-color-make-color-map): Adapt.
8362
c5b40130
LL
83632011-03-25 Leo Liu <sdl.web@gmail.com>
8364
1f48f7d2
LL
8365 * midnight.el (midnight-time-float): Remove. Note it calculates
8366 the microsecond component incorrectly and seconds-to-time does the
8367 same job.
625897ec 8368 Remove redundant (require 'timer).
1f48f7d2 8369
c5b40130
LL
8370 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8371 (ido-completions): Remove unused arguments. (Bug#8329)
8372
d86d2721
SM
83732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * minibuffer.el (completion--flush-all-sorted-completions):
8376 Remove itself from hook.
8377 (completion-at-point): Let the functions perform the completion
8378 immediately and return nil or t.
8379 * comint.el (comint-dynamic-complete-functions): Now identical to
8380 completion-at-point-functions.
8381 (comint-dynamic-list-input-ring): Remove unused var `index'.
8382 (comint--match-partial-filename, comint--unquote&expand-filename):
8383 New funs, split from comint-match-partial-filename.
8384 (comint-dynamic-complete): Use completion-at-point.
8385 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8386
e8974c48
DA
83872011-03-24 Drew Adams <drew.adams@oracle.com>
8388
8389 * thingatpt.el: Support `defun'.
8390
def71b5e
LL
83912011-03-23 Leo Liu <sdl.web@gmail.com>
8392
cb5af48e
LL
8393 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8394
def71b5e
LL
8395 * help-mode.el (help-mode-finish): Tweak regexp.
8396
927c53e7
GM
83972011-03-23 Glenn Morris <rgm@gnu.org>
8398
18d05bed
GM
8399 * eshell/esh-opt.el (eshell-eval-using-options):
8400 Do not bind unused local variable `eshell-option-stub'.
8401
927c53e7
GM
8402 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8403
9d0da923
JB
84042011-03-22 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8407 keymap variable in `with-no-warnings' to avoid a warning when the
8408 keymap has been already `defconst'ed.
8409
4b978a67
LL
84102011-03-22 Leo Liu <sdl.web@gmail.com>
8411
8412 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8413 encode all chars in abbrevs; otherwise use emacs-mule or
8414 utf-8-emacs. (Bug#8308)
8415
5fd62452
JB
84162011-03-22 Juanma Barranquero <lekktu@gmail.com>
8417
0b1596c6
JB
8418 * simple.el (backward-delete-char-untabify):
8419 Avoid warning about using `delete-backward-char'.
8420
5fd62452
JB
8421 * image.el (image-type-file-name-regexps): Make it variable.
8422 `imagemagick-register-types' modifies it, and the user may want
8423 to add new extensions for known image types.
8424 (imagemagick-register-types): Throw error if not using ImageMagick.
8425
0b4e93f1
LL
84262011-03-22 Leo Liu <sdl.web@gmail.com>
8427
8428 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8429 located before rcirc-prompt-end-marker.
8430 (rcirc-complete): Error if point is not after rcirc prompt.
8431 Handle the case when table is nil.
9882e214 8432 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8433
fccee4ab
CY
84342011-03-22 Chong Yidong <cyd@stupidchicken.com>
8435
8436 * custom.el (custom--inhibit-theme-enable): Make it affect only
8437 custom-theme-set-variables and custom-theme-set-faces.
8438 (provide-theme): Ignore custom--inhibit-theme-enable.
8439 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8440 (custom-enabling-themes): Delete variable.
d86d2721
SM
8441 (enable-theme): Accept only loaded themes as arguments.
8442 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8443 (custom-enabled-themes): Forbid themes from setting this.
8444 Eliminate use of custom-enabling-themes.
8445 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8446
af896da6
LL
84472011-03-21 Leo Liu <sdl.web@gmail.com>
8448
8449 * ido.el (ido-read-internal): Add ido-selected to history instead
8450 of user input.
8451
78f64af0
SM
84522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * subr.el (deferred-action-list, deferred-action-function):
8455 Mark obsolete.
8456
b16ac1ec
LL
84572011-03-21 Leo Liu <sdl.web@gmail.com>
8458
810f7698
LL
8459 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8460 change on 2011-02-13 (bug#8309).
8461
b16ac1ec
LL
8462 * minibuffer.el (read-file-name-function): Change default value.
8463 (read-file-name--defaults): Rename from read-file-name-defaults.
8464 (read-file-name-default): Rename from read-file-name.
8465 (read-file-name): Call read-file-name-function.
8466
4e05e67e
GM
84672011-03-21 Glenn Morris <rgm@gnu.org>
8468
8469 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8470 Doc fixes.
8471
4359915b
CY
84722011-03-21 Chong Yidong <cyd@stupidchicken.com>
8473
8474 * cus-theme.el: Add missing provide statement.
8475 (customize-create-theme): Extract theme value correctly.
8476 (custom-theme-visit-theme): Autoload.
8477 (customize-create-theme): Prompt before inserting default faces.
8478
1fe275ee
JB
84792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8480
8481 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8482 units and musical notes.
8483
3ec03f7e
LL
84842011-03-20 Leo <sdl.web@gmail.com>
8485
8486 * ido.el (ido-read-internal): Use completing-read-default.
8487 (ido-completing-read): Fix compatibility with completing-read.
8488
7d476bde
CO
84892011-03-20 Christian Ohler <ohler@gnu.org>
8490
8491 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8492 (ert-delete-all-tests): Use `called-interactively-p' rather than
8493 `interactive-p'.
8494 (ert--make-xrefs-region): Respect END.
8495
fe0fb33e
CY
84962011-03-19 Chong Yidong <cyd@stupidchicken.com>
8497
ff854b0b
CY
8498 * dired-aux.el (dired-create-directory): Signal an error if the
8499 directory already exists (Bug#8246).
8500
fe0fb33e
CY
8501 * facemenu.el (list-colors-display): Call list-faces-display
8502 inside with-help-window.
8503 (list-colors-print): Use display property to align the final
8504 column, instead of checking window-width.
8505
576bce32
EZ
85062011-03-19 Eli Zaretskii <eliz@gnu.org>
8507
4d61f28d 8508 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8509 windows-nt systems.
8510 (emerge-protect-metachars): Quote correctly for ms-dos and
8511 windows-nt systems.
8512
89c41d68 85132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8514
8515 * info.el (info-initialize): Replace all uses of `:' with
8516 path-separator for compatibility with non-Unix systems.
8517 Cache quoting of path-separator. (Bug#8258)
8518
b14e3e21 85192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8520
8521 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8522 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8523 (mouse-avoidance-mode): Fix typos in docstrings.
8524
4525ce3e
CY
85252011-03-19 Chong Yidong <cyd@stupidchicken.com>
8526
8527 * startup.el (package-subdirectory-regexp): Move from package.el.
8528 Omit \\` and \\', and let callers add them.
8529
8530 * emacs-lisp/package.el (package-strip-version)
8531 (package-load-all-descriptors): Add \\` and \\' to
8532 package-subdirectory-regexp before using it.
8533 (package-untar-buffer): New arg DIR; ensure that file untars only
8534 into this expected directory. Remove superfluous delete-region.
8535 (package-unpack): Caller changed.
8536 (package-tar-file-info): Use package-subdirectory-regexp.
8537
a904a09a 85382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8539
a904a09a
SM
8540 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8541 diff-mode-shared-map (bug#8284).
8542 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8543
85442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
8546 * calendar/time-date.el (format-seconds): Use assoc instead of
8547 assoc-string, since assoc-string doesn't exist in XEmacs.
8548
171fc304
JB
85492011-03-17 Juanma Barranquero <lekktu@gmail.com>
8550
8551 * custom.el (custom-known-themes): Reflow docstring.
8552 (custom-theme-load-path): Fix typo in docstring.
8553 (load-theme): Fix typo in error message.
8554 (custom-available-themes, custom-variable-theme-value):
8555 Use `let', not `let*'.
8556
d71990a1
JB
85572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8558
8559 * calc/README: Mention inclusion of musical notes.
8560
8561 * calc/calc-units.el (calc-lu-quant): Rename from
8562 `calc-logunits-quantity'.
8563 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8564 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8565 (calc-db): Rename from `calc-dblevel'.
8566 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8567 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8568 (calc-np): Rename from `calc-nplevel'.
8569 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8570 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8571 (calc-lu-plus): Rename from `calc-logunits-add'.
8572 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8573 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8574 (calc-lu-minus): Rename from `calc-logunits-sub'.
8575 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8576 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8577 (calc-lu-times): Rename from `calc-logunits-mul'.
8578 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8579 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8580 (calc-lu-divide): Rename from `calc-logunits-div'.
8581 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8582 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8583
8584 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8585 functions being autoloaded.
8586
8587 * calc/calc.el (calc-lu-power-reference): Rename from
8588 `calc-logunits-power-reference'.
8589 (calc-lu-field-reference): Rename from
8590 `calc-logunits-field-reference'.
8591
8592 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8593
40c2934b
SM
85942011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * minibuffer.el (completion-all-sorted-completions):
8597 Use :completion-cycle-penalty text property if present.
8598
b0911414
KM
85992011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8600
8601 * allout.el (allout-yank-processing): Adjust for new rebulleting
8602 regime so bullet being yanked is used without prompting the user
8603 for a choice.
8604
8a05b668
JB
86052011-03-16 Juanma Barranquero <lekktu@gmail.com>
8606
8607 * startup.el (command-line): Warn the user that _emacs is deprecated.
8608
5ba5fb81
JB
86092011-03-16 Juanma Barranquero <lekktu@gmail.com>
8610
8611 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8612 (delphi-verbose, delphi-comment-face, delphi-string-face)
8613 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8614 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8615 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8616 (delphi-new-comment-line, delphi-font-lock-defaults)
8617 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8618 Fix typos in docstrings.
8619
2dab465b
KM
86202011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8621
5ba5fb81 8622 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8623 Invert the roles of character and string values for INSTEAD, so a
8624 string is used for the more common case of a defaulting prompt.
8625
0adf5618
SM
86262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * progmodes/ruby-mode.el (ruby-backward-sexp):
8629 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8630 * play/gamegrid.el (gamegrid-make-face):
8631 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8632 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8633 * notifications.el (notifications-notify):
8634 * net/xesam.el (xesam-search-engines):
8635 * net/quickurl.el (quickurl-list-insert):
8636 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8637
d72700e5
CY
86382011-03-15 Chong Yidong <cyd@stupidchicken.com>
8639
8640 * startup.el (command-line): Update package subdirectory regexp.
8641
49c5410a
SM
86422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8643
c6eee9aa
SM
8644 * allout.el (allout-abbreviate-flattened-numbering)
8645 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8646
49c5410a
SM
8647 * subr.el (read-char-choice): Only show the cursor after the prompt,
8648 not after the answer.
8649
047b2bb9
KR
86502011-03-15 Kevin Ryde <user42@zip.com.au>
8651
8652 * help-fns.el (variable-at-point): Skip leading quotes, if any
8653 (bug#8253).
8654
0a57d256
SM
86552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8658 warning message.
8659
77c992bc
MA
86602011-03-14 Michael Albinus <michael.albinus@gmx.de>
8661
8662 * shell.el (shell): When called interactively, offer to change the
8663 shell file name on remote hosts.
8664
eebc475d
TZ
86652011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8666
8667 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8668 integration for LDAP parameters. The host, base, user or binddn,
8669 and secret tokens can be specified in a netrc file, for instance.
8670 This is optional because an `auth-source' parameter must be
8671 specified in the search attributes.
8672
9d05d1ba
JB
86732011-03-13 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8676
09d9db2c
GM
86772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8680 into declaration. Remove redundant and harmful binding.
8681
86822011-03-12 Eli Zaretskii <eliz@gnu.org>
8683
8684 * files.el (file-ownership-preserved-p): Pass `integer' as an
8685 explicit 2nd argument to `file-attributes'. If the file's owner
8686 is the Administrators group on Windows, and the current user is
8687 Administrator, consider that a match.
8688
8689 * server.el (server-ensure-safe-dir): Consider server directory
8690 safe on MS-Windows if its owner is the Administrators group while
8691 the current Emacs user is Administrator. Use `=' to compare
8692 numerical UIDs, since they could be integers or floats.
8693
219bd536
JB
86942011-03-12 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8697
f3afd36b
MA
86982011-03-12 Michael Albinus <michael.albinus@gmx.de>
8699
8700 Sync with Tramp 2.2.1.
8701
8702 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8703
8704 * net/trampver.el: Update release number.
8705
3aaaa6f1
SM
87062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8707
94642599
SM
8708 * progmodes/compile.el (compilation--previous-directory): Fix up
8709 various nil/dead-marker mismatches (bug#8014).
8710 (compilation-directory-properties, compilation-error-properties):
8711 Don't call it at a position past the one we're about to change.
8712
3aaaa6f1
SM
8713 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8714 Disable obsolescence warnings in the file that declares it.
8715
14239447
KM
87162011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8717
099c39a4
JB
8718 * allout-widgets.el (allout-widgets-tally):
8719 Initialize allout-widgets-tally as a hash table rather than nil to
8720 prevent mode-line redisplay warnings. Also, clarify the module
8721 description and fix a comment typo.
14239447 8722
135e287c
JB
87232011-03-11 Juanma Barranquero <lekktu@gmail.com>
8724
8725 * help-fns.el (describe-variable): Don't complete keywords.
8726 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8727
ffbf300e
CY
87282011-03-10 Chong Yidong <cyd@stupidchicken.com>
8729
ba08b241
CY
8730 * emacs-lisp/package.el (package-version-join): Impose a standard
8731 string representation for pre/alpha/beta version lists.
8732 (package-unpack-single): Standardize the directory name by passing
8733 it through package-version-join.
8734 (package-strip-rcs-id): Accept any version string that does not
8735 signal an error in version-to-list.
ffbf300e 8736
f346fd6b
MA
87372011-03-10 Michael Albinus <michael.albinus@gmx.de>
8738
8739 * simple.el (delete-trailing-whitespace): Return nil for the
8740 benefit of `write-file-functions'.
8741
ccb55d27
GM
87422011-03-10 Glenn Morris <rgm@gnu.org>
8743
5ceaac0c
GM
8744 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8745
02da65ff
GM
8746 * vc/vc-git.el (vc-git-program): New option.
8747 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8748 (vc-git--call): Use it.
8749
b2f603cc
GM
8750 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8751
5772caab
GM
8752 * cus-edit.el (Custom-newline): If no button at point, look
8753 for a subgroup button at start-of-line. (Bug#2298)
8754
ccb55d27
GM
8755 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8756
ec6ecaed
JD
87572011-03-10 Julien Danjou <julien@danjou.info>
8758
8759 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8760 `cursor-type' is nil.
8761
9d5aa01d
JB
87622011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8763
8764 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8765
b6a5875b
KM
87662011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8767
8768 * allout.el Summary: Change so yank of distinctive-bullet items
8769 preserves the existing header prefix, rebulleting it if necessary,
8770 rather than replacing it. This is necessary for proper operation
8771 of cooperative addons like allout-widgets.
219bd536 8772 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8773 SOLICIT arg to INSTEAD, and interpret additionally a string value
8774 as alternate bullet to be used, instead of prompting the user for
8775 a bullet character.
8776
ee545c35
MA
87772011-03-09 Michael Albinus <michael.albinus@gmx.de>
8778
d86d2721
SM
8779 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8780 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8781 `tramp-default-port'.
8782
c47971d7
DD
87832011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8784
8785 * net/rcirc.el (rcirc-handler-001): Remove useless
8786 with-rcirc-process-buffer.
8787 (rcirc-check-auth-status): Swap arguments to string-match.
8788
13522cb4
GM
87892011-03-09 Glenn Morris <rgm@gnu.org>
8790
0be6f4f1
GM
8791 * shell.el (shell-mode):
8792 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8793
13522cb4
GM
8794 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8795 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8796
515de2e3
CY
87972011-03-08 Chong Yidong <cyd@stupidchicken.com>
8798
8799 * emacs-lisp/package.el (package-refresh-contents)
8800 (package-menu-execute): Use condition-case-no-debug.
8801
b511b994
MA
88022011-03-08 Michael Albinus <michael.albinus@gmx.de>
8803
8804 * simple.el (shell-command-to-string): Use `process-file'.
8805
8806 * emacs-lisp/package.el (package-tar-file-info): Handle also
8807 remote files.
8808
d86d2721
SM
8809 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8810 Use `equal' for upload base check.
b511b994 8811
25bbfb31
AM
88122011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8813
8814 * textmodes/texinfo.el (texinfo-environments):
8815 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8816
be996521
GM
88172011-03-08 Glenn Morris <rgm@gnu.org>
8818
e9c8529f
GM
8819 * cus-start.el (cursor-in-non-selected-windows):
8820 Fix :set quoting oddness. (Bug#8192)
8821
be996521
GM
8822 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8823 in some setf expressions. (Bug#2159)
8824
2bb5649e
CY
88252011-03-08 Chong Yidong <cyd@stupidchicken.com>
8826
8827 * custom.el (custom-available-themes): Return themes in
8828 alphabetical order.
8829
33383987 8830See ChangeLog.15 for earlier changes.
e3d51b27
MR
8831
8832;; Local Variables:
8833;; coding: utf-8
e3d51b27
MR
8834;; End:
8835
33383987 8836 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8837
8838 This file is part of GNU Emacs.
8839
8840 GNU Emacs is free software: you can redistribute it and/or modify
8841 it under the terms of the GNU General Public License as published by
8842 the Free Software Foundation, either version 3 of the License, or
8843 (at your option) any later version.
8844
8845 GNU Emacs is distributed in the hope that it will be useful,
8846 but WITHOUT ANY WARRANTY; without even the implied warranty of
8847 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8848 GNU General Public License for more details.
8849
8850 You should have received a copy of the GNU General Public License
8851 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.