Fix bug #10076 with vertical cursor motion in hscrolled windows.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0e23d96a
EZ
12011-11-19 Eli Zaretskii <eliz@gnu.org>
2
3 * simple.el (line-move): Force movement by logical lines for any
4 hscrolled window, not only when auto-hscroll-mode is on.
5 (line-move-visual): Update doc string to that effect. (Bug#10076)
6
8a6ccb66
AS
72011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8
9 * language/european.el (macintosh): Define as alias for mac-roman.
10
49ae5b39
EZ
112011-11-19 Eli Zaretskii <eliz@gnu.org>
12
13 * mail/rmailmm.el (rmail-mime-display-header)
14 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19 of a raw aref.
20 (rmail-mime-entity-segment): To get past the tagline, move forward
21 2 more lines, to account for the 2 empty lines that precede and
22 follow the line with the buttons.
23 (rmail-mime-update-tagline): Move one more line, to get past the
24 empty line that follows the buttons in the tagline. (Bug#9520)
25
c56cad4a
MR
262011-11-19 Martin Rudalics <rudalics@gmx.at>
27
28 * window.el (window-max-delta-1, window-min-delta-1)
29 (window-min-size-1, window-state-get-1, window-state-put-1)
30 (window-state-put-2): Use "window--" prefix.
31
cbe71af3
SM
322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
33
2ad52c60
SM
34 * emacs-lisp/smie.el: Improve warnings and conflict detection.
35 (smie-warning-count): New var.
36 (smie-set-prec2tab): Use it.
37 (smie-bnf->prec2): Improve warnings. Add docstring.
38 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
39 (smie-bnf--set-class): New function.
40 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
41 corner case.
42
6944dbc1
SM
43 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
44 (compilation-error-properties, compilation-move-to-column):
45 Handle compilation-first-column while in the target buffer.
46
c400c4d7
SM
47 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
48 Don't hardcode point-min==1.
49
6dbe3e96
SM
50 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
51 (eshell-rewrite-for-command): Remove workaround.
52 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
53 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
54 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
55
cbe71af3
SM
56 * files-x.el (modify-file-local-variable): Obey commenting conventions.
57
a8e1496d
GM
582011-11-17 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
61 Ignore buffer-local generated-autoload-file if it is the same
62 as the global value. (Bug#10049)
63
df85d315
JB
642011-11-17 Juanma Barranquero <lekktu@gmail.com>
65
66 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
67 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
68 (reftex-toc-previous-heading, reftex-toc-max-level)
69 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
70 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
71 (reftex-toc-do-promote, reftex-toc-promote-prepare)
72 (reftex-toc-promote-action, reftex-toc-extract-section-number)
73 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
74 (reftex-toc-rename-label, reftex-toc-visit-location)
75 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
76 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
77 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
78 leaving "*toc*" only for references to the buffer.
79
a0c2d0ae
MR
802011-11-17 Martin Rudalics <rudalics@gmx.at>
81
82 * window.el (window-resize, delete-window, split-window):
83 Replace window-splits by window-combination-resize.
84 * cus-start.el (window-splits): Replace by
85 window-combination-resize.
86
35c0bac8
GM
872011-11-17 Glenn Morris <rgm@gnu.org>
88
89 * progmodes/sh-script.el (sh-font-lock-keywords-var):
90 Make bash entry derive from sh entry, not shell entry.
91
d0c8fc8a
MA
922011-11-16 Michael Albinus <michael.albinus@gmx.de>
93
94 * net/tramp.el (tramp-handle-file-truename): Cache only the local
95 file name.
96
97 * net/tramp-cache.el (tramp-flush-file-property): Flush also
98 properties of linked files. (Bug#9879)
99
7877f373
JB
1002011-11-16 Juanma Barranquero <lekktu@gmail.com>
101
102 * menu-bar.el (menu-bar-file-menu):
103 * printing.el (pr-ps-utility):
104 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
105 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
106 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
107 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
108 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
109 (icalendar--convert-cyclic-to-ical)
110 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
111 (icalendar--convert-ical-to-diary)
112 (icalendar--convert-recurring-to-diary)
113 (icalendar--convert-non-recurring-all-day-to-diary)
114 (icalendar-import-format-sample):
115 * progmodes/idlw-shell.el (idlwave-shell-mode):
116 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
117 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
118 (vhdl-ps-print-init): Fix typos.
119
10649b82
KM
1202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
121
9d0cfcd6
GM
122 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
123 FSF and collapse date sequence, obscure author/maintainer email address
124 better, remove extra version line, track relocation of author's webpage.
10649b82 125
9d0cfcd6
GM
126 * progmodes/python.el (python-pdbtrack-input-prompt)
127 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
128 regular python pdb prompts. Adjustments shamelessly taken exactly as
129 suggested in EmacsWiki page (tiny change):
130 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 131
58179cce
JB
1322011-11-16 Juanma Barranquero <lekktu@gmail.com>
133
134 * expand.el (expand-pos, expand-index, expand-point):
135 Remove redundant info from docstring.
136 (expand-add-abbrevs): Doc fix.
137 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
138 (expand-sample-perl-mode-expand-list): Fix typos.
139
140 * net/dbus.el (dbus-event-member-name):
141 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
142 * term/pc-win.el (msdos-create-frame-with-faces):
143 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
144
b6f67890
MR
1452011-11-16 Martin Rudalics <rudalics@gmx.at>
146
147 * window.el (split-window, window-state-get-1)
148 (window-state-put-1, window-state-put-2): Rename occurrences of
149 window-nest to window-combination-limit.
150 * cus-start.el (window-nest): Rename to
151 window-combination-limit.
152
ce7ddba0
CY
1532011-11-16 Chong Yidong <cyd@gnu.org>
154
155 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
156 regexp (Bug#10033).
157
3ae704f4
SM
1582011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
161 `completing-read' will remove *Completions* and will preserve
162 current-buffer for us.
163 (tmm-add-prompt): Users of *Completions* will always (re)set its
164 major mode.
165 (tmm-old-comp-map): Remove.
166
6ad1cdde
GM
1672011-11-16 Glenn Morris <rgm@gnu.org>
168
169 * mail/rmailedit.el: Require rmailmm when compiling.
170 (rmail-old-mime-state): New declaration.
171 (rmail-edit-current-message): If editing a mime message,
172 edit the "raw" message from the mbox buffer.
173 (rmail-cease-edit): Handle mime messages. (Bug#9840)
174
d20faa20
GM
1752011-11-15 Glenn Morris <rgm@gnu.org>
176
177 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
178 which wasn't being used. Add optional arg to force given state.
179 (rmail-mime): Add optional arg to force given state.
180
c7015153
JB
1812011-11-15 Juanma Barranquero <lekktu@gmail.com>
182
183 * allout.el (allout-encryption-plaintext-sanitization-regexps):
184 * frame.el (display-mm-dimensions-alist):
185 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
186 (outline-move-subtree-down):
187 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
188 (newsticker--treeview-do-get-node):
189 * net/quickurl.el (quickurl-list-buffer-name):
190 * progmodes/dcl-mode.el (dcl-mode):
191 * progmodes/gdb-mi.el (gdb-mapcar*):
192 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
193
45261b50
GM
1942011-11-15 Glenn Morris <rgm@gnu.org>
195
196 * mail/rmail.el (rmail-file-coding-system): It's only ever used
197 in a boolean sense, so just make it a boolean, and fix the doc.
198 (rmail-show-mime-function, rmail-mime-feature)
199 (rmail-require-mime-maybe): Doc fixes.
200 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
201
202 * mail/rmailmm.el (rmail-show-mime): Doc fix.
203
0d26e0b6
JB
2042011-11-15 Juanma Barranquero <lekktu@gmail.com>
205
206 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
207 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
208 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
209 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
210
447f30f6
GM
2112011-11-15 Glenn Morris <rgm@gnu.org>
212
672b871d
GM
213 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
214 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
215 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
216 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
217 (rmail-mime, rmail-show-mime): Doc fixes.
218
f6aa5bb1
GM
219 * term/ns-win.el (mode-line-frame-identification):
220 Leave it alone. (Bug#10051)
221
947cd66b
GM
222 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
223
447f30f6
GM
224 * mail/rmailout.el (rmail-output-to-rmail-buffer):
225 Handle empty buffers. (Bug#9978)
226
0b381c7e
JB
2272011-11-14 Juanma Barranquero <lekktu@gmail.com>
228
229 * international/mule.el (define-charset):
230 * mail/rmailmm.el (rmail-mime-find-header-encoding):
231 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
232 * progmodes/verilog-mode.el (verilog-backward-token):
233 * textmodes/ispell.el (lookup-words):
234 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
235
71e027ac
GM
2362011-11-14 Glenn Morris <rgm@gnu.org>
237
56632ce4
GM
238 * progmodes/executable.el
239 (executable-make-buffer-file-executable-if-script-p):
240 Handle file-modes returning nil.
241
40500957
GM
242 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
243 message - not necessary, and causes problems. (Bug#9831)
244
071c2340
GM
245 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
246
d3cfca60
GM
247 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
248
71e027ac
GM
249 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
250 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
251 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
252
89d61221
MR
2532011-11-12 Martin Rudalics <rudalics@gmx.at>
254
255 * window.el (window-resize, delete-window): Use window-splits
256 variable instead of function.
257 (window-state-get-1, window-state-put-2, window-state-put):
258 Don't deal with windows' splits status.
259
98282f6f
GM
2602011-11-12 Glenn Morris <rgm@gnu.org>
261
262 * apropos.el (apropos-do-all, apropos-library, apropos-value)
263 (apropos-documentation): Doc fixes.
264
40a8bdf6
JB
2652011-11-11 Juanma Barranquero <lekktu@gmail.com>
266
267 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
268 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
269
65bd19ff
SM
2702011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * electric.el (electric-indent-post-self-insert-function): Make it
273 possible for a char to only indent in some circumstances.
274 (electric-indent-mode): Simplify.
275
54f9154c
MR
2762011-11-11 Martin Rudalics <rudalics@gmx.at>
277
278 * window.el (windows-with-parameter): Remove unused function.
279 (windows-at-side): Rename to window-at-side-list.
280 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
281 (window-side-check, window-size-ignore, window-size-fixed-1)
282 (window-in-direction-2): Prefix with "window--".
283 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 284
68cbc58b
GM
2852011-11-11 Glenn Morris <rgm@gnu.org>
286
287 * subr.el (eval-after-load): If FILE is already loaded,
288 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
289
b2621720
GM
2902011-11-10 Glenn Morris <rgm@gnu.org>
291
9a4de110
GM
292 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
293 Call svn via vc-svn-command rather than vc-do-command.
294 (vc-svn-command): Add --non-interactive. (Bug#9993)
295 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
296
b2621720
GM
297 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
298 Add toggle-read-only. (Bug#7292)
299 * files.el (toggle-read-only): Mention that it should only
300 be used interactively. (Bug#10006)
301
1dce7193
SM
3022011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
303
d9ac1a1e
SM
304 * progmodes/compile.el (compilation-error-regexp-alist-alist):
305 Adjust regexp for OCaml warnings.
306
0c325082
SM
307 * electric.el (electric-pair-post-self-insert-function): Let user
308 turn it off buffer-locally (bug#9932).
309
90132c14
SM
310 * progmodes/python.el (python-beginning-of-statement):
311 Rewrite (bug#2703).
312
1dce7193
SM
313 * progmodes/compile.el: Better handle TABs (bug#9749).
314 (compilation-internal-error-properties)
315 (compilation-next-error-function): Obey the target buffer's
316 compilation-error-screen-columns.
317
c4e7c63a
JB
3182011-11-09 Juanma Barranquero <lekktu@gmail.com>
319
320 * progmodes/meta-mode.el: Remove obsolete comments.
321 (meta-right-comment-regexp, meta-ignore-comment-regexp):
322 Fix typos in docstrings.
323
2cffd681
MR
3242011-11-09 Martin Rudalics <rudalics@gmx.at>
325
326 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 327 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
328 (window--resizable): New function. Make all callers of
329 window-resizable call window--resizable instead.
330 (window-resizable): Rewrite in terms of window--resizable.
331
0edcba87
GM
3322011-11-08 Glenn Morris <rgm@gnu.org>
333
334 * progmodes/delphi.el (delphi-mode-syntax-table):
335 Let define-derived-mode define a proper syntax table. (Bug#9994)
336
4b0d61e3
SM
3372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * window.el: Stay away from defsubst.
340 (window-list-no-nils): Remove.
341 (window-state-get-1, window-state-get): Use backquote instead.
342
fcbcac2e 3432011-11-08 thierry <thierry.volpiatto@gmail.com>
344
4b0d61e3 345 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 346 Fix incorrect use of default argument in `completing-read'.
347
e1c2c6f2
MR
3482011-11-08 Martin Rudalics <rudalics@gmx.at>
349
350 * window.el (display-buffer-function, special-display-function):
351 Mention display-buffer-record-window but do not mention
352 help-setup parameter in doc-strings.
b3f4a882 353 (window-min-delta): Fix doc-string typo.
e1c2c6f2 354
105216ed
CY
3552011-11-08 Chong Yidong <cyd@gnu.org>
356
357 * window.el (window-total-height, window-total-width): Doc fix.
358 (window-body-size): Move from C.
359 (window-body-height, window-body-width): Move to C.
360
0a9f9ab5
SM
3612011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * window.el: Make special-display like display-buffer-alist (bug#9532).
364 (display-buffer--special-action): New function, morphed
365 from display-buffer--special.
366 (display-buffer): Use it to handle special-display-buffers at higher
367 priority (just after display-buffer-alist).
368 (display-buffer-fallback-action, display-buffer--other-frame-action)
369 (pop-to-buffer-same-window): Remove display-buffer--special.
370
a769dd15
GM
3712011-11-07 Glenn Morris <rgm@gnu.org>
372
373 * calendar/cal-menu.el (cal-menu-set-date-title):
374 Do nothing if not in a calendar. (Bug#9976)
375
05a61ee3
SM
3762011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * files.el (find-file): Always use selected-window.
379
be7f5545
MR
3802011-11-07 Martin Rudalics <rudalics@gmx.at>
381
382 * window.el (window-combinations): Make WINDOW argument
383 mandatory. Rewrite doc-string.
384 (walk-window-subtree, window-atom-check, window-min-delta)
385 (window-max-delta, window--resize-this-window)
386 (window--resize-root-window-vertically, window-tree)
387 (balance-windows, window-state-put): Rewrite doc-strings as to
388 not mention the term "subwindow".
389 (window--resize-subwindows-skip-p): Rename to
390 window--resize-child-windows-skip-p.
391 (window--resize-subwindows-normal): Rename to
392 window--resize-child-windows-normal.
393 (window--resize-subwindows): Rename to
394 window--resize-child-windows.
395 (window-or-subwindow-p): Rename to window--in-subtree-p.
396
3c6702ef
ML
3972011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
398
399 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
400 Ensure that mbox format messages end in two newlines (Bug#9974).
401
49745b39
CY
4022011-11-06 Chong Yidong <cyd@gnu.org>
403
404 * window.el (window-combination-p): Function deleted; its
405 side-effect is not used in any existing code.
406 (window-combinations, window-combined-p): Call window-*-child
407 directly.
408
24300f5f
CY
4092011-11-05 Chong Yidong <cyd@gnu.org>
410
411 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
412 (window-size-ignore, window-state-get): Callers changed.
413 (window-normalize-window): Rename from window-normalize-any-window.
414 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 415 (window-normalize-live-window): Delete.
447f16b8
CY
416 (window-combination-p, window-combined-p, window-combinations)
417 (walk-window-subtree, window-atom-root, window-min-size)
418 (window-sizable, window-sizable-p, window-size-fixed-p)
419 (window-min-delta, window-max-delta, window-resizable)
420 (window-resizable-p, window-full-height-p, window-full-width-p)
421 (window-current-scroll-bars, window-point-1, set-window-point-1)
422 (window-at-side-p, window-in-direction, window-resize)
423 (adjust-window-trailing-edge, maximize-window, minimize-window)
424 (window-deletable-p, delete-window, delete-other-windows)
425 (record-window-buffer, unrecord-window-buffer)
426 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
427 (quit-window, split-window, window-state-put)
428 (set-window-text-height, fit-window-to-buffer)
429 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 430
89bd5ee1
EZ
4312011-11-04 Eli Zaretskii <eliz@gnu.org>
432
53479029
EZ
433 * mail/rmail.el (rmail-simplified-subject): Decode subject with
434 rfc2047-decode-string.
435 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
436 warnings.
437
89bd5ee1
EZ
438 * window.el (window-body-height, window-body-width): Mention in
439 the doc string that the return values are in frame's canonical
440 units. (Bug#9949)
441
bd17fdee
AM
4422011-11-03 Alan Mackenzie <acm@muc.de>
443
444 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
445 change in cc-engine.el.
446
acc825c5
SM
4472011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * window.el (switch-to-buffer): Use `force-same-window' interactively.
450
1885e5b8
MR
4512011-11-02 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (quit-window): Call unrecord-window-buffer after
454 showing another buffer in the window. (Bug#9937)
acc825c5 455 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 456
ebe06da9
JB
4572011-11-02 Juanma Barranquero <lekktu@gmail.com>
458
459 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
460 Accept status with more than 9 shelves. (Bug#9935)
461 Reported by Colin D Bennett <colin@gibibit.com>.
462
4ee88440
MR
4632011-11-01 Martin Rudalics <rudalics@gmx.at>
464
465 * help.el (with-help-window): Don't reference
466 temp-buffer-show-specifiers in doc-string.
467
08e1d82c
AS
4682011-10-31 Andreas Schwab <schwab@linux-m68k.org>
469
470 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
471 menu-item.
472
84bd6e9e
VJL
4732011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
474
475 * whitespace.el: New version 13.2.2.
476 (whitespace-newline-mode): Disable properly. Reported by Sarah
477 <EmacsWiki>.
478
dba0634a
UJ
4792011-10-30 Ulf Jasper <ulf.jasper@web.de>
480
481 * net/newst-treeview.el: Remove "Time-stamp".
482 (newsticker--group-manage-orphan-feeds): Do not call
483 newsticker--treeview-tree-update.
db22a3c2
JB
484 (newsticker-treeview-update, newsticker-treeview):
485 Call newsticker--treeview-tree-update if necessary.
dba0634a 486
3d8daefe
MR
4872011-10-30 Martin Rudalics <rudalics@gmx.at>
488
489 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
490 (window-iso-combinations): Remove "iso-" infix.
491 Suggested by Chong Yidong.
3d8daefe
MR
492 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
493 (window-max-delta-1, window-resize, window--resize-siblings)
494 (window--resize-this-window, adjust-window-trailing-edge)
495 (split-window, balance-windows-1)
496 (shrink-window-if-larger-than-buffer):
497 * calendar/calendar.el (calendar-generate-window):
db22a3c2 498 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 499
1bc4c3ae
SM
5002011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
503 in place (bug#9907).
504 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
505 (eshell-rewrite-if-command, eshell-rewrite-for-command)
506 (eshell-structure-basic-command, eshell-rewrite-while-command)
507 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
508 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
509 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
510 (eshell-do-pipelines-synchronously, eshell-eval-command):
511 Use backquotes and prefer setq to set.
512 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
513 (eshell-macrop): Use functionp.
c1e2f5fa 514 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 515
30b65d9c
CY
5162011-10-30 Chong Yidong <cyd@gnu.org>
517
518 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
519 instead of set-mark (Bug#9810).
520
2d197ffb
CY
5212011-10-30 Chong Yidong <cyd@gnu.org>
522
523 * window.el (split-window-below, split-window-right): Rename from
524 split-window-above-each-other and split-window-side-by-side
525 respectively. All callers changed.
526 (split-window-sensibly, split-window-sensibly): Use them.
527 (split-window-keep-point): Doc fix.
528
529 * isearch.el: Add isearch-scroll property to split-window-below
530 and split-window-right.
531
532 * follow.el (follow-mode):
533 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
534 * progmodes/ada-xref.el (ada-gdb-application):
535 * emulation/vip.el (vip-buffer-in-two-windows):
536 * image-dired.el (image-dired-dired-with-window-configuration):
537 * dired-x.el (dired-do-find-marked-files):
538 * dired.el (dired-pop-to-buffer):
539 * bs.el (bs--show-with-configuration):
540 * vc/emerge.el (emerge-setup-windows):
541 * textmodes/two-column.el (2C-two-columns):
542 * textmodes/reftex-toc.el (reftex-toc):
543 * progmodes/gdb-mi.el (gdb-setup-windows):
544 * progmodes/fortran.el (fortran-window-create):
545 * net/newst-treeview.el (newsticker--treeview-window-init):
546 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
547 * emulation/tpu-edt.el (tpu-gold-map):
548 * emulation/crisp.el (crisp-mode-map):
549 * calendar/calendar.el (calendar-basic-setup): Callers changed.
550
38bb2ca8
CY
5512011-10-29 Chong Yidong <cyd@gnu.org>
552
aa4de341
CY
553 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
554
e1eb5385
CY
555 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
556
5d2ece3c
CY
557 * textmodes/flyspell.el (flyspell-word): Fix char offset for
558 forged Ispell output (Bug#7904).
559
38bb2ca8
CY
560 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
561
d0af9f77
SM
5622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * doc-view.el: Avoid ugly errors about not finding nil.
565 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
566 (doc-view-dvipdf-program, doc-view-unoconv-program)
567 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
568 Avoid nil or absolute file name as default value.
569 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
570
52bedd34
AM
5712011-10-28 Alan Mackenzie <acm@muc.de>
572
db22a3c2 573 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 574
7e43cfa5
AM
5752011-10-28 Alan Mackenzie <acm@muc.de>
576
577 Amend the handling of c-beginning/end-of-defun in nested declaration
578 scopes.
579
52bedd34
AM
580 * progmodes/cc-vars.el (c-defun-tactic): Move here from
581 cc-langs.el. Change it to a defcustom.
7e43cfa5 582
52bedd34
AM
583 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
584 cc-vars.el.
7e43cfa5 585
d0af9f77
SM
586 * progmodes/cc-engine.el (c-beginning-of-statement-1):
587 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 588
52bedd34 589 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 590 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
591 (c-widen-to-enclosing-decl-scope): New function.
592 (c-while-widening-to-decl-block): New macro.
593 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
594 outward for defun boundaries, and correspondingly change symbol
595 `respect-enclosure' to `go-outward'.
596 (c-declaration-limits): Change algorithm to report only the "innermost"
597 defun's boundaries.
598
1a2ce9ee
DD
5992011-10-28 Deniz Dogan <deniz@dogan.se>
600
601 * net/rcirc.el (rcirc-mode): Use hard newlines.
602
bc97a826
AM
6032011-10-28 Alan Mackenzie <acm@muc.de>
604
605 Amend to indent and fontify macros "which include their own semicolon"
606 correctly, using the "virtual semicolon" mechanism.
607
52bedd34 608 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 609
d0af9f77 610 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 611 Recode to scan one line at a time rather than having \n and \r
58179cce 612 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 613 (c-forward-label): Amend for virtual semicolons.
58179cce 614 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 615
52bedd34
AM
616 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
617 of the new C macros.
bc97a826 618
52bedd34 619 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
620 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
621 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
622 (c-opt-cpp-macro-define): Make into a full language variable.
623 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
624 AWK Mode (including \n, \r) removed, no longer needed.
625
d0af9f77
SM
626 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
627 Invoke c-make-macro-with-semi-re.
bc97a826 628
52bedd34
AM
629 * progmodes/cc-vars.el (c-macro-with-semi-re):
630 (c-macro-names-with-semicolon): New variables.
58179cce 631 (c-make-macro-with-semi-re): New function.
bc97a826 632
7a6c0941
SM
6332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * vc/log-edit.el: Fill empty field rather than adding new one.
636 (log-edit-add-field): New function.
637 (log-edit-insert-changelog): Use it.
638
b0c4cdcf
ML
6392011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
640
641 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
642
ee1f1da9
SM
6432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
646 (gdb--check-interpreter): New function.
647 (gdb): Use it.
648
51bc5f8b
GM
6492011-10-27 Glenn Morris <rgm@gnu.org>
650
416a2c45
GM
651 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
652 (least-positive-float, least-negative-float)
653 (least-positive-normalized-float, least-negative-normalized-float)
654 (float-epsilon, float-negative-epsilon):
655 Remove unnecessary declarations.
656
657 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
658 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
659 (least-positive-float, least-negative-float)
660 (least-positive-normalized-float, least-negative-normalized-float)
661 (float-epsilon, float-negative-epsilon): Add doc-strings,
662 based on those in cl.texi.
663
51bc5f8b
GM
664 * files.el (set-visited-file-name): If the major-mode changed,
665 reload the local variables. (Bug#9796)
666
15de15c6
CY
6672011-10-27 Chong Yidong <cyd@gnu.org>
668
669 * subr.el (change-major-mode-after-body-hook): New hook.
670 (run-mode-hooks): Run it.
671
ee1f1da9
SM
672 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
673 Use change-major-mode-before-body-hook.
15de15c6
CY
674
675 * simple.el (fundamental-mode):
676 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
677 change introducing fundamental-mode-hook.
678
5430d399
JB
6792011-10-26 Juanma Barranquero <lekktu@gmail.com>
680
acc825c5 681 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 682
ad74a69e
MA
6832011-10-26 Michael Albinus <michael.albinus@gmx.de>
684
685 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 686 tramp.el explicitly. (Bug#7583)
ad74a69e 687
71d4c2a5
SM
6882011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * progmodes/octave-mod.el:
691 * progmodes/octave-inf.el: Update maintainer.
692
b1f6fa26
CY
6932011-10-26 Chong Yidong <cyd@gnu.org>
694
695 * subr.el (with-wrapper-hook): Rewrite doc.
696
3f04efd6
MA
6972011-10-25 Michael Albinus <michael.albinus@gmx.de>
698
699 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 700 filenames "/method:foo:". (Bug#9793)
3f04efd6 701
410488d3
SM
7022011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
705 (bug#9865).
706
c1ebb47e
GM
7072011-10-24 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
710
7f5c46c7
MA
7112011-10-24 Michael Albinus <michael.albinus@gmx.de>
712
713 * notifications.el: Add the requirement of a running D-Bus session
714 bus to the Commentary.
715
db2440b6
JL
7162011-10-24 Juri Linkov <juri@jurta.org>
717
718 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
719 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
720 (Bug#9364)
721
feecf435
JL
7222011-10-24 Juri Linkov <juri@jurta.org>
723
724 * info.el (Info-following-node-name-re): Add newline to the list
725 of allowed characters for leading space. (Bug#9824)
726
a3839de2
SM
7272011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
728
acc825c5
SM
729 * progmodes/octave-inf.el (inferior-octave-mode-map):
730 Fix C-c C-h binding.
a3839de2
SM
731 * progmodes/octave-mod.el (octave-help): Remove.
732
09388e76
MA
7332011-10-23 Michael Albinus <michael.albinus@gmx.de>
734
735 Sync with Tramp 2.2.3.
736
737 * net/tramp-cache.el (top): Pacify byte-compiler using
738 `init-file-user' and `site-run-file'.
739
740 * net/trampver.el: Update release number.
741
86c60681
CY
7422011-10-23 Chong Yidong <cyd@gnu.org>
743
744 * files.el (toggle-read-only): Remove obsolete comment about
745 version control.
746
747 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
748 for toggle-read-only. Note that this hasn't called vc-next-action
749 since 2008-05-02, though it wasn't documented at the time.
750
a3839de2
SM
751 * vc/ediff-init.el (ediff-toggle-read-only-function):
752 Use toggle-read-only.
86c60681 753
cd5495ff
AM
7542011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
755
756 Fix bug #9560, sporadic wrong indentation; improve instrumentation
757 of c-parse-state.
758
00b77525 759 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 760 correct faulty logical expression.
cd5495ff
AM
761 (c-parse-state-state, c-record-parse-state-state):
762 (c-replay-parse-state-state): New defvar/defuns.
763 (c-debug-parse-state): Use new functions.
764
42ee24ed
MR
7652011-10-22 Martin Rudalics <rudalics@gmx.at>
766
767 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 768 last fix. Use window-in-direction correctly.
42ee24ed 769
a7dee7e7
CY
7702011-10-21 Chong Yidong <cyd@gnu.org>
771
772 * progmodes/idlwave.el (idlwave-mode):
773 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
774 require-final-newline; that's done in prog-mode.
775 Suggested by Stefan Monnier.
a7dee7e7 776
e07b9a6d
MR
7772011-10-21 Martin Rudalics <rudalics@gmx.at>
778
779 * mouse.el (mouse-drag-window-above)
780 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
781 (mouse-drag-mode-line-1, mouse-drag-header-line)
782 (mouse-drag-vertical-line-rightward-window): Remove.
783 (mouse-drag-line): New function.
784 (mouse-drag-mode-line, mouse-drag-header-line)
785 (mouse-drag-vertical-line): Call mouse-drag-line.
786 * window.el (window-at-side-p, windows-at-side): New functions.
787
7e1361d9
UM
7882011-10-21 Ulrich Mueller <ulm@gentoo.org>
789
790 * tar-mode.el (tar-grind-file-mode):
791 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
792
30fcaf3a
CY
7932011-10-21 Chong Yidong <cyd@gnu.org>
794
795 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
796 * progmodes/vera-mode.el (vera-mode):
797 Use mode-require-final-newline.
30fcaf3a 798
516eddb0
GM
7992011-10-20 Glenn Morris <rgm@gnu.org>
800
db22a3c2 801 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 802
10d5f513
CS
8032011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
804
805 * emulation/cua-base.el (cua-set-mark): Fix case of string.
806
ac6c8639
CY
8072011-10-20 Chong Yidong <cyd@gnu.org>
808
809 * emulation/cua-base.el (cua-mode):
810 * mail/footnote.el (footnote-mode):
811 * mail/mailabbrev.el (mail-abbrevs-mode):
812 * net/xesam.el (xesam-minor-mode):
813 * progmodes/bug-reference.el (bug-reference-mode):
814 * progmodes/cap-words.el (capitalized-words-mode):
815 * progmodes/compile.el (compilation-minor-mode)
816 (compilation-shell-minor-mode):
817 * progmodes/gud.el (gud-tooltip-mode):
818 * progmodes/hideif.el (hide-ifdef-mode):
819 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
820 * progmodes/subword.el (subword-mode):
821 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
822 * progmodes/which-func.el (which-function-mode):
823 * term/tvi970.el (tvi970-set-keypad-mode):
824 * term/vt100.el (vt100-wide-mode):
825 * textmodes/flyspell.el (flyspell-mode):
826 * textmodes/ispell.el (ispell-minor-mode):
827 * textmodes/nroff-mode.el (nroff-electric-mode):
828 * textmodes/paragraphs.el (use-hard-newlines):
829 * textmodes/refill.el (refill-mode):
830 * textmodes/reftex.el (reftex-mode):
831 * textmodes/rst.el (rst-minor-mode):
832 * textmodes/sgml-mode.el (html-autoview-mode)
833 (sgml-electric-tag-pair-mode):
834 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
835 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
836 * emulation/crisp.el (crisp-mode):
837 * emacs-lisp/eldoc.el (eldoc-mode):
838 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
839 minor mode behavior.
840
aa42ab43
JL
8412011-10-19 Juri Linkov <juri@jurta.org>
842
843 * descr-text.el (describe-char): Add #x2010 and #x2011 to
844 the list of hard-coded chars with escape-glyph face.
845
89400f1d
SM
8462011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
849
305c07f6
MA
8502011-10-19 Michael Albinus <michael.albinus@gmx.de>
851
852 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
853 running process.
854
13754b54
GM
8552011-10-19 Glenn Morris <rgm@gnu.org>
856
857 * vc/vc-bzr.el (vc-bzr-after-dir-status):
858 Ignore ignored files. (Bug#9726)
859
06e21633
CY
8602011-10-19 Chong Yidong <cyd@gnu.org>
861
862 Doc fix for minor modes, stating that an omitted argument enables
863 the mode unconditionally when called from Lisp.
864
865 * abbrev.el (abbrev-mode):
866 * allout.el (allout-mode):
867 * autoinsert.el (auto-insert-mode):
868 * autoarg.el (autoarg-mode, autoarg-kp-mode):
869 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
870 (global-auto-revert-mode):
871 * battery.el (display-battery-mode):
872 * composite.el (global-auto-composition-mode)
873 (auto-composition-mode):
874 * delsel.el (delete-selection-mode):
875 * desktop.el (desktop-save-mode):
876 * dired-x.el (dired-omit-mode):
877 * dirtrack.el (dirtrack-mode):
878 * doc-view.el (doc-view-minor-mode):
879 * double.el (double-mode):
880 * electric.el (electric-indent-mode, electric-pair-mode):
881 * emacs-lock.el (emacs-lock-mode):
882 * epa-hook.el (auto-encryption-mode):
883 * follow.el (follow-mode):
884 * font-core.el (font-lock-mode):
885 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
886 * help.el (temp-buffer-resize-mode):
887 * hilit-chg.el (highlight-changes-mode)
888 (highlight-changes-visible-mode):
889 * hi-lock.el (hi-lock-mode):
890 * hl-line.el (hl-line-mode, global-hl-line-mode):
891 * icomplete.el (icomplete-mode):
892 * ido.el (ido-everywhere):
893 * image-file.el (auto-image-file-mode):
894 * image-mode.el (image-minor-mode):
895 * iswitchb.el (iswitchb-mode):
896 * jka-cmpr-hook.el (auto-compression-mode):
897 * linum.el (linum-mode):
898 * longlines.el (longlines-mode):
899 * master.el (master-mode):
900 * mb-depth.el (minibuffer-depth-indicate-mode):
901 * menu-bar.el (menu-bar-mode):
902 * minibuf-eldef.el (minibuffer-electric-default-mode):
903 * mouse-sel.el (mouse-sel-mode):
904 * msb.el (msb-mode):
905 * mwheel.el (mouse-wheel-mode):
906 * outline.el (outline-minor-mode):
907 * paren.el (show-paren-mode):
908 * recentf.el (recentf-mode):
909 * reveal.el (reveal-mode, global-reveal-mode):
910 * rfn-eshadow.el (file-name-shadow-mode):
911 * ruler-mode.el (ruler-mode):
912 * savehist.el (savehist-mode):
913 * scroll-all.el (scroll-all-mode):
914 * scroll-bar.el (scroll-bar-mode):
915 * server.el (server-mode):
916 * shell.el (shell-dirtrack-mode):
917 * simple.el (auto-fill-mode, transient-mark-mode)
918 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
919 (line-number-mode, column-number-mode, size-indication-mode)
920 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
921 * strokes.el (strokes-mode):
922 * time.el (display-time-mode):
923 * t-mouse.el (gpm-mouse-mode):
924 * tool-bar.el (tool-bar-mode):
925 * tooltip.el (tooltip-mode):
926 * type-break.el (type-break-mode-line-message-mode)
927 (type-break-query-mode):
928 * view.el (view-mode):
929 * whitespace.el (whitespace-mode, whitespace-newline-mode)
930 (global-whitespace-mode, global-whitespace-newline-mode):
931 * xt-mouse.el (xterm-mouse-mode): Doc fix.
932
a3839de2
SM
933 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
934 Fix autogenerated docstring.
06e21633 935
5214e501
JL
9362011-10-19 Juri Linkov <juri@jurta.org>
937
938 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
939 by checking environment variables "DESKTOP_SESSION" and
940 "XDG_CURRENT_DESKTOP". (Bug#9779)
941
195f8db9
JL
9422011-10-19 Juri Linkov <juri@jurta.org>
943
944 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
945 (browse-url-chromium-program, browse-url-chromium-arguments):
946 New defcustoms.
947 (browse-url-default-browser): Check for `browse-url-chromium' and
948 call `browse-url-chromium-program'.
949 (browse-url-chromium): New command. (Bug#9779)
950
343a34ff
JB
9512011-10-18 Juanma Barranquero <lekktu@gmail.com>
952
953 * facemenu.el (list-colors-duplicates): On Windows, detect more
954 duplicates by assuming that only colors matching "^System" are
955 special "system colors". (Bug#9722)
956
6978a151
SM
9572011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
960 to distinguish the author from the committer.
961
6a80b297
MA
9622011-10-18 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
965
b31a5677
JK
9662011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
967
968 * international/mule.el (sgml-html-meta-auto-coding-function):
969 Add support for detecting encoding in HTML5 specified only as
970 <meta charset="UTF-8">. Implementation just makes http-equiv and
971 content-type parts from HTML4 encoding string optional. (Bug#9716)
972
80c6d77f
GM
9732011-10-18 Glenn Morris <rgm@gnu.org>
974
975 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
976
08b0fee8
CY
9772011-10-18 Chong Yidong <cyd@gnu.org>
978
979 * faces.el (cursor): Doc fix.
980
67e729a5
CY
9812011-10-17 Chong Yidong <cyd@gnu.org>
982
983 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
984
343a34ff 9852011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
986
987 * dirtrack.el (dirtrack): Support shell buffers with path
988 prefixes, e.g. tramp-based remote shells. (Bug#9647)
989
0bc06380
TZ
9902011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
991
992 * json.el: Bump version to 1.3 and note change in History.
993 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
994
8b79f3e0
SM
9952011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
996
5a7c536b
SM
997 * comint.el (comint-insert-input, comint-send-input)
998 (comint-get-old-input-default, comint-backward-matching-input)
999 (comint-next-prompt): Use nil instead of `input' for field property of
1000 past user input (bug#114).
1001
96a8a0df
SM
1002 * minibuffer.el (completion--replace): Inherit surrounding properties
1003 (bug#114).
1004 (minibuffer-complete-and-exit): Use it.
1005
8b79f3e0
SM
1006 * comint.el (comint--table-subvert): Quote the all-completions output
1007 (bug#9160).
1008
b8f7ff0d
MR
10092011-10-17 Martin Rudalics <rudalics@gmx.at>
1010
8b79f3e0 1011 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1012
b8f7ff0d 1013 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1014 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1015 entries and separate them from frame entries.
1016
c235b555
GM
10172011-10-15 Glenn Morris <rgm@gnu.org>
1018
1019 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1020 Doc fixes.
1021
6bbfa6e1
CY
10222011-10-15 Chong Yidong <cyd@stupidchicken.com>
1023
8b79f3e0
SM
1024 * net/network-stream.el (network-stream-open-starttls):
1025 Improve detection of failure due to lack of TLS support.
ec5c990d 1026
6bbfa6e1
CY
1027 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1028 putting the input text in front and in bold.
1029
98488977
SM
10302011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1031
3d1337be
SM
1032 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1033
ee0b45e4
SM
1034 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1035 empty buffer.
1036
98488977
SM
1037 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1038 unread-command-events rather than pushing yet-another event.
1039
186f4720
EZ
10402011-10-14 Eli Zaretskii <eliz@gnu.org>
1041
1042 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1043 the explanation of the possible choices. Make the options passed
1044 to completing-read shorter.
1045
8b7a997c
AM
10462011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1047
1048 * textmodes/flyspell.el (flyspell-large-region): Make sure
1049 extended character mode is used if defined (Bug#1339).
1050
12587bbb
EZ
10512011-10-13 Eli Zaretskii <eliz@gnu.org>
1052
1053 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1054 character info for LRE, LRO, RLE, and RLO characters by appending
1055 an invisible PDF.
12587bbb 1056
bad41229
SM
10572011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1060 even in case of error; add debug spec; simplify data flow.
1061 (with-timeout-handler): Remove.
1062
28dbc92f
MA
10632011-10-12 Michael Albinus <michael.albinus@gmx.de>
1064
1065 Fix Bug#6019, Bug#9315.
1066
1067 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1068 complete `buffer-file-name', the local file name part could look
1069 remotely (for example on VMS).
1070
1071 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1072 `tramp-run-real-handler'.
1073 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1074 already quoted by '"'.
1075
1076 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1077 Let `file-name-handler-alist' be nil, the local file name part
1078 could look remotely (for example on VMS).
1079
e1b0b23a
SM
10802011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1083 from here...
1084 (flyspell-post-command-hook): ...to here.
1085
a120bde9
SM
10862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1089 if not needed.
1090 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1091 using completion. Protect against "slow" callers.
1092 Remove the "message hack".
1093
7ce7717b
JL
10942011-10-11 Juri Linkov <juri@jurta.org>
1095
1096 * isearch.el (isearch-lazy-highlight-word): New variable.
1097 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1098 Use it. (Bug#9727)
1099
c02ee9d6
GM
11002011-10-11 Glenn Morris <rgm@gnu.org>
1101
1102 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1103 like f90-previous-statement does.
1104
93e616fd 11052011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1106
1f190e73 1107 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1108 only in interactive use, to avoid error.
1109
af7b6078
SM
11102011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * minibuffer.el (completion-file-name-table): Fix last change,
1113 i.e. ignore normal errors but not the other ones.
1114
0563dae9
MR
11152011-10-10 Martin Rudalics <rudalics@gmx.at>
1116
1117 * window.el (special-display-buffer-names)
1118 (special-display-regexps): Remove some remnants of earlier
1119 changes from doc-strings.
366ca7f3
MR
1120 (quit-windows-on): New function.
1121
1122 * vc/vc.el (vc-revert, vc-rollback):
1123 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1124 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1125 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1126
49677495
MR
11272011-10-09 Martin Rudalics <rudalics@gmx.at>
1128
1129 * window.el (frame-auto-hide-function): Add version tag.
1130 (Bug#9699)
1131
56f2d1e1
MA
11322011-10-09 Michael Albinus <michael.albinus@gmx.de>
1133
1134 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1135 condition.
1136
112a6592
LL
11372011-10-09 Leo Liu <sdl.web@gmail.com>
1138
1139 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1140 (Bug#9701)
1141
0812589b
GM
11422011-10-08 Glenn Morris <rgm@gnu.org>
1143
1144 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1145 before the first code statement zero indent. (Bug#9690)
1146
b2b0776e
CY
11472011-10-08 Chong Yidong <cyd@stupidchicken.com>
1148
1149 * simple.el (count-words-region): Always count in the region.
1150 Report the number of lines and characters too.
1151 (count-words): New command, which counts in the buffer if the
1152 region is inactive, as count-words-region used to.
1153 (count-words--message): New function. Handle plurals.
1154 (count-lines-region): Make it an alias for count-words-region.
1155
1156 * bindings.el (esc-map): Replace count-lines-region with
1157 count-words-region.
1158
c557cd6b
MR
11592011-10-08 Martin Rudalics <rudalics@gmx.at>
1160
1161 * window.el (window--delete): Delete dedicated frame
1162 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1163 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1164
61a57ef4 11652011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1166
1167 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1168
c3833279
CY
11692011-10-07 Chong Yidong <cyd@stupidchicken.com>
1170
1171 * bindings.el ([M-left],[M-right]): Bind to left-word and
1172 right-word respectively.
1173
21ce8245
GM
11742011-10-07 Glenn Morris <rgm@gnu.org>
1175
1176 * cus-start.el (debug-on-quit): Fix custom type.
1177
6d823bb2
LMI
11782011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1179
0181e193
LMI
1180 * subr.el (define-key-after): Clarify that the function is not
1181 useful for non-menu keymaps.
1182
6d823bb2
LMI
1183 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1184
8e3459ce 11852011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1186
21ce8245 1187 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1188 in current minibuffer (Fix bug with recursive minibuffers).
1189
a1c2d21e
CY
11902011-10-06 Chong Yidong <cyd@stupidchicken.com>
1191
1192 * progmodes/gdb-mi.el (gdb): Doc fix.
1193
5a4cf282
MR
11942011-10-05 Martin Rudalics <rudalics@gmx.at>
1195
1196 * window.el (frame-auto-hide-function): New option replacing
1197 frame-auto-delete. Suggested by Stefan Monnier.
1198 (window--delete): Call frame-auto-hide-function instead of
1199 investigating frame-auto-delete.
c96111ea
MR
1200 (window-point-1, set-window-point-1): New functions.
1201 (window-in-direction, record-window-buffer, window-state-get-1)
1202 (display-buffer-record-window): Use window-point-1 instead of
1203 window-point.
1204 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1205
9854542e
SM
12062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1209
8943cfb0
GM
12102011-10-05 Glenn Morris <rgm@gnu.org>
1211
1212 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1213 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1214
647ab967
LL
12152011-10-05 Leo Liu <sdl.web@gmail.com>
1216
1217 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1218 works with buffer object.
1219
3ddfbced
SM
12202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * mpc.el (mpc-tool-bar-map): Add labels.
1223
bdfa5dd2
GM
12242011-10-04 Glenn Morris <rgm@gnu.org>
1225
1226 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1227
0e2070b5
MR
12282011-10-04 Martin Rudalics <rudalics@gmx.at>
1229
1230 * window.el (window--delete): New function.
1231 (frame-auto-delete): Resuscitate option.
1232 (bury-buffer, replace-buffer-in-windows)
1233 (quit-window): Rewrite using window--delete.
1234 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1235 Pass display-buffer-mark-dedicated to window--display-buffer-2
1236 (Bug#9639).
1237
3dc61a09
SM
12382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1239
915a9b64
SM
1240 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1241 returns a list (bug#9554). Add remote file name completion.
1242 * comint.el (comint--table-subvert): Curry and get quote&unquote
1243 functions as arguments.
1244 (comint--complete-file-name-data): Adjust call accordingly.
1245 * pcomplete.el (pcomplete--table-subvert): Remove.
1246 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1247
3dc61a09
SM
1248 * minibuffer.el (completion-table-case-fold): Use currying.
1249 (completion--styles-type, completion--cycling-threshold-type):
1250 New constants.
1251 (completion-styles, completion-category-overrides)
1252 (completion-cycle-threshold): Use them.
1253 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1254 completion-table-case-fold.
1255
8ea0a993
SB
12562011-10-03 Stephen Berman <stephen.berman@gmx.net>
1257
1258 * minibuffer.el (completion-category-overrides): Fix type of styles
1259 and add more user friendly tags (bug#9660).
1260
8c24b7f6
SM
12612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1264 (mule-input-method-string): New widget.
1265 (default-input-method, language-info-custom-alist): Use it.
1266
428fe61a
SM
12672011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1268
32c1fffd
SM
1269 * pcomplete.el: Require comint.
1270 (pcomplete--common-suffix): Remove.
1271 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1272 (pcomplete--table-subvert): Sync with comint--table-subvert.
1273 (pcomplete--entries): Use comint-completion-file-name-table.
1274 * comint.el (comint-unquote-filename): Simplify.
1275 (comint-completion-file-name-table): New function (bug#9616).
1276 (comint--complete-file-name-data): Use it.
1277
428fe61a
SM
1278 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1279 (pcmpl-gnu-tar-buffer): Remove.
1280 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1281 around. Make sure pcomplete-suffix-list is only changed temporarily.
1282 Don't look inside the tar's file if it's too large.
428fe61a 1283
04c52e2f
CY
12842011-10-01 Chong Yidong <cyd@stupidchicken.com>
1285
ce3cefcc
CY
1286 * cus-edit.el (custom-mode-map):
1287 * epa.el (epa-key-list-mode-map):
1288 * man.el (Man-mode-map):
1289 * startup.el (splash-screen-keymap):
1290 * simple.el (special-mode-map): Use scroll-up-command and
1291 scroll-down-command.
1292
1293 * progmodes/idlw-help.el (idlwave-help-mode-map):
1294 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1295 * net/newst-plainview.el (newsticker-mode-map):
1296 * emulation/ws-mode.el (wordstar-mode-map):
1297 * emulation/vi.el (vi-com-map):
1298 * calc/calc-graph.el (calc-graph-show-dumb):
1299 * term/sun.el (terminal-init-sun):
1300 * term/ns-win.el (global-map):
1301 * progmodes/grep.el (grep-mode-map):
1302 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1303 * mail/rmail.el (rmail-mode-map):
1304 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1305
04c52e2f
CY
1306 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1307 custom-safe-themes as special.
1308
79adf8c8
JD
13092011-10-01 Julien Danjou <julien@danjou.info>
1310
1311 * notifications.el (notifications-notify): Fix docstring.
1312
63bd50d3
PS
13132011-10-01 Per Starbäck <per@starback.se>
1314
1315 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1316
199e4c7e
MR
13172011-09-30 Martin Rudalics <rudalics@gmx.at>
1318
1319 * startup.el (command-line-1): Fix last fix by inserting
1320 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1321 (Bug#9605) and (Bug#9636)
199e4c7e 1322
fe5f08dd
EZ
13232011-09-29 Eli Zaretskii <eliz@gnu.org>
1324
1325 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1326 window is hscrolled, move by logical lines. (Bug#9607)
1327 (line-move-visual): Update the doc string to the above effect.
1328
b5516bbd
MR
13292011-09-29 Martin Rudalics <rudalics@gmx.at>
1330
ccee00c0
MR
1331 * window.el (display-buffer-record-window): When WINDOW is the
1332 selected window use `point' instead of `window-point'. (Bug#9626)
1333
b5516bbd
MR
1334 * startup.el (command-line-1): Use insert-before-markers when
1335 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1336
b5516bbd
MR
1337 * help.el (help-window): Remove variable.
1338
52aa0014
GM
13392011-09-29 Glenn Morris <rgm@gnu.org>
1340
1341 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1342
df9a7357
JB
13432011-09-29 Juanma Barranquero <lekktu@gmail.com>
1344
1345 * descr-text.el (describe-char-categories): Accept category
1346 descriptions more than one line long.
1347
a8406c20
SM
13482011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1349
88d9610c
SM
1350 * simple.el (delete-trailing-whitespace): Fix last change.
1351
a5daf810
SM
1352 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1353 Don't confuse "y => 3" as the beginning of a `y' operation.
1354
a8406c20
SM
1355 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1356 object has more than 4 slots (bug#9613).
1357
a239d4e9
JB
13582011-09-28 Juanma Barranquero <lekktu@gmail.com>
1359
1360 * subr.el (with-output-to-temp-buffer):
1361 * net/quickurl.el (quickurl, quickurl-browse-url):
1362 Fix typos in docstrings.
1363
693fbdb6
EZ
13642011-09-27 Eli Zaretskii <eliz@gnu.org>
1365
1366 * minibuffer.el (completion-styles)
1367 (completion-category-overrides): Cross reference each other in doc
1368 strings.
1369
8b457e28
GM
13702011-09-27 Glenn Morris <rgm@gnu.org>
1371
1372 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1373 to split-string. (Bug#9606)
1374
85a16208
LMI
13752011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1376
1377 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1378 (bug#9615).
1379
502f9ebd
CY
13802011-09-27 Chong Yidong <cyd@stupidchicken.com>
1381
1382 * emacs-lisp/package.el (list-packages): Fix echo area message.
1383
7690bdea
LL
13842011-09-27 Leo Liu <sdl.web@gmail.com>
1385
1386 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1387
e2ee6f30
MA
13882011-09-25 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/dbus.el (dbus-unregister-object): Don't release services for
1391 registered signals. (Bug#9581)
1392
f3f98342
TZ
13932011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1394
1395 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1396 function that picks between cfengine 2 and 3 support
1397 automatically. Update docs accordingly.
1398
dd7aa8dd
KH
13992011-09-22 Kenichi Handa <handa@m17n.org>
1400
1401 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1402 ZERO.
1403 (indian-itrans-v5-table-for-tamil): New variable.
1404 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1405
3f2b07f8
KM
14062011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1407
1408 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1409 that's true if the current command involved collapsing of text.
1410 It's reset to false at the beginning of the next command.
1411 (allout-post-command-business): Move the cursor to the beginning
1412 of entry if the cursor is hidden and collapsing activity just
1413 happened.
1414
371d6a61
CY
14152011-09-24 Chong Yidong <cyd@stupidchicken.com>
1416
1417 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1418 tracking (Bug#9541).
1419
2ac2721a
UJ
14202011-09-24 Ulf Jasper <ulf.jasper@web.de>
1421
1422 * net/newst-reader.el (newsticker-html-renderer)
1423 (newsticker-show-news): Automatically
343a34ff
JB
1424 load html rendering package if newsticker-html-renderer is set.
1425 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1426 let-bound" and the error "Symbol's value as variable is void:
1427 w3m-fill-column".
1428
fac7ae53
MA
14292011-09-24 Michael Albinus <michael.albinus@gmx.de>
1430
1431 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1432 Release services only if they are defined. (Bug#9581)
1433
e08b633b
RS
14342011-09-23 Richard Stallman <rms@gnu.org>
1435
e488d29c
RS
1436 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1437 distinguish start of paragraph from start of its text.
1438
19c38752
RS
1439 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1440
e08b633b
RS
1441 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1442 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1443 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1444
0a39f27e
AS
14452011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1446
1447 * international/mule-diag.el (mule-diag): Insert a newline after
1448 each fontset description.
1449
db4e950d
SM
14502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * simple.el (delete-trailing-whitespace):
1453 Document last change; simplify.
1454
eca3f3ea
PW
14552011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1456
d68e189a
PW
1457 * simple.el (delete-trailing-whitespace): Also delete
1458 extra newlines at the end of the buffer.
1459
eca3f3ea
PW
1460 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1461 (picture-newline): Use forward-line so as to ignore fields.
1462
01c157cc
SM
14632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * subr.el (with-wrapper-hook): Fix edebug spec.
1466
022de23e
LMI
14672011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1468
1469 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1470 (bug#4538).
1471
91683089
MA
14722011-09-23 Michael Albinus <michael.albinus@gmx.de>
1473
eca3f3ea
PW
1474 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1475 Fix nasty bug using wrong cached values.
91683089 1476
5bdd6fa4
AM
14772011-09-23 Alan Mackenzie <acm@muc.de>
1478
1479 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1480
97adfb97
CY
14812011-09-23 Chong Yidong <cyd@stupidchicken.com>
1482
1483 * window.el (pop-to-buffer): Ensure right window is selected if we
1484 chose another frame.
1485
d4ef2b50
EZ
14862011-09-22 Eli Zaretskii <eliz@gnu.org>
1487
1488 * simple.el (what-cursor-position): Use get-char-property-change
1489 and next-single-char-property-change, to be able to show display
1490 properties that come from overlays as well as text properties.
1491
72258fe5
CY
14922011-09-22 Chong Yidong <cyd@stupidchicken.com>
1493
1494 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1495
1496 * cmuscheme.el (run-scheme, switch-to-scheme):
1497 * cus-edit.el (customize-group, custom-buffer-create)
1498 (customize-browse):
1499 * info.el (info):
1500 * shell.el (shell):
1501 * mail/sendmail.el (mail):
1502 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1503
8f098516
RS
15042011-09-22 Richard Stallman <rms@gnu.org>
1505
1506 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1507 move back only to line beg, don't move back over blank lines.
1508
e74f1bb6
MA
15092011-09-22 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * files.el (copy-directory): Set directory attributes only in case
1512 they could be retrieved from the source directory. (Bug#9565)
1513
bfeef8b6
DK
15142011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1515
1516 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1517 (hs-find-block-beginning, hs-hide-level-recursive):
1518 Ignore strings as well as comments. (Bug#9502)
1519
7e423bb8
AS
15202011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1521
1522 * progmodes/sql.el (sql-comint-postgres):
1523 Convert port number to a string. (Bug#9566)
1524
b4d72fcf
MR
15252011-09-22 Martin Rudalics <rudalics@gmx.at>
1526
1527 * window.el (quit-window): Undedicate window when switching to
1528 previous buffer. Reported by Thierry Volpiatto
1529 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1530 (special-display-popup-frame): When popping up a new frame reset
1531 its previous buffers to nil. Simplify code.
b4d72fcf 1532
a7b88dc6
MA
15332011-09-21 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1536 and process filter, as done also in `shell-command'.
1537
cf4eacfd
MR
15382011-09-21 Martin Rudalics <rudalics@gmx.at>
1539
eca3f3ea
PW
1540 * window.el (set-window-buffer-start-and-point):
1541 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1542 Volpiatto <thierry.volpiatto@gmail.com>.
1543 (quit-window): Reword doc-string. Handle new format of
1544 quit-restore parameter. Don't delete window if it has a
1545 previous buffer we can show instead of the present one.
1546 (display-buffer-record-window): Rewrite using a new format for
1547 the quit-restore window parameter
1548 (special-display-popup-frame, display-buffer-same-window)
1549 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1550 (display-buffer-pop-up-window, display-buffer-use-some-window):
1551 Adapt symbol passed to display-buffer-record-window.
1552 * help.el (help-window-setup): Handle new format of quit-restore
1553 parameter.
1554
8d28cb95
SM
15552011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1556
94ab793f
SM
1557 * faces.el (face-list): Fix docstring (bug#9564).
1558
8d28cb95
SM
1559 * window.el (display-buffer--action-function-custom-type):
1560 Don't include internal functions in the Custom interface.
1561
3820edeb
JL
15622011-09-20 Juri Linkov <juri@jurta.org>
1563
1564 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1565 (Info-forward-node, Info-backward-node, Info-next-preorder)
1566 (Info-last-preorder): Use it. (Bug#9528)
1567
5147931d
JL
15682011-09-20 Juri Linkov <juri@jurta.org>
1569
1570 * info.el (Info-last-preorder): Visit last menu item only when
1571 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1572
cf499a1a
JD
15732011-09-20 Julien Danjou <julien@danjou.info>
1574
1575 * password-cache.el (password-cache-remove): Remove entries even if the
1576 value is nil, so that password with a nil value (negative caching) is
1577 possible to invalidate.
1578
f84e2fe2
LM
15792011-09-20 Lawrence Mitchell <wence@gmx.li>
1580
1581 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1582 all whitespace around breakpoint. (Bug#9553)
1583 (f90-find-breakpoint): Only break at whitespace inside a comment.
1584
78054a46
SM
15852011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * minibuffer.el (completion-file-name-table): Keep track of errors.
1588 (completion-table-with-predicate): Handle the case where pred1 is nil.
1589 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1590
345083b2
SM
15912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1592
e24e27be
SM
1593 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1594 (debugger-return-value): Signal an error if the debugging context does
1595 not await any return value.
1596
345083b2
SM
1597 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1598 * image-mode.el (image-toggle-display-text)
1599 (image-toggle-display-image): Stay away from evil `intangible'.
1600
08d355e3
LL
16012011-09-19 Leo Liu <sdl.web@gmail.com>
1602
1603 * replace.el (occur-revert-arguments): Make it permanent-local.
1604 (occur-mode): Don't call font-lock-defontify.
1605
f01da43f
CY
16062011-09-19 Chong Yidong <cyd@stupidchicken.com>
1607
1608 * net/ldap.el (ldap-search-internal): Don't push empty search
1609 result (Bug#9508).
1610
b6072fa6
SM
16112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1614
443d6696
MA
16152011-09-19 Michael Albinus <michael.albinus@gmx.de>
1616
1617 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1618 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1619
7cc6e154
JL
16202011-09-18 Juri Linkov <juri@jurta.org>
1621
1622 * buff-menu.el (Buffer-menu-mode-map):
1623 * dired.el (dired-mode-map):
1624 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1625 (lisp-interaction-mode-map):
1626 * emacs-lisp/package.el (package-menu-mode-map):
1627 * epa.el (epa-key-list-mode-map):
1628 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1629 (menu-bar-options-menu):
1630 * outline.el (outline-mode-menu-bar-map):
1631 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1632 * vc/vc-dir.el (vc-dir-menu-map):
1633 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1634 Capitalize non-function content words in menu item strings.
1635
1636 * dired.el (dired-mode-map): Add menu item for
1637 `image-dired-dired-toggle-marked-thumbs'.
1638
80302a81
JL
16392011-09-18 Juri Linkov <juri@jurta.org>
1640
1641 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1642 to `isearch-case-fold-search' and restore its original value
1643 after the `isearch-mode' call.
1644
46c5cf66
JL
16452011-09-18 Juri Linkov <juri@jurta.org>
1646
1647 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1648 because `zgrep' returns 1 for successful matches (bug#9226).
1649
d18b513b
JL
16502011-09-18 Juri Linkov <juri@jurta.org>
1651
1652 * info.el (Info-extract-menu-node-name): Check the second match
1653 for empty string (second test-case of bug#9528).
1654 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1655 intermediate nodes to the history (first test-case of bug#9528).
1656
72753f87
JL
16572011-09-18 Juri Linkov <juri@jurta.org>
1658
1659 * info.el (Info-mode-syntax-table): New variable.
1660 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1661
c9384295
JL
16622011-09-18 Juri Linkov <juri@jurta.org>
1663
1664 * info.el (Info-file-supports-index-cookies): Increment
1665 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1666 one more line for long file names (bug#4142).
1667
d473dce8
CY
16682011-09-18 Chong Yidong <cyd@stupidchicken.com>
1669
1670 * newcomment.el (comment-normalize-vars): If prompting for
1671 comment-start, set comment-start-skip too (Bug#8424).
1672
2176854d
JB
16732011-09-18 Johan Bockgård <bojohan@gnu.org>
1674
1675 * icomplete.el: Fix previous fix of Bug#5849.
1676 (icomplete-mode): Don't set completion-show-inline-help.
1677 (icomplete-minibuffer-setup): Set completion-show-inline-help
1678 locally during icompletion.
1679
3aace4e4
CY
16802011-09-18 Chong Yidong <cyd@stupidchicken.com>
1681
c940224f
CY
1682 * woman.el (woman2-process-escapes): Don't delete unrecognized
1683 escapes (Bug#7843).
1684
3aace4e4
CY
1685 * files.el (inhibit-first-line-modes-regexps): Add image files.
1686 (hack-local-variables-prop-line): Return nil for malformed
1687 prop-lines (Bug#9044).
1688
710dec63
MA
16892011-09-18 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp.el (top): Don't require 'shell.
1692 (tramp-methods): Fix docstring.
1693 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1694 Return complete remote file name. Handle "smb" case.
1695 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1696 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1697
1698 * net/tramp-compat.el (top): Require 'shell.
1699
1700 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1701 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1702 `tramp-current-host'.
1703 (tramp-get-remote-tmpdir): Remove.
1704
1705 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1706 `tramp-tmpdir' entries.
1707 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1708 (tramp-smb-handle-file-attributes): Ignore errors.
1709 (tramp-smb-wait-for-output): Check also for process end.
1710
5d5ac8ec
LMI
17112011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1712
1713 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1714 when sending QUIT (bug#9312).
1715
8c0f49f0
CY
17162011-09-17 Chong Yidong <cyd@stupidchicken.com>
1717
1718 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1719 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1720 occur-mode-display-occurrence.
1721 (occur-edit-mode): Add usage message.
1722 (occur-cease-edit): New command.
1723 (occur-after-change-function): Use text properties to find the
1724 position of the prefix text.
1725 (occur-engine): Set stickiness of prefix text properties.
1726
8f1383f7
GM
17272011-09-17 Glenn Morris <rgm@gnu.org>
1728
1729 * progmodes/etags.el (complete-tag):
1730 Fix call to completion-in-region. (Bug#9526)
1731
744ba0e3
JL
17322011-09-17 Juri Linkov <juri@jurta.org>
1733
1734 * textmodes/ispell.el (ispell-word): Add to the error message
1735 the word, ispell program name and current dictionary (bug#9121).
1736 (ispell-tex-arg-end): Capitalize "error" in the error message.
1737
d9bbf400
AS
17382011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1739
1740 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1741 check. (Bug#4251)
1742
8da11505
JL
17432011-09-17 Juri Linkov <juri@jurta.org>
1744
1745 * window.el (window-safe-min-height, window-safe-min-width):
1746 Fix typos (followup to bug#9522).
1747
a91adc7e
SJ
17482011-09-17 Sven Joachim <svenjoac@gmx.de>
1749
1750 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1751
064f328a
EZ
17522011-09-16 Eli Zaretskii <eliz@gnu.org>
1753
1754 * simple.el (line-move): If goal-column is set, move by logical
1755 lines, not by display lines. (Bug#971)
1756 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1757 to reflect the above change.
1758
e69df516
SM
17592011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * image.el (imagemagick-register-types): Use regexp-opt.
1762
cbb0f9ab
CY
17632011-09-15 Chong Yidong <cyd@stupidchicken.com>
1764
1765 * window.el (display-buffer-base-action): Rename from
1766 display-buffer-default-action. Make default value empty.
1767 (display-buffer-overriding-action): Convert to defvar.
1768 (display-buffer-fallback-action): New var.
1769
25322144
CY
17702011-09-15 Chong Yidong <cyd@stupidchicken.com>
1771
1772 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1773 declaration.
1774 (package--add-to-archive-contents): If there is a duplicate entry
1775 with an older version, remove it.
1776 (package-menu-mark-delete, package-menu-mark-install)
1777 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1778 (package-menu-mark-obsolete-for-deletion):
1779 Use package-menu-get-status instead of a regexp search.
25322144
CY
1780 (package-menu-get-status): Use tabulated-list-entry.
1781 (package-menu-mark-upgrades): New command.
d770725a 1782 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1783 (package-menu-execute): Do installation before deletion.
1784 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1785 instead of checking major-mode.
1786 (package-menu--find-upgrades): New function.
1787
7520339c
LMI
17882011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1789
1790 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1791 passwords in the log buffer.
65a046c4
LMI
1792 (smtpmail-process-filter): Update the process marker so that the
1793 "broken by peer" status message is inserted in the right place.
7520339c 1794
d3c30954
SM
17952011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1796
3fe48822
SM
1797 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1798 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1799 bibtex-completion-at-point-function.
1800 (bibtex-completion-at-point-function): Use them.
1801
1b8b3954
SM
1802 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1803
d3c30954
SM
1804 * mpc.el (mpc-constraints-tag-lookup): New function.
1805 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1806 also to browser "album|playlist".
1807
72779976
JL
18082011-09-14 Juri Linkov <juri@jurta.org>
1809
1810 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1811 (isearch-edit-string): Use length of `isearch-string' when
1812 `isearch-fail-pos' returns nil.
1813 (isearch-message): Remove duplicate code and call
1814 `isearch-fail-pos' with arg `t'.
1815
a0bf2bcd
CY
18162011-09-14 Chong Yidong <cyd@stupidchicken.com>
1817
17bb0a2d
CY
1818 * replace.el (occur-mode-goto-occurrence): Don't force using other
1819 window (Bug#9499).
1820
a0bf2bcd
CY
1821 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1822
f678e0b6
MR
18232011-09-14 Martin Rudalics <rudalics@gmx.at>
1824
1825 * window.el (display-buffer-window): Remove.
1826 (display-buffer-record-window): Use help-setup window parameter
1827 instead of variable display-buffer-window.
1828 (display-buffer-function, special-display-buffer-names)
1829 (special-display-function): Mention help-setup parameter instead
1830 of display-buffer-window in doc-string.
d3c30954
SM
1831 * help.el (help-window-setup): New argument help-window.
1832 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1833 Reword some messages.
1834 (with-help-window): Pass window used for displaying the buffer
1835 to help-window-setup. Don't set display-buffer-window.
1836
8e39b2e8
GM
18372011-09-13 Glenn Morris <rgm@gnu.org>
1838
1839 * emacs-lisp/debug.el (debugger-make-xrefs):
1840 Preserve point. (Bug#9462)
1841
85e9c04b
CY
18422011-09-13 Chong Yidong <cyd@stupidchicken.com>
1843
1844 * window.el (window-deletable-p): Use next-frame.
1845
1b36ed6a
MR
18462011-09-13 Martin Rudalics <rudalics@gmx.at>
1847
1848 * window.el (window-auto-delete): Remove.
1849 (window-deletable-p): Remove argument FORCE. Don't deal with
1850 dedicatedness and previous buffers.
1851 (switch-to-prev-buffer): Don't delete window.
1852 (delete-windows-on): Delete a window's frame if and only if the
1853 window is dedicated.
1854 (replace-buffer-in-windows): Delete buffer's window or frame if
1855 and only if window is dedicated.
1856 (quit-window): Handle quit-restore as before last change.
4d61f28d 1857 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1858
ef8ef9fb
CY
18592011-09-13 Chong Yidong <cyd@stupidchicken.com>
1860
1861 * window.el (window-deletable-p): Never delete the last frame on a
1862 given terminal.
1863
b2cba41e
GM
18642011-09-13 Glenn Morris <rgm@gnu.org>
1865
1866 * help.el (describe-key-briefly): Copy previous standard-output change.
1867
51553db6 18682011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1869
1870 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1871
b7556719
GM
18722011-09-13 Glenn Morris <rgm@gnu.org>
1873
1874 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1875 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1876
64b51947
CY
18772011-09-12 Chong Yidong <cyd@stupidchicken.com>
1878
1879 * dired-aux.el (dired-mark-read-string): Don't return default
1880 value on empty input (Bug#9361).
1881 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1882 Omit initial minibuffer contents.
1883 (dired-do-chmod): Signal an error on empty input.
1884 (dired-mark-read-string): Don't return default on empty input.
1885
1886 * files.el (file-modes-symbolic-to-number): Doc fix.
1887
393a301e
SM
18882011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * international/mule-cmds.el (ucs-completions): Remove.
1891 (read-char-by-name): Use complete-with-action instead; add metadata.
1892
fa5660f9
CY
18932011-09-11 Chong Yidong <cyd@stupidchicken.com>
1894
1895 * window.el (display-buffer--action-function-custom-type)
1896 (display-buffer--action-custom-type): New vars.
1897 (display-buffer-alist, display-buffer-default-action)
1898 (display-buffer-overriding-action): Add defcustom types.
1899
4a592f66
CY
1900 * frame.el (delete-other-frames): Doc fix (Bug#276).
1901
73d56dbd
LMI
19022011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1903
1904 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1905
37ac18a3
CY
19062011-09-11 Chong Yidong <cyd@stupidchicken.com>
1907
1908 Change modes that used same-window-* vars to use switch-to-buffer.
1909
1910 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1911 Use switch-to-buffer.
1912
1913 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1914 (customize-browse, custom-buffer-create-other-window):
1915 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1916
1917 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1918 (Info-prev, Info-up, Info-speedbar-goto-node)
1919 (info-display-manual): Use switch-to-buffer.
1920 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1921
1922 * mail/sendmail.el (mail): Use switch-to-buffer.
1923 (mail-recover): Use switch-to-buffer-other-window.
1924
1925 * cmuscheme.el (run-scheme, switch-to-scheme):
1926 * ielm.el (ielm):
1927 * shell.el (shell):
1928 * net/rlogin.el (rlogin):
1929 * net/telnet.el (telnet, rsh):
1930 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1931
10195bd6
AS
19322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1933
1934 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1935
b322f63a
LMI
19362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1937
39d7fed6
LMI
1938 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1939 so don't mention it (bug#9301).
ba5a81f1 1940 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1941
ee0e9f11
LMI
1942 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1943 match `x', `w32' and `ns', like the manual says (bug#9029).
1944
0b1c89c1 1945 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1946 (process-kill-buffer-query-function): Mention the buffer name in
1947 the query.
0b1c89c1 1948
77549ea8
LMI
1949 * image-mode.el (image-next-line): The line parameter is mandatory
1950 (bug#9258).
1951
803ef892
LMI
1952 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1953 which can be useful (bug#9301).
1954
12980837
LMI
1955 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1956
91054f8f
LMI
1957 * subr.el (match-string): Mention that the current buffer should
1958 be the same as the search was done in (bug#9282).
1959
b322f63a
LMI
1960 * facemenu.el: Disable the remove-* commands if the mark isn't
1961 active (bug#9162).
1962
3199b96f
CY
19632011-09-10 Chong Yidong <cyd@stupidchicken.com>
1964
1965 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1966 of display-buffer.
1967 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1968
1969 * replace.el (occur-mode-goto-occurrence)
1970 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1971 and display-buffer.
1972
1973 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1974 display-buffer.
1975
1976 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1977 special-display and same-window variables.
1978 (mail-other-window): Use switch-to-buffer-other-window.
1979 (mail-other-frame): USe switch-to-buffer-other-frame.
1980
393a301e
SM
1981 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1982 Use display-buffer-other-frame.
3199b96f
CY
1983 (gdb-display-gdb-buffer): Use pop-to-buffer.
1984
1985 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1986
1987 * progmodes/python.el: Don't set same-window-buffer-names.
1988
1989 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1990
1991 * window.el (display-buffer-alist): Add *Python*.
1992
8319e0bf
CY
19932011-09-10 Chong Yidong <cyd@stupidchicken.com>
1994
1995 * window.el (display-buffer-alist): Add entry for buffers
1996 previously handled same-window-*.
1997 (display-buffer-alist, display-buffer-default-action)
1998 (display-buffer-overriding-action): Mark as risky.
1999 (display-buffer-alist): Document action function changes.
2000 (display-buffer--same-window-action)
2001 (display-buffer--other-frame-action): New variables.
2002 (switch-to-buffer, display-buffer-other-frame): Use them.
2003 (display-buffer): Rename reuse-frame entry to reusable-frames.
2004 (display-buffer-reuse-selected-window): Function deleted.
2005 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2006 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2007 (display-buffer-special): New function.
2008 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2009 display-buffer-reuse-or-pop-window. Split off special-display
2010 part into display-buffer-special.
2011 (display-buffer-use-some-window): Don't perform any special
2012 pop-up-frames handling.
2013 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2014 (display-buffer--maybe-same-window): Rename from
0d3ff375 2015 display-buffer-maybe-same-window.
8319e0bf 2016
919a69aa
CY
2017 * info.el: Don't set same-window-regexps.
2018 (info-setup): New function.
2019 (info-other-window, info): Call it.
2020
2021 * cus-edit.el: Don't set same-window-regexps.
2022 (customize-group): New argument.
2023 (customize-group-other-window): Use it.
2024 (customize-face, customize-face-other-window): Likewise.
2025 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2026
8319e0bf
CY
2027 * net/rlogin.el:
2028 * net/telnet.el:
2029 * progmodes/gud.el: Don't set same-window-regexps.
2030
2031 * cmuscheme.el:
2032 * ielm.el:
2033 * shell.el:
2034 * mail/sendmail.el:
2035 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2036
25173000
JL
20372011-09-10 Juri Linkov <juri@jurta.org>
2038
2039 * isearch.el (isearch-edit-string): Remove obsolete mention of
2040 `C-w' (`isearch-yank-word-or-char') from docstring.
2041 (isearch-query-replace): Fix typo in docstring (bug#9466).
2042
056e44ef
JL
20432011-09-10 Juri Linkov <juri@jurta.org>
2044
2045 * paren.el (show-paren-function): Don't show escaped parens.
2046 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2047
c3760c17
EZ
20482011-09-10 Eli Zaretskii <eliz@gnu.org>
2049
2050 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2051 (mm-default-file-encoding): Remove autoload forms, they are
2052 replaced with autoload cookies in mml.el and mm-encode.el.
2053 (mail-add-attachment): New command.
2054 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2055 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2056 the doc string.
2057 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2058
fece895e
RT
20592011-09-10 Reuben Thomas <rrt@sc3d.org>
2060
e69df516
SM
2061 * simple.el (count-words-region): Use buffer if there's no region
2062 (bug#9429).
fece895e 2063
5e68ce4a
JL
20642011-09-09 Juri Linkov <juri@jurta.org>
2065
2066 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2067 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2068 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2069
0a6b9622
AM
20702011-09-09 Alan Mackenzie <acm@muc.de>
2071
2072 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2073 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2074
14a29deb
EZ
20752011-09-09 Eli Zaretskii <eliz@gnu.org>
2076
2077 Fix for Savannah bug#9392.
2078 * simple.el (mail-encode-mml): New defvar.
2079
2080 * mail/rmail.el (mail-encode-mml): Add a defvar.
2081 (rmail-enable-mime-composing): Default to t.
2082 (rmail-forward): Use MIME method of forwarding only if both
2083 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2084 Set mail-encode-mml non-nil if the MIME method was used.
2085
2086 * mail/sendmail.el (mml-to-mime): Add autoload form.
2087 (mail-encode-mml): Add a defvar.
2088 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2089 to nil.
2090 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2091 message through mml-to-mime, and reset mail-encode-mml to nil.
2092
28c45130
GM
20932011-09-09 Glenn Morris <rgm@gnu.org>
2094
2095 * woman.el (woman-if-body): When processing an .el block,
2096 do not delete the next .el block as well. (Bug#9447)
69f4b618 2097 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2098
9b1c252e
MR
20992011-09-08 Martin Rudalics <rudalics@gmx.at>
2100
2101 * window.el (window-deletable-p): Make sure window is live before
2102 invoking window-prev-buffers.
2103
567457e3
LL
21042011-09-08 Leo Liu <sdl.web@gmail.com>
2105
2106 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2107
97f05794
JL
21082011-09-08 Juri Linkov <juri@jurta.org>
2109
2110 * progmodes/compile.el (compilation-environment): Make it
2111 a defcustom (bug#8340).
2112
8b0874b5
MR
21132011-09-08 Martin Rudalics <rudalics@gmx.at>
2114
2115 * window.el (frame-auto-delete): Rename to window-auto-delete.
2116 Make it control auto-deletion of windows and/or frames.
2117 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2118 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2119 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2120 Rewrite handling of case when window/frame can be deleted.
2121 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2122 argument t. (Bug#9456)
8b0874b5 2123
4feb6e73
CY
21242011-09-07 Chong Yidong <cyd@stupidchicken.com>
2125
2126 * help-mode.el (help-mode): Restore autoload.
2127
91ab9c13
JL
21282011-09-07 Juri Linkov <juri@jurta.org>
2129
2130 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2131 `compilation-environment'. Set buffer-local
2132 `compilation-environment' to `thisenv' later after (funcall mode).
2133 (Bug#8340)
2134
2135 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2136 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2137 instead of replacing its value. (Bug#8340)
2138
0527e251
JL
21392011-09-07 Juri Linkov <juri@jurta.org>
2140
2141 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2142 based on text properties put by `grep-filter' instead of matching
2143 escape sequences.
2144 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2145 to the value of `grep-error-screen-columns' (bug#9438).
2146
249f792c
JL
21472011-09-07 Juri Linkov <juri@jurta.org>
2148
2149 * simple.el (next-error-highlight, next-error-highlight-no-select):
2150 Doc fix (bug#9432).
2151
ff7271b9
OT
21522011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2153
2154 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2155 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2156
183fc730
LL
21572011-09-07 Leo Liu <sdl.web@gmail.com>
2158
2159 * net/rcirc.el (rcirc-mode): Conditionally initialize
2160 rcirc-input-ring.
2161
77694924
SM
21622011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/find-func.el (find-function-C-source): Only set
2165 find-function-C-source-directory after checking that we found a source
2166 file there (bug#9440).
2167
d809b8eb
AM
21682011-09-06 Alan Mackenzie <acm@muc.de>
2169
2170 * isearch.el (isearch-other-meta-char): Wherever a key list is
2171 unread, "unread" the prefix arg, too. This fixes bug #8901.
2172
453de99f
OG
21732011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2174
2175 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2176
90439906
JL
21772011-09-05 Juri Linkov <juri@jurta.org>
2178
2179 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2180
f62bd846
JL
21812011-09-05 Juri Linkov <juri@jurta.org>
2182
2183 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2184 keeping point where processing of grep matches begins, and
2185 continue to delete remaining escape sequences from the same point.
2186 (grep-filter): Make leading zero optional in "0?1;31m" because
2187 git-grep emits "\033[1;31m" escape sequences unlike expected
2188 "\033[01;31m" as GNU Grep does (bug#9408).
2189 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2190
045820ec
JL
21912011-09-05 Juri Linkov <juri@jurta.org>
2192
2193 * subr.el (y-or-n-p): Capitalize "yes".
2194
f5e29b9b
MA
21952011-09-04 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2198 `tramp-cache-unload-hook' where appropriate.
2199 (tramp-methods): Rename `tramp-remote-sh' to
2200 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2201 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2202
2203 * net/tramp-sh.el (top): Don't require 'shell.
2204 (tramp-methods): Add `tramp-remote-shell' and
2205 `tramp-remote-shell-args' entries.
2206 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2207 (tramp-sh-handle-shell-command): Remove.
2208 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2209 Use `tramp-remote-shell'.
2210
2784c434
CY
22112011-09-03 Chong Yidong <cyd@stupidchicken.com>
2212
393a301e 2213 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2214 (sendmail-query-once): Save directly to send-mail-function.
2215 Update message-send-mail-function too.
2216
2217 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2218
464cdf56
CS
22192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2220
2221 * progmodes/python.el (python-mode-map): Use correct function to
2222 start python interpreter from menu-bar (as reported by Geert
2223 Kloosterman).
2224 (inferior-python-mode-map): Fix typo.
393a301e 2225 (python-shell-map): Remove.
464cdf56 2226
d37e5c87
DD
22272011-09-03 Deniz Dogan <deniz@dogan.se>
2228
2229 * net/rcirc.el (rcirc-print): Simplify code for
2230 rcirc-scroll-show-maximum-output. There is no need to walk
2231 through all windows to find the right one.
2232
f3ada0ee
CS
22332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2234
2235 * help.el (help-return-method): Doc fix.
2236
1f3c99ca
MR
22372011-09-03 Martin Rudalics <rudalics@gmx.at>
2238
2239 * window.el (window-deletable-p): Don't return a non-nil value
2240 when there's a buffer that was shown in the window before.
2241 (Bug#9419)
393a301e
SM
2242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2243 Set window's previous buffers to nil.
1f3c99ca 2244
a3cf097f
EZ
22452011-09-03 Eli Zaretskii <eliz@gnu.org>
2246
2247 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2248 newline before and after the tag line, so it doesn't interfere
2249 with determining the paragraph direction of bidirectional text.
2250
3d03de90
LL
22512011-09-03 Leo Liu <sdl.web@gmail.com>
2252
2253 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2254
c3313451
CY
22552011-09-02 Chong Yidong <cyd@stupidchicken.com>
2256
393a301e 2257 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2258 (pop-to-buffer): Change interactive spec. Pass second argument
2259 directly to display-buffer.
2260 (display-buffer): Fix interactive spec. Use functionp to
2261 distinguish between a function and a list of functions.
2262
2263 * abbrev.el (edit-abbrevs):
2264 * arc-mode.el (archive-extract):
2265 * autoinsert.el (auto-insert):
2266 * bookmark.el (bookmark-bmenu-list):
2267 * files.el (find-file):
2268 * view.el (view-buffer):
2269 * progmodes/compile.el (compilation-goto-locus):
2270 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2271
89894cd8
CY
22722011-09-02 Chong Yidong <cyd@stupidchicken.com>
2273
2274 * window.el (display-buffer-alist): Doc fix.
2275 (display-buffer): Add docstring. Don't treat
2276 display-buffer-default specially.
2277 (display-buffer-reuse-selected-window)
2278 (display-buffer-same-window, display-buffer-maybe-same-window)
2279 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2280 (display-buffer-pop-up-window)
2281 (display-buffer-reuse-or-pop-window)
2282 (display-buffer-use-some-window): New functions.
2283 (display-buffer-default-action): Use them.
393a301e 2284 (display-buffer-default): Delete.
89894cd8
CY
2285 (pop-to-buffer-1): Fix choice of actions.
2286
ae0bc9fb
SM
22872011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * minibuffer.el (completion--insert-strings): Don't get confused by
2290 completion entries that end with an LF char.
2291
e9d90883
EZ
22922011-09-01 Eli Zaretskii <eliz@gnu.org>
2293
2294 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2295
437014c8
CY
22962011-09-01 Chong Yidong <cyd@stupidchicken.com>
2297
2298 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2299 (display-buffer-same-window, display-buffer-other-window):
2300 New functions.
437014c8
CY
2301 (pop-to-buffer-1): New function. Use the above.
2302 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2303 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2304
2305 * view.el (view-buffer-other-window, view-buffer-other-frame):
2306 Just use pop-to-buffer.
2307
a5e063d5
TV
23082011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2309
2310 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2311
793d32bb
WH
23122011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2313
2314 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2315
d65e4c15
RS
23162011-08-31 Richard Stallman <rms@gnu.org>
2317
2318 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2319 of the separation of rmail-view-buffer from rmail-buffer.
2320 If you say no to "replace original", the decrypt is in the
2321 view buffer. If you say yes, the decrypt goes into the
2322 rmail buffer also.
2323
f818cd2a
MR
23242011-08-31 Martin Rudalics <rudalics@gmx.at>
2325
2326 * window.el (display-buffer-window): Rewrite doc-string.
2327 (display-buffer-record-window): New function.
2328 (display-buffer-macro-specifiers)
2329 (display-buffer-even-window-sizes, display-buffer-set-height)
2330 (display-buffer-set-width, display-buffer-in-window)
2331 (display-buffer-reuse-window, display-buffer-split-specifiers)
2332 (display-buffer-side-specifiers, display-buffer-split-window-1)
2333 (display-buffer-split-window, display-buffer-split-atom-window)
2334 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2335 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2336 (display-buffer-other-window-means-other-frame)
2337 (display-buffer-normalize-special)
2338 (display-buffer-normalize-default)
2339 (display-buffer-normalize-argument)
2340 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2341 (display-buffer-normalize-specifiers, display-buffer-frame)
2342 (display-buffer-same-window, display-buffer-same-frame)
2343 (display-buffer-other-window)
2344 (display-buffer-same-frame-other-window)
2345 (display-buffer-other-frame, pop-to-buffer-same-window)
2346 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2347 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2348 (switch-to-buffer-same-frame)
2349 (switch-to-buffer-other-window-same-frame)
2350 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2351 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2352 (display-buffer-alist-set): Remove.
2353 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2354 (special-display-regexps, special-display-function):
2355 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2356 parameter.
2357 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2358 (special-display-frame-alist, special-display-popup-frame)
2359 (same-window-buffer-names, same-window-regexps, same-window-p)
2360 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2361 (split-window-preferred-function, split-height-threshold)
2362 (split-width-threshold, window-splittable-p)
2363 (split-window-sensibly, window--try-to-split-window)
2364 (window--frame-usable-p, even-window-heights)
2365 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2366 (window--display-buffer-2, display-buffer-other-frame):
2367 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2368 (display-buffer-default, display-buffer-assq-regexp): New functions.
2369 (display-buffer-alist): Rewrite doc-string.
2370 (display-buffer-default-action)
2371 (display-buffer-overriding-action): New variables.
2372 (display-buffer, switch-to-buffer): Rewrite.
2373 (pop-to-buffer): Restore Emacs 23 behavior but use
2374 window-normalize-buffer-to-display.
2375 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2376 Restore Emacs 23 behavior but use
2377 window-normalize-buffer-to-switch-to.
2378 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2379 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2380 Rewrite using Emacs 23 options.
f818cd2a 2381
5bc3b51d
MA
23822011-08-31 Michael Albinus <michael.albinus@gmx.de>
2383
2384 * net/tramp.el (tramp-root-regexp): Remove.
2385 (tramp-completion-file-name-regexp-unified)
2386 (tramp-completion-file-name-regexp-separate)
2387 (tramp-completion-file-name-regexp-url): Don't use leading volume
2388 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2389 (tramp-drop-volume-letter): Simplify definition.
2390 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2391
b1a4f8e1
SM
23922011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2395 (bug#9356).
2396
5664fa7b
RT
23972011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2398
b1a4f8e1 2399 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2400
9a45d6c3
JL
24012011-08-29 Juri Linkov <juri@jurta.org>
2402
2403 * isearch.el (isearch-done): Don't display message "Mark saved"
2404 when arg `edit' is non-nil to prevent its flicker in the echo area.
2405
fb87e0fb
CY
24062011-08-28 Chong Yidong <cyd@stupidchicken.com>
2407
2408 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2409 obsolete packages for deletion.
2410
09ac1c2a
CS
24112011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2412
2413 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2414 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2415 view-mode from help-mode.
2416 (help-xref-override-view-map): Remove.
2417 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2418 view-mode is not used anymore.
2419
7a1ff57f
CY
24202011-08-28 Chong Yidong <cyd@stupidchicken.com>
2421
2422 * server.el (server-port): Doc fix.
2423
b9696605
CY
2424 * cus-theme.el (custom-theme-choose-mode): Inherit from
2425 special-mode (Bug#9124).
2426 (custom-theme-choose-mode-map): Add special-mode to parent.
2427
ef8cdf8c
AM
24282011-08-28 Alan Mackenzie <acm@muc.de>
2429
2430 * progmodes/cc-fonts.el
2431 (c-make-font-lock-BO-decl-search-function): New function.
2432 (c-basic-matchers-after - "Fontify the clauses after various
2433 keywords"): Extract the three keyword lists for the 3 erroneous
2434 constructs from the list of four, and use the new function above
2435 in place of an old one.
2436
27de4e20
DD
24372011-08-28 Deniz Dogan <deniz@dogan.se>
2438
2439 * net/rcirc.el (rcirc-insert-prev-input)
2440 (rcirc-insert-next-input): Remove unused argument.
2441
356a3681
SM
24422011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2445
3fc9b218
AM
24462011-08-27 Alan Mackenzie <acm@muc.de>
2447
2448 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2449 handle function pointer parameters properly.
2450
538a061c
MR
24512011-08-27 Martin Rudalics <rudalics@gmx.at>
2452
2453 * window.el (display-buffer-reuse-window): Fix case where
2454 selected window was reused with non-nil OTHER-WINDOW argument.
2455 (Bug#9381)
2456
35b1c40c
DD
24572011-08-27 Deniz Dogan <deniz@dogan.se>
2458
2459 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2460 oftc's NickServ messages.
2461
2f6a3e79
GM
24622011-08-27 Glenn Morris <rgm@gnu.org>
2463
2464 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2465
7254299e
CY
24662011-08-26 Chong Yidong <cyd@stupidchicken.com>
2467
2468 * emacs-lisp/package.el (package-install): Call package-initialize
2469 if called interactively.
2470
f8ccf167
LL
24712011-08-26 Leo Liu <sdl.web@gmail.com>
2472
2473 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2474
3e8cd5ce
JL
24752011-08-25 Juri Linkov <juri@jurta.org>
2476
2477 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2478 `search-whitespace-regexp' (bug#9364).
2479
93eb7113
JL
24802011-08-25 Juri Linkov <juri@jurta.org>
2481
2482 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2483 `regexp-search-ring' to their global values to protect from
2484 updating by `read-from-minibuffer' (bug#9185).
2485
f65d1611
JL
24862011-08-25 Juri Linkov <juri@jurta.org>
2487
2488 * textmodes/ispell.el (ispell-command-loop): Add newline
2489 at the end of the "Use option `i'..." line.
2490
f1cf7a31
JL
24912011-08-25 Juri Linkov <juri@jurta.org>
2492
2493 * battery.el (display-battery-mode): If `battery-status-function'
2494 or `battery-mode-line-format' is nil, display the message and set
2495 `display-battery-mode' to nil (bug#9363).
2496
0c95fcf7
EZ
24972011-08-25 Eli Zaretskii <eliz@gnu.org>
2498
2499 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2500 bidi-string-mark-left-to-right; they are unnecessary now.
2501
a2ebe600
DD
25022011-08-25 Deniz Dogan <deniz@dogan.se>
2503
2504 * net/quickurl.el: Documentation typo fixes.
2505
e4ed06f1
CY
25062011-08-25 Chong Yidong <cyd@stupidchicken.com>
2507
2508 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2509
e5f1c99e
GM
25102011-08-25 Glenn Morris <rgm@gnu.org>
2511
b2948976
GM
2512 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2513
e5f1c99e
GM
2514 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2515 (smtpmail-via-smtp): Handle nil response from smtp.
2516
f22f4808
JL
25172011-08-24 Juri Linkov <juri@jurta.org>
2518
2519 * proced.el (proced-marked): Inherit from `error' instead of
2520 `font-lock-warning-face'.
2521
2522 * ibuffer.el (ibuffer-marked-face): Change default face from
2523 `font-lock-warning-face' to `warning'.
2524 (ibuffer-deletion-face): Change default face from
2525 `font-lock-type-face' to `error'.
2526
2527 * battery.el (battery-update): Use the face `error' instead of
2528 `font-lock-warning-face' (bug#6117).
2529
6a93965e
JL
25302011-08-24 Juri Linkov <juri@jurta.org>
2531
2532 * faces.el (success): Change face color from "Green3" to
2533 "ForestGreen" on light background (bug#9353).
2534
1ed43b09
CY
25352011-08-24 Chong Yidong <cyd@stupidchicken.com>
2536
5664fa7b
RT
2537 * window.el (quit-window): Rename from quit-restore-window.
2538 Use same arglist as old quit-window.
1ed43b09
CY
2539 (frame-auto-delete): Doc fix.
2540
2541 * view.el (view-mode-exit): Use quit-window.
2542
11dcdbb2
JL
25432011-08-24 Juri Linkov <juri@jurta.org>
2544
2545 * isearch.el (isearch-ring-adjust1): Start visiting previous
2546 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2547 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2548 for empty search string (when the last search string is reused
2549 automatically) to adjust the isearch ring to the last element and
2550 prepare the correct index for further M-p commands (bug#9185).
2551
de62b4df
KH
25522011-08-24 Kenichi Handa <handa@m17n.org>
2553
2554 * international/ucs-normalize.el: If decomposition property of
2555 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2556 nil.
2557 (nfd, nfkd): Likewise.
2558
963b492b
SM
25592011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2562 from process filters aren't reliably transmitted to the surrounding
2563 accept-process-output.
2564 (mpc-proc-check): New function.
2565 (mpc-proc-sync): Use it (bug#8293)
2566
93b6b5e1
SM
25672011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2570 Add compatibility functions (bug#9313).
2571
bca633fb
EZ
25722011-08-23 Eli Zaretskii <eliz@gnu.org>
2573
b177498a
EZ
2574 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2575
bca633fb
EZ
2576 * international/uni-bidi.el: Regenerated.
2577
0902a04e
KH
25782011-08-23 Kenichi Handa <handa@m17n.org>
2579
2580 * international/charprop.el:
2581 * international/uni-bidi.el:
2582 * international/uni-category.el:
2583 * international/uni-combining.el:
2584 * international/uni-comment.el:
2585 * international/uni-decimal.el:
2586 * international/uni-decomposition.el:
2587 * international/uni-digit.el:
2588 * international/uni-lowercase.el:
2589 * international/uni-mirrored.el:
2590 * international/uni-name.el:
2591 * international/uni-numeric.el:
2592 * international/uni-old-name.el:
2593 * international/uni-titlecase.el:
2594 * international/uni-uppercase.el: Regenerate.
2595
3bbf23bc
MR
25962011-08-23 Martin Rudalics <rudalics@gmx.at>
2597
2598 * help.el (help-window-setup): Fix message displayed when other
2599 window is reused. (Bug#9341)
2600
b3fd59bd
SM
26012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2602
1802e444
SM
2603 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2604 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2605
b3fd59bd
SM
2606 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2607 Mark obsolete.
2608 * shell.el (shell-parse-pcomplete-arguments): New function.
2609 (shell-completion-vars): Use it instead (bug#9160).
2610
4eb61348
SM
26112011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2612
867cab74
SM
2613 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2614 strings and comments (bug#9333).
2615
4eb61348
SM
2616 * emacs-lisp/debug.el (debug-arglist): New function.
2617 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2618 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2619
262a1439
JL
26202011-08-22 Juri Linkov <juri@jurta.org>
2621
56ee679c
JL
2622 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2623 Revert regexp that highlights output switches to its old
2624 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2625
262a1439
JL
2626 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2627 to check for empty output (bug#9226).
2628
f13f86fb
CY
26292011-08-22 Chong Yidong <cyd@stupidchicken.com>
2630
2631 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2632 symbol-constituent as the default, as that stops font-lock from
2633 working properly (Bug#8843).
2634
c65c9622
LMI
26352011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2636
2637 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2638 `coding-system-for-*' around the process open call to avoid
2639 auth-source side effects.
e7f2c178 2640 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2641 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2642 probe hangs.
c65c9622 2643
23a8a5ab
CY
26442011-08-21 Chong Yidong <cyd@stupidchicken.com>
2645
ff98b2dd
CY
2646 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2647
23a8a5ab
CY
2648 * emacs-lisp/find-func.el (find-function-noselect): New arg
2649 lisp-only.
2650
2651 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2652 signal an error for built-in functions (Bug#6664).
2653
f5e3c598
LMI
26542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2655
2656 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2657 (smtpmail-try-auth-methods): Use it.
2658
a3f2468a
CY
26592011-08-21 Chong Yidong <cyd@stupidchicken.com>
2660
2c34e8da
CY
2661 * font-lock.el (font-lock-fontify-region)
2662 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2663 (font-lock-default-unfontify-buffer)
2664 (font-lock-default-fontify-region)
2665 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2666
b3fd59bd
SM
2667 * progmodes/compile.el (compilation-error-properties):
2668 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2669 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2670 `ant' regexp.
ee31aabc 2671
a3f2468a
CY
2672 * net/browse-url.el (browse-url-firefox): Don't call
2673 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2674
8e999f70
GM
26752011-08-20 Glenn Morris <rgm@gnu.org>
2676
c21a496a
GM
2677 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2678
59ee0542
GM
2679 * tutorial.el (tutorial--default-keys): Update some default bindings.
2680
8e999f70
GM
2681 * files.el (hack-local-variables): Fully ignore case for "mode:".
2682
e3715033
AM
26832011-08-20 Alan Mackenzie <acm@muc.de>
2684
2685 Resolve invalid use of a regexp in regexp-opt.
2686
4d61f28d
JB
2687 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2688 detection for a java annotation.
e3715033 2689
4d61f28d 2690 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2691 detection for a java annotation.
2692
4d61f28d
JB
2693 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2694 handling for java.
e3715033
AM
2695 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2696
04ed2e9c
CY
26972011-08-20 Chong Yidong <cyd@stupidchicken.com>
2698
2699 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2700 (Bug#9274).
2701
826cee64
AM
27022011-08-20 Alan Mackenzie <acm@muc.de>
2703
58179cce 2704 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2705 such a construct. Mainly for when jit-lock etc. starts a chunk
2706 here.
2707
58179cce 2708 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2709 variable.
58179cce 2710 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2711 c-make-font-lock-search-function.
2712 (c-make-font-lock-search-function): Use the above function.
2713 (c-make-font-lock-context-search-function): New function.
2714 (c-cpp-matchers): Enhance the preprocessor expression case with
2715 the above function
2716 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2717 which takes an expression.
2718
2719 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2720
13009bd8
MR
27212011-08-20 Martin Rudalics <rudalics@gmx.at>
2722
2723 * window.el (display-buffer-reuse-window)
2724 (display-buffer-pop-up-window): Don't reuse or split a side
2725 window.
2726
9234ff7f
GM
27272011-08-19 Glenn Morris <rgm@gnu.org>
2728
2729 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2730 Downcase "Mode:". (Bug#9331)
9234ff7f 2731
f635daa1
CY
27322011-08-18 Chong Yidong <cyd@stupidchicken.com>
2733
2734 * international/characters.el: Add L and R categories.
2735
2736 * subr.el (bidi-string-mark-left-to-right): Rename from
2737 string-mark-left-to-right. Use category search.
2738
2739 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2740
bc987f8b
JL
27412011-08-18 Juri Linkov <juri@jurta.org>
2742
2743 * faces.el (error, warning, success): New faces with definitions
2744 copied from old default values of `font-lock-warning-face',
2745 `compilation-warning', `compilation-info' (bug#6117).
2746
2747 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2748
2749 * progmodes/compile.el (compilation-error): Inherit from `error'.
2750 (compilation-warning): Inherit from `warning'.
2751 (compilation-info): Inherit from `success'.
2752
2753 * dired.el (dired-marked): Inherit from `warning'.
2754 (dired-flagged): Inherit from `error'.
2755
57173b96
LMI
27562011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2757
3e79eb87
LMI
2758 * mail/smtpmail.el (auth-source): Require to avoid problems with
2759 binding variables (bug#9298). Also clean up some unused
2760 autoloads.
2761
b3fd59bd
SM
2762 * net/network-stream.el (network-stream-open-starttls):
2763 Support using starttls.el without using gnutls-cli.
57173b96 2764
02b404de
JL
27652011-08-17 Juri Linkov <juri@jurta.org>
2766
2767 * progmodes/grep.el (rgrep): Handle the case when
2768 `grep-find-command' is a cons cell (bug#9278).
2769
8c9177f2
MR
27702011-08-17 Martin Rudalics <rudalics@gmx.at>
2771
2772 * window.el (display-buffer-pop-up-frame): Run frame creation
2773 function with BUFFER current (as special-display-popup-frame
2774 does). Reported by Drew Adams.
2775
3644a0ab
DU
27762011-08-17 Daiki Ueno <ueno@unixuser.org>
2777
2778 * epa-mail.el: Simplify GnuPG group expansion using
2779 epg-expand-group.
2780 (epa-mail-group-alist, epa-mail-group-modtime)
2781 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2782 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2783 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2784 Remove.
2785
5e617bc2 27862011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2787
2788 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2789
9c4aeabf
AM
27902011-08-16 Alan Mackenzie <acm@muc.de>
2791
2792 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2793 Correct, to avoid the inside of macros.
2794
3a99bf64
RS
27952011-08-16 Richard Stallman <rms@gnu.org>
2796
04963aa8
RS
2797 * epa-mail.el: Handle GnuPG group definitions.
2798 (epa-mail-group-alist, epa-mail-group-modtime)
2799 (epa-mail-gnupg-conf-file): New variables.
2800 (epa-mail-parse-groups, epa-mail-sync-groups)
2801 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2802 (epa-mail-expand-recipients): New functions.
2803 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2804
177549d0
RS
2805 * mail/rmail.el (rmail-epa-decrypt): New command.
2806
fe38beef
RS
2807 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2808 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2809 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2810 (epa-decrypt-armor-in-region): Make error message clearer.
2811
934eacb9
SM
28122011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2815 and "a2b" to "ab" for `prefix'.
2816
d024fb4e
CY
28172011-08-14 Chong Yidong <cyd@stupidchicken.com>
2818
2819 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2820 filter groups.
de148fee
CY
2821 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2822 Fourquet (Bug#8804).
d024fb4e 2823
62f1ca49
JB
28242011-08-12 Juanma Barranquero <lekktu@gmail.com>
2825
2826 * startup.el (argi): Declare as global variable (bug#9275).
2827
9ccaaa4b
CY
28282011-08-12 Chong Yidong <cyd@stupidchicken.com>
2829
2830 * subr.el (string-mark-left-to-right): Search the entire string
2831 for RTL script, not just the terminating character. Doc fix.
2832
a3dae87a
SM
28332011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2834
6cd18349
SM
2835 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2836 New function.
2837 (js--regexp-literal, js-syntax-propertize-function): Remove.
2838 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2839 (js-mode-map): Don't rebind electric keys.
2840 (js-insert-and-indent): Remove.
2841 (js-mode): Setup electric-layout and electric-indent instead.
2842
a3dae87a
SM
2843 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2844
9d5cb631
DU
28452011-08-12 Daiki Ueno <ueno@unixuser.org>
2846
2847 * epa.el (epa-progress-callback-function): Fix the logic of
2848 displaying progress.
2849 * epa-file.el (epa-file-insert-file-contents): Make progress
2850 display more user-friendly.
2851 (epa-file-write-region): Ditto.
2852
3e26a4a2
CY
28532011-08-10 Chong Yidong <cyd@stupidchicken.com>
2854
2855 * subr.el (string-mark-left-to-right): New function.
2856
2857 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2858 Use string-mark-left-to-right.
2859 (list-buffers-noselect): Caller changed.
2860
a3dae87a
SM
2861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2862 Use string-mark-left-to-right.
3e26a4a2
CY
2863 (tabulated-list-print): Recenter after moving point.
2864
ac8cf6e6
JL
28652011-08-10 Juri Linkov <juri@jurta.org>
2866
2867 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2868 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2869 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2870
8d96c9a4
CY
28712011-08-09 Chong Yidong <cyd@stupidchicken.com>
2872
2873 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2874 (Bug#7554).
2875
7be1c708 28762011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2877
2878 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2879 character. (Bug#6594)
2880
37e11a63
CY
28812011-08-08 Chong Yidong <cyd@stupidchicken.com>
2882
839dde57
CY
2883 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2884 (image-dired--with-db-file): New macro.
2885 (image-dired-write-tags, image-dired-remove-tag)
2886 (image-dired-create-gallery-lists, image-dired-write-comments)
2887 (image-dired-get-comment, image-dired-mark-tagged-files)
2888 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2889 (image-dired-gallery-generate): Use insert-file-contents.
2890
37e11a63
CY
2891 * time.el (display-time-world-list, display-time-world-display):
2892 * time-stamp.el (time-stamp-string):
2893 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2894 set-time-zone-rule (Bug#7337).
2895
0b4946c4
DU
28962011-08-08 Daiki Ueno <ueno@unixuser.org>
2897
2898 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2899 (epg-error-to-string, epg-errors-to-string): New function.
2900 (epg-wait-for-completion): Reverse errors list.
2901 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2902 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2903 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2904 (epg-sign-keys, epg-generate-key-from-file)
2905 (epg-generate-key-from-string): Format errors by using
2906 epg-errors-to-string (bug#9255).
2907 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2908
75bfc667
JL
29092011-08-07 Juri Linkov <juri@jurta.org>
2910
2911 * faces.el (list-faces-display): Remove extra angle bracket
2912 from `help-mode-map'.
2913
2914 * info.el (Info-history-toc-nodes): Doc fix.
2915
2916 * longlines.el (longlines-mode): Doc fix.
2917
673e08bb
SM
29182011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2919
4640dd88
SM
2920 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2921 of statements and in a few more cases (bug#9183).
2922
673e08bb
SM
2923 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2924 New functions.
2925 (cl-transform-lambda): Use them (bug#9239).
2926
89b3f019
MR
29272011-08-05 Martin Rudalics <rudalics@gmx.at>
2928
2929 * window.el (display-buffer-same-window)
2930 (display-buffer-same-frame, display-buffer-other-window)
2931 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2932 (pop-to-buffer-other-window)
2933 (pop-to-buffer-same-frame-other-window)
2934 (pop-to-buffer-other-frame): Make them defuns.
2935 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2936
640c8776
SM
29372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * subr.el (make-composed-keymap): Move from C. Change calling
2940 convention, and improve docstring to bring attention to a subtle point.
2941 * minibuffer.el (completing-read-default): Adjust accordingly.
2942
63648a95
MA
29432011-08-03 Michael Albinus <michael.albinus@gmx.de>
2944
2945 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2946 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2947
2948 * net/trampver.el: Update release number.
2949
b796c9b7
SM
29502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2953 "in" (bug#9190).
2954
2239d7d5
LMI
29552011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2956
e07dd7c3
LMI
2957 * mail/sendmail.el (sendmail-query-once): Restore the current
2958 buffer after querying (bug#9074).
2959
0e6a2bd7
LMI
2960 * dired.el (dired-flagged): Use different faces for marked and
2961 flagged files (bug#6117).
2962
ce887515
LMI
2963 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2964 (bug#4433).
2965
92f2affc
LMI
2966 * ido.el (ido-mode): Switch off the message if called
2967 non-interactively.
2968
57d5aff0
LMI
2969 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2970 before 587, since it appears that that's more likely to work for
2971 more people.
2972
98cd6c18
LMI
2973 * cus-edit.el (custom-file): When running under emacs -q, always
2974 refuse to save the customisations, even if the .emacs file doesn't
2975 exist.
2976
b96dec83
LMI
2977 * info.el: Remove the `Info-beginning-of-buffer' function
2978 (bug#8325).
2979
b796c9b7
SM
2980 * net/network-stream.el (network-stream-open-starttls):
2981 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2982
d90e2ea0
MR
29832011-08-01 Martin Rudalics <rudalics@gmx.at>
2984
2985 * window.el (display-buffer-in-window): Don't set dedicated status
2986 of window here (Bug#9215).
2987 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2988 (display-buffer-pop-up-side-window)
b796c9b7 2989 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2990
cca09170
SM
29912011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2994 before binding generated-autoload-file.
2995
027b979c
DD
29962011-08-01 Deniz Dogan <deniz@dogan.se>
2997
2998 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2999
3c7ee4f3
MA
30002011-07-30 Michael Albinus <michael.albinus@gmx.de>
3001
3002 Sync with Tramp 2.2.2.
3003
3004 * net/trampver.el: Update release number.
3005
2cc8e51a
JL
30062011-07-30 Juri Linkov <juri@jurta.org>
3007
3008 * dired-aux.el (dired-touch-initial): Remove function.
3009 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3010 current time, and `default' to the last modification time of the
3011 current marked file (bug#6887).
3012
a514d856
JM
30132011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3014
3015 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3016 numeric argument to read-number (bug#9163).
a514d856 3017
8a7eddd7
MA
30182011-07-27 Michael Albinus <michael.albinus@gmx.de>
3019
3020 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3021 connection process, it could be nil.
3022
1ddd96f5
LL
30232011-07-27 Leo Liu <sdl.web@gmail.com>
3024
3025 Simplify url handling in rcirc-mode.
3026
3027 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3028 (rcirc-browse-url-at-mouse): Remove.
3029 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3030
b248a85d
AM
30312011-07-26 Alan Mackenzie <acm@muc.de>
3032
3033 Fontify bitfield declarations properly.
3034
3035 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3036 (c-symbol-chars): Now exported as a lang variable.
3037 (c-not-primitive-type-keywords): New lang variable.
3038
3039 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3040 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3041 parsed as a bitfield declaration.
b248a85d 3042
b796c9b7
SM
3043 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3044 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3045 (c-punctuation-in): New function.
3046 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3047 declarations properly.
3048
68575ab0
UJ
30492011-07-26 Ulf Jasper <ulf.jasper@web.de>
3050
3051 * calendar/icalendar.el (icalendar--all-events): Take care of
3052 multiple vcalendars in a single file.
b796c9b7 3053 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3054
0f0a88b9
DD
30552011-07-25 Deniz Dogan <deniz@dogan.se>
3056
3057 * image.el (insert-image): Clarifying docstring.
3058
0b3f36df
MA
30592011-07-24 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3062 `tramp-send-command-and-check' if there is no error.
3063 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3064
a9901f61
AM
30652011-07-22 Alan Mackenzie <acm@muc.de>
3066
3067 Prevent cc-langs.elc being loaded at run time.
3068
3069 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3070 cc-langs.
3071
4d61f28d 3072 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3073 "(require 'cc-langs)". Quote a form so it will evaluate at
3074 (cc-mode's) compilation time.
3075
11d074b2
MA
30762011-07-22 Michael Albinus <michael.albinus@gmx.de>
3077
3078 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3079 loading. (Bug#9114)
3080
938b94c8
MR
30812011-07-21 Martin Rudalics <rudalics@gmx.at>
3082
3083 * window.el (display-buffer-pop-up-window)
3084 (display-buffer-pop-up-side-window)
3085 (display-buffer-in-side-window): Call display-buffer-set-height
3086 and display-buffer-set-width after setting the new window's
b796c9b7 3087 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3088
bfa4f190
SS
30892011-07-20 Sam Steingold <sds@gnu.org>
3090
3091 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3092 (etags-tags-included-tables): Call `convert-standard-filename' on
3093 the file names contained in TAGS so that windows Emacs can handle
3094 TAGS files created by cygwin ctags.
3095
8ca42262
LMI
30962011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3097
3098 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3099 which apparently didn't work.
3100
5db2afd2 31012011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3102
5db2afd2
RW
3103 * proced.el (proced-send-signal): For *Marked Processes* buffer
3104 put point at beginning of buffer.
3105
92e15d10
SB
31062011-07-19 Stephen Berman <stephen.berman@gmx.net>
3107
3108 * proced.el (proced-format): Make header lines align with the text
3109 (bug#1779).
3110
1bfd59e5
LMI
31112011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3112
3113 * view.el (view-buffer): Allow running in `special' modes if we're
3114 visiting a file (bug#8615).
3115
f5aae37c
MR
31162011-07-19 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3119 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3120 New functions.
f5aae37c
MR
3121 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3122 more accurately.
3123
bf2c1571
AM
31242011-07-18 Alan Mackenzie <acm@muc.de>
3125
3126 Fontify declarators properly when, e.g., a jit-lock chunk begins
3127 inside a declaration.
3128
3129 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3130
b796c9b7
SM
3131 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3132 New function.
bf2c1571
AM
3133 (c-complex-decl-matchers): Insert reference to
3134 c-font-lock-enclosing-decls.
3135
3136 * progmodes/cc-engine.el (c-backward-single-comment):
3137 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3138 to nil around calls to (forward-comment -1).
3139
4e190b80
LMI
31402011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3141
12dc863d
LMI
3142 * image.el (put-image): Doc typo fix.
3143
a762e966
LMI
3144 * progmodes/etags.el (tags-search): Doc typo fix.
3145
4e190b80
LMI
3146 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3147 password if we get errors 550 to 554.
3148
f019fb21
LMI
31492011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
b796c9b7 3151 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3152
81746738
LMI
3153 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3154 indentation character (bug#6380).
3155
3ee3a1b5
LMI
3156 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3157
c82f64de
LMI
3158 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3159 to clarify what the problem is (bug#4291).
3160
f019fb21
LMI
3161 * simple.el (current-kill): Clarify what
3162 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3163 (auto-fill-mode): Document `auto-fill-function' in relation to
3164 `auto-fill-mode' (bug#2470).
f019fb21 3165
0794775d
LM
31662011-07-16 Lawrence Mitchell <wence@gmx.li>
3167
3168 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3169 method if slot is read-only (bug#9035).
3170
be39b8cc
MR
31712011-07-16 Martin Rudalics <rudalics@gmx.at>
3172
b796c9b7 3173 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3174 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3175 selected before, see discussion of (Bug#8615), (Bug#6954).
3176 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3177
6ccf7859
GM
31782011-07-15 Glenn Morris <rgm@gnu.org>
3179
3180 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3181 Respect help-form.
6ccf7859 3182
87e86684
LM
31832011-07-09 Lawrence Mitchell <wence@gmx.li>
3184
3185 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3186 (gnutls-negotiate): Use it.
3187
d6066239
LMI
31882011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3189
b796c9b7
SM
3190 * net/gnutls.el (gnutls-negotiate):
3191 Upcase `gnutls-algorithm-priority'.
d6066239 3192
bd23ebc0
GM
31932011-07-15 Glenn Morris <rgm@gnu.org>
3194
c65bca65
GM
3195 * jka-compr.el (jka-compr-verbose): Move from here...
3196 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3197 Add missing :version tag.
3198 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3199
478615cc
LMI
32002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3201
7b41decb
LMI
3202 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3203 (gnutls-negotiate): Use it.
3204
dbc44fcd
LMI
3205 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3206
06789f97
LMI
3207 * info.el (Info-beginning-of-buffer): New command.
3208 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3209 announcing `b' as the key (bug#8325).
ab896c37 3210 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3211
c39da690
LMI
3212 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3213
3aa5f34b
LMI
3214 * international/mule-cmds.el
3215 (describe-specified-language-support): Make the error message
3216 clearer (bug#8905).
3217
4bf0979f
LMI
3218 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3219
478615cc
LMI
3220 * isearch.el (isearch-barrier): Add a doc string, since it's
3221 mentioned in a function doc string (bug#8678).
3222
75c68aa1
MR
32232011-07-15 Martin Rudalics <rudalics@gmx.at>
3224
3225 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3226 buffer argument (Bug#9083) and self-identifying label argument.
3227
a7c33da2
GM
32282011-07-15 Glenn Morris <rgm@gnu.org>
3229
3230 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3231
2f5c6024
LMI
32322011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3233
3234 * man.el (Man-fontify-manpage): Fix message when formatting the
3235 man page (bug#7929).
3236
0bb23927 32372011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3238
3239 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3240 argument LRM; if non-nil, append an invisible LRM character to the
3241 buffer name.
3242 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3243 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3244 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3245 paragraph direction.
cce4b0a7 3246
621ef9ab
LMI
32472011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3248
d1583c48
LMI
3249 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3250 the man page name (bug#7929).
3251
6a57fb5f
LMI
3252 * image.el (put-image): Mention the `put-image' overlay property
3253 (bug#7834).
3254
d7956b14
LMI
3255 * scroll-bar.el (set-scroll-bar-mode): Mention that
3256 `scroll-bar-mode' lists the values (bug#7772).
3257
5b2d4a66
LMI
3258 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3259 command (bug#7729).
3260
7509a874
LMI
3261 * rect.el (apply-on-rectangle): Return the point after the last
3262 operation.
3263 (string-rectangle): Go to the point after the last operation
3264 (bug#7522).
3265
4fe74b19
LMI
3266 * printing.el (pr-toggle-region): Clarify the documentation
3267 slightly (bug#7493).
3268
b796c9b7
SM
3269 * time.el (display-time-update):
3270 Allow `display-time-mail-function' to return nil (bug#7158).
3271 Fix suggested by Detlev Zundel.
ab283561 3272
fc233c9d
LMI
3273 * vc/diff.el (diff): Clarify the order the file names are read
3274 (bug#7111).
3275
43f5740b
LMI
3276 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3277 the doc string (bug#7015).
3278
f2182a76
LMI
3279 * font-lock.el (font-lock-maximum-decoration): Mention what
3280 numeric levels mean (bug#6935).
3281
621ef9ab
LMI
3282 * startup.el (initial-buffer-choice): Don't mention the `none'
3283 selection, which is against policy.
3284
adc47434
MR
32852011-07-14 Martin Rudalics <rudalics@gmx.at>
3286
b796c9b7
SM
3287 * window.el (display-buffer-normalize-special):
3288 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3289
7e5bfb8f
EZ
32902011-07-14 Eli Zaretskii <eliz@gnu.org>
3291
3292 * subr.el (version<, version<=, version=): Mention "-CVS" and
3293 "-12345" alpha version numbers.
3294
27fa387a
CY
32952011-07-14 Chong Yidong <cyd@stupidchicken.com>
3296
3297 * bindings.el: Add advertised binding for set-mark-command
3298 (Bug#5772).
3299
8bdfa064
CY
33002011-07-14 Chong Yidong <cyd@stupidchicken.com>
3301
3302 * bindings.el (mode-line-other-buffer):
3303 * bookmark.el (bookmark-bmenu-2-window):
3304 * bs.el (bs-cycle-next, bs-cycle-previous):
3305 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3306 switch-to-buffer.
3307
3308 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3309 Delete.
8bdfa064 3310
5eba16a3
JB
33112011-07-14 Juanma Barranquero <lekktu@gmail.com>
3312
3313 * follow.el (follow-debug-message, follow-redisplay):
3314 * jka-cmpr-hook.el (with-auto-compression-mode):
3315 Fix typos in docstrings.
3316
15853710
LMI
33172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3318
a28e4607
LMI
3319 * subr.el (with-silent-modifications): Clarify somewhat what the
3320 macro inhibits (bug#6525).
3321
15853710
LMI
3322 * simple.el (eval-expression): Note what it does if called
3323 interactively (bug#6495).
3324
bee0fcef
CY
33252011-07-13 Chong Yidong <cyd@stupidchicken.com>
3326
b796c9b7
SM
3327 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3328 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3329
3330 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3331 Remove switch-to-buffer.
3332
58274504
LMI
33332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3334
bd2fcc8d
LMI
3335 * files.el (make-directory): Clarify that an error will be raised
3336 if there's an error (bug#6397).
3337
0f04b32c
LMI
3338 * startup.el (initial-buffer-choice): Add `none' as a choice
3339 (bug#6234).
3340
465c5fc8
LMI
3341 * subr.el (add-hook): Clarify section about buffer-local hooks
3342 (bug#6218).
3343
58274504
LMI
3344 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3345
bead9a43
JB
33462011-07-13 Juanma Barranquero <lekktu@gmail.com>
3347
3348 * tabify.el (untabify): Preserve the current column so that point
3349 doesn't move (bug#6032).
3350
3af98a7b
LMI
33512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3352
b796c9b7
SM
3353 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3354 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3355
6240145a
GM
33562011-07-13 Glenn Morris <rgm@gnu.org>
3357
3358 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3359 (dired-insert-directory): Give a message the first time
3360 if ls is found not to support --dired.
3361
1d8c2ccc
LMI
33622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3363
3364 * simple.el (toggle-truncate-lines): Clarify what is toggled
3365 (bug#5580). Text by Drew Adams.
3366
5fc4038e
CY
33672011-07-13 Chong Yidong <cyd@stupidchicken.com>
3368
3369 * simple.el (blink-matching-open): Make the error message from the
3370 last change less verbose.
3371
bf6012e5
DN
33722011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3373
3374 * font-lock.el (font-lock-comment-face): Use the high contrast
3375 "yellow" color for font-lock-comment-face on low color terminals
3376 using a dark background color (bug#4221).
3377
343c3b5a
LMI
33782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3379
7e9505c5
LMI
3380 * dired.el (dired-insert-set-properties): Make the doc string
3381 reflect what it does now (bug#5325).
3382
c26fdcf5
LMI
3383 * simple.el (blink-matching-open): Say that we were unable to find
3384 the match within the limit, if we're limited (bug#5122).
3385
bb388cc5
LMI
3386 * international/mule-cmds.el (prefer-coding-system): Add an
3387 example (bug#4869).
3388
343c3b5a
LMI
3389 * progmodes/etags.el (tags-search): Document `file-list-form'
3390 (bug#4731).
3391
2a517d45
LM
33922011-07-13 Lawrence Mitchell <wence@gmx.li>
3393
3394 * net/browse-url.el (browse-url-default-browser)
3395 (browse-url-browser-function): Make the default browser choice a
3396 bit more logical (bug#4300). Also clean up the doc string.
3397
b6c78ef2
JB
33982011-07-13 Juanma Barranquero <lekktu@gmail.com>
3399
3400 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3401 binary endings (bug#4440).
3402
1c4dd947
LMI
34032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3404
a2014063
LMI
3405 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3406 which can be pretty annoying (bug#8971).
3407
9c9c2d88
LMI
3408 * jka-compr.el (jka-compr-verbose): New variable, and use
3409 throughout (bug#8971).
3410
1c4dd947
LMI
3411 * info.el (Info-find-file): Fall back on the installation
3412 directory if we can't find the info node anywhere else.
3413
a1c9f41b
SO
34142011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3415
3416 * vc/vc.el (vc-revert-file):
3417 Don't set file time-stamp in the past. (Bug#5181)
3418
536f3d36
LMI
34192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3420
7152b011
LMI
3421 * files.el (after-find-file): Give a better error message when
3422 trying to find a symlink that points to a file that doesn't exist
3423 (bug#4398).
3424
536f3d36
LMI
3425 * progmodes/cc-vars.el: Remove (probably) misleading comment
3426 (bug#4396).
3427
460c0fba
JB
34282011-07-12 Johan Bockgård <bojohan@gnu.org>
3429
3430 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3431
7a6bda45
CY
34322011-07-12 Chong Yidong <cyd@stupidchicken.com>
3433
3434 * mouse-sel.el: Hack restoring functionality, while keeping
3435 compatibility with 2010-07-03 changes to mouse selection.
3436 (mouse-sel-primary-overlay): New var.
3437 (mouse-sel-selection-alist): Use it.
3438 (mouse-sel-mode): Doc fix; remove points that are default features
3439 of mouse.el.
3440
c79598ef
JB
34412011-07-12 Johan Bockgård <bojohan@gnu.org>
3442
3443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3444 Fix previous fix (bug#2490).
3445
ff8be6ef
RW
34462011-07-12 Roland Winkler <winkler@gnu.org>
3447
b796c9b7
SM
3448 * textmodes/bibtex.el (bibtex-initialize):
3449 Use pop-to-buffer-same-window.
ff8be6ef
RW
3450 (bibtex-search-entries): Fix interactive call.
3451
296ba3ee
LMI
34522011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3453
f5242a02 3454 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3455 Fontise bytecomp Error lines more correctly (bug#2490).
3456 Fix suggested by Johan Bockgård.
f5242a02 3457
296ba3ee
LMI
3458 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3459
3460 * dired-x.el (dired-guess-default): Use `delete-dups'.
3461
f69fd0d2
CY
34622011-07-12 Chong Yidong <cyd@stupidchicken.com>
3463
3464 * dired.el (dired-mark-prompt):
3465 * dired-aux.el (dired-read-shell-command): Doc fix.
3466
eab5dc07
LMI
34672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3468
b796c9b7
SM
3469 * mail/sendmail.el (sendmail-query-once):
3470 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3471 emacs -Q.
3472
3473 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3474
eab5dc07
LMI
3475 * cus-edit.el (custom-file): Take an optional no-error variable.
3476 (customize-save-variable): Set the variable, and give a warning if
3477 running under "emacs -q".
3478
a1e65d42
JB
34792011-07-11 Juanma Barranquero <lekktu@gmail.com>
3480
3481 * loadhist.el (unload-feature-special-hooks):
3482 Add `auto-coding-functions', `fill-nobreak-predicate' and
3483 `find-directory-functions' (bug#5327).
3484
1d52da10
LMI
34852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3486
be958f1d
LMI
3487 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3488
5bedb26c
LMI
3489 * cus-edit.el (custom-guess-name-alist): -alist variables should
3490 use the `alist' type (bug#3120). Suggested by Drew Adams.
3491
1d52da10
LMI
3492 * printing.el: Add documentation to all the `pr-toggle-' commands.
3493
481a51b6
LL
34942011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3495
3496 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3497 backends where it makes sense (bug#2623).
3498
dcc88d8a
LMI
34992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3500
c3de9feb
LMI
3501 * dired-x.el (dired-guess-default): Remove duplicate shell command
3502 entries (bug#2028).
8a93078b 3503 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3504 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3505
dcc88d8a
LMI
3506 * subr.el (remove-duplicates): New conveniency function.
3507
505e3645
LMI
35082011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3509
3510 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3511 (bug#1526).
3512
35132011-07-10 Martin Rudalics <rudalics@gmx.at>
3514
3515 * window.el (display-buffer-normalize-default): Don't invert
3516 meaning of even-window-heights. Reported by Eli Zaretskii
3517 <eliz@gnu.org>.
3518
455e4fa1
BR
35192011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3520
3521 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3522
8e0bc3e9
CY
35232011-07-10 Chong Yidong <cyd@stupidchicken.com>
3524
3525 * window.el (display-buffer): Fix arguments to
3526 display-buffer-reuse-window in last change.
3527
fa7c3228
CY
3528 * faces.el (link): Use a less saturated blue on light backgrounds.
3529
3530 * startup.el (fancy-startup-text, fancy-about-text)
3531 (fancy-startup-tail): Use font-lock faces, for background safety.
3532
c0a7f300
BN
35332011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3534
b796c9b7
SM
3535 * emulation/viper-cmd.el (viper-change-state-to-vi):
3536 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3537
4dc2a129
MR
35382011-07-09 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (display-buffer-default-specifiers): Remove.
3541 (display-buffer-macro-specifiers): Remove default specifiers.
3542 (display-buffer-alist): Default to nil.
b796c9b7 3543 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3544 (display-buffer-pop-up-window): Allow splitting internal
3545 windows. Check whether a live window was created.
3546 (display-buffer-other-window-means-other-frame)
3547 (display-buffer-normalize-arguments): Rename to
3548 display-buffer-normalize-argument and rewrite. Set the
3549 other-window specifier.
3550 (display-buffer-normalize-special): New function.
3551 (display-buffer-normalize-options): Rename to
3552 display-buffer-normalize-default and rewrite.
3553 (display-buffer-normalize-options-inhibit): Remove.
3554 (display-buffer-normalize-specifiers): Rewrite.
3555 (display-buffer): Process other-window specifier and call
3556 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3557 more faithfully.
b796c9b7 3558 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3559 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3560 (display-buffer-in-window, display-buffer-alist-set):
3561 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3562 <tassilo@member.fsf.org>.
3563
2d43b8c9
LL
35642011-07-09 Leo Liu <sdl.web@gmail.com>
3565
3566 * register.el (insert-register): Restore accidental change on
3567 2011-06-26. (Bug#9028)
3568
7f9b7c53
GM
35692011-07-09 Glenn Morris <rgm@gnu.org>
3570
3571 * subr.el (remq): Handle the empty list. (Bug#9024)
3572
f042cfd8
AS
35732011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3574
3575 * mail/sendmail.el (send-mail-function): No longer delay custom
3576 initialization.
3577 * custom.el (custom-initialize-delay): Doc fix.
3578
856b2f11
SM
35792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3582
afae1d68
MA
35832011-07-08 Michael Albinus <michael.albinus@gmx.de>
3584
3585 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3586 human-friendly prompt.
3587
0757af94
SM
35882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3591 provided by a particular plugin.
3592
d760b731
LMI
35932011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3594
3595 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3596 save customizations (with "emacs -Q"), just set the variable
3597 instead of erroring out.
3598
3599 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3600
cd79ce90
JL
36012011-07-08 Juri Linkov <juri@jurta.org>
3602
3603 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3604 (archive-zip-update-case): Use 7z if found by `executable-find'.
3605 The order of searching the available programs is the same as in
3606 `archive-zip-extract' (bug#8968).
3607
14cc04aa
CY
36082011-07-07 Chong Yidong <cyd@stupidchicken.com>
3609
3610 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3611 (menu-bar-options-menu): Tweak descriptions.
3612
0a1848ec
LMI
36132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3614
3615 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3616 menu items into verb phrases (bug#1421). Also refill to fit under
3617 80 columns.
3618
f5bd0689
CY
36192011-07-07 Chong Yidong <cyd@stupidchicken.com>
3620
538e85c6
CY
3621 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3622 (Info-read-node-name): Doc fix (Bug#1084).
3623
f5bd0689
CY
3624 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3625 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3626 (end-of-sexp, beginning-of-sexp)
3627 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3628 (forward-symbol, forward-same-syntax, word-at-point)
3629 (sentence-at-point): Doc fix (Bug#1144).
3630
56ec5115
LMI
36312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3632
f3f8e37f
LMI
3633 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3634 should cover it (bug#1281).
3635
0757af94 3636 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3637
12b9eb35
LMI
3638 * net/network-stream.el (network-stream-open-starttls): If gnutls
3639 negotiation fails, then possibly try again with a non-encrypted
3640 connection (bug#9017).
3641
56ec5115
LMI
3642 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3643 be used.
3644
c2f9aec8
RS
36452011-07-07 Richard Stallman <rms@gnu.org>
3646
3647 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3648 property, and handle its changed format.
3649 Look for the correct line number.
3650 Use file's line contents (but not past first =) to find
3651 correct line in message.
3652
ef7b981d 36532011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3654
3655 * international/characters.el (build-unicode-category-table):
3656 Delete it.
0757af94 3657 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3658
0757af94 3659 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3660 to src/chartab.c.
3661 (get-char-code-property): Call unicode-property-table-internal to
3662 load a file. Call get-unicode-property-internal where necessary.
3663 (put-char-code-property): Call unicode-property-table-internal to
3664 load a file. Call put-unicode-property-internal where necessary.
3665 put-unicode-property-internal where necessary.
0757af94
SM
3666 (char-code-property-description):
3667 Call unicode-property-table-internal to load a file.
c805dec0
KH
3668
3669 * international/charprop.el:
3670 * international/uni-bidi.el:
3671 * international/uni-category.el:
3672 * international/uni-combining.el:
3673 * international/uni-comment.el:
3674 * international/uni-decimal.el:
3675 * international/uni-decomposition.el:
3676 * international/uni-digit.el:
3677 * international/uni-lowercase.el:
3678 * international/uni-mirrored.el:
3679 * international/uni-name.el:
3680 * international/uni-numeric.el:
3681 * international/uni-old-name.el:
3682 * international/uni-titlecase.el:
3683 * international/uni-uppercase.el: Regenerate.
3684
3685 * loadup.el: Load international/charprop.el before
3686 international/characters.
3687
e14b388a
CY
36882011-07-07 Chong Yidong <cyd@stupidchicken.com>
3689
3690 * window.el (next-buffer, previous-buffer): Signal an error if
3691 called from a minibuffer window.
3692
3693 * bindings.el: Revert 2011-07-04 change.
3694
354cf0ba
RS
36952011-07-06 Richard Stallman <rms@gnu.org>
3696
3697 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3698 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3699 Treat markers like ints.
3700 (rmail-mime-entity): Doc fix.
3701
a48868a7
LMI
37022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3703
4906cd3d
LMI
3704 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3705 defcustom again for backwards compatibility.
3706
e0457abe
LMI
3707 * simple.el (shell-command-on-region): Fill.
3708
d67f7e1f
LMI
3709 * dired-aux.el (dired-kill-line): Add a doc string.
3710
fe204702
LMI
3711 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3712 to "\\sw\\|\\s_" (bug#358).
3713
a48868a7
LMI
3714 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3715 (dired-unmark-backward): Ditto.
3716 (dired-flag-backup-files): Ditto.
3717
3718 * dired-x.el (dired-mark-sexp): Ditto.
3719
aa8a705c
RS
37202011-07-06 Richard Stallman <rms@gnu.org>
3721
3722 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3723 (rmail-mime-entity): New arg TRUNCATED.
3724 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3725 New functions.
3726 (rmail-mime-save): Warn if entity is truncated.
3727 (rmail-mime-toggle-hidden): Likewise, for showing.
3728 (rmail-mime-process-multipart): Record when an entity is truncated.
3729
a9a936b9
RS
3730 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3731 if ENTITY is a string.
3732
1f2b92cb
LMI
37332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3734
f4f73198 3735 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3736 of faces when `M-C-x'-ing their definitions (bug#8378).
3737 Also clean up the code slightly.
f4f73198 3738
12b16734 3739 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3740 because that makes the colors go away.
12b16734 3741
f0691d22
LMI
3742 * mail/sendmail.el (send-mail-function): Change the default to
3743 `sendmail-query-once'.
9e87df06 3744 (sendmail-query-once): Add an autoload cookie.
f0691d22 3745
1f2b92cb
LMI
3746 * net/network-stream.el (network-stream-open-starttls): Try using
3747 a plain connection even if the server offered STARTTLS, and we
3748 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3749 capability. This should make smtpmail.el work in slightly more
3750 configurations.
3751
1cdd2a1b
MA
37522011-07-06 Michael Albinus <michael.albinus@gmx.de>
3753
3754 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3755 New defun.
3756 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3757
fbcc67e2
MM
37582011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3759
3760 * progmodes/sql.el: Version 3.0
0757af94 3761 (sql-product-alist): Add product :completion-object,
fbcc67e2 3762 :completion-column, and :statement attributes.
0757af94 3763 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3764 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3765 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3766 ansi keywords.
3767 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3768 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3769 (sql-oracle-show-reserved-words): New function for development.
3770 (sql-product-font-lock): Simplify for source code buffers.
3771 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3772 New functions.
3773 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3774 (sql-mode-map): Add statement movement functions.
3775 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3776 New variable.
fbcc67e2
MM
3777 (sql-statement-regexp, sql-beginning-of-statement)
3778 (sql-end-of-statement, sql-signum): New functions.
0757af94 3779 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3780 (sql-show-sqli-buffer): Bug fix.
3781 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3782 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3783 with sql-interactive-mode.
3784 (sql-save-connection): Save buffer local settings.
0757af94 3785 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3786 (sql-product-interactive): Bug fix.
3787 (sql-preoutput-hold): New variable.
3788 (sql-interactive-remove-continuation-prompt): Bug fixes.
3789 (sql-debug-redirect): New variable.
3790 (sql-str-literal): New function.
3791 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3792 Redesign.
fbcc67e2
MM
3793 (sql-oracle-save-settings, sql-oracle-restore-settings)
3794 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3795 (sql-completion-object, sql-completion-column)
3796 (sql-completion-sqlbuf): New variables.
3797 (sql-build-completions-1, sql-build-completions)
3798 (sql-try-completion): New functions.
3799 (sql-read-table-name): Use them.
3800 (sql-contains-names): New buffer local variable.
3801 (sql-list-all, sql-list-table): Use it.
3802 (sql-oracle-completion-types): New variable.
3803 (sql-oracle-completion-object, sql-sqlite-completion-object)
3804 (sql-postgres-completion-object): New functions.
3805
d4eaeab1
GM
38062011-07-06 Glenn Morris <rgm@gnu.org>
3807
3808 * window.el (pop-to-buffer): Doc fix.
3809
322b7dab 38102011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3811
3812 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3813
322b7dab 38142011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3815
322b7dab 3816 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3817
322b7dab 3818 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3819
605dd5bf
CY
38202011-07-05 Chong Yidong <cyd@stupidchicken.com>
3821
3822 * button.el (button): Inherit from link face. Suggested by Dan
3823 Nicolaescu.
3824
7dbfa719
SM
38252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3db614b0
SM
3827 * progmodes/gdb-mi.el: Fit in 80 columns.
3828 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3829 switch-to-buffer.
3830
7dbfa719
SM
3831 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3832 if imenu is simply not configured (bug#8941).
3833
919d884a
KM
38342011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3835
3836 * allout.el (allout-post-undo-hook): New allout outline-change
3837 event hook to signal undo activity.
3838 (allout-post-command-business): Run allout-post-undo-hook if an
3839 undo just occurred.
7dbfa719
SM
3840 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3841 * allout-widgets.el (allout-widgets-after-undo-function):
3842 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3843 in the vicinity of an undo.
3844 (allout-widgets-mode): Include allout-widgets-after-undo-function
3845 on the new allout-post-undo-hook.
3846
450a0f09
SM
38472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3850 Let define-derived-mode define it.
3851 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3852 cycles of abbrev-table inheritance (bug#8998).
3853
2de69e00
RW
38542011-07-05 Roland Winkler <winkler@gnu.org>
3855
3856 * textmodes/bibtex.el: Add support for biblatex.
3857 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3858 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3859 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3860 (bibtex-entry-alist, bibtex-field-alist): New variables.
3861 (bibtex-entry-field-alist): Obsolete alias for
3862 bibtex-BibTeX-entry-alist.
3863 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3864 (bibtex-set-dialect): New command.
3865 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3866 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3867 Bind via bibtex-set-dialect.
2de69e00
RW
3868 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3869 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3870 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3871 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3872 Define via bibtex-set-dialect.
450a0f09
SM
3873 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3874 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3875 (bibtex-vec-push, bibtex-vec-incr): New functions.
3876 (bibtex-format-entry, bibtex-field-list)
3877 (bibtex-print-help-message, bibtex-validate)
3878 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3879
2dcdbdd9
SM
38802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * progmodes/compile.el (compilation-goto-locus):
3883 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3884 * bs.el (bs-cycle-next, bs-cycle-previous):
3885 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3886 * bindings.el (mode-line-other-buffer):
3887 * autoinsert.el (auto-insert):
3888 * arc-mode.el (archive-extract):
3889 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3890
b27640fe
JB
38912011-07-05 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3894 Fix check of `emacs-lock-unlockable-modes'.
3895 Coerce true values of `emacs-lock--try-unlocking' to t.
3896
53bbe3ad
JB
38972011-07-05 Juanma Barranquero <lekktu@gmail.com>
3898
3899 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3900 * emacs-lock.el: New file.
3901
1d3cdbc7
JD
39022011-07-05 Julien Danjou <julien@danjou.info>
3903
3904 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3905 than `boundp' to check if face is set.
3906
9173deec
JB
39072011-07-05 Juanma Barranquero <lekktu@gmail.com>
3908
3909 * register.el (registerv-make):
3910 * window.el (window-min-height): Fix typos in docstrings.
3911
869795d6
JD
39122011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3913
9173deec 3914 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3915 Update doc string.
3916
b768cdcd
JB
39172011-07-04 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * server.el (server-execute): Catch quit and call
3920 `server-return-error' to pass the error back to emacsclient and
3921 close the connection (bug#8942).
3922
13aa217b
KM
39232011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3924
3925 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3926 insecure exception for current topic. Also note that auto-saves
3927 are handled differently.
3928
3929 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3930 State variables for tracking auto-save inhibition situation.
3931
3932 (allout-write-contents-hook-handler): Rename from
3933 'allout-write-file-hook-handler', and describe how it depends on
3934 write-contents-functions sensitivity to non-nil value to prevent
3935 file write.
3936
3937 (allout-auto-save-hook-handler): Remove. auto-save does not check
3938 this in individual buffers, only in the starting buffer, so this
3939 is not the right way for us to inhibit auto-save in a buffer
3940 according to its condition.
3941
3942 (allout-mode): Use new allout-write-contents-hook-handler, and
3943 only with write-contents-functions. Remove auto-save provisions -
3944 they're implemented elsewhere.
3945
3946 (allout-before-change-handler): If undo is in progress, note that
3947 for attention of allout-post-command-business.
3948
3949 (allout-post-command-business): If the command we're following was
3950 an undo, check for change in the status of encrypted items and
3951 adjust auto-save inhibitions accordingly.
3952
3953 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3954 according to whether there are or aren't any plain-text topics
3955 pending encryption.
3956
2dcdbdd9
SM
3957 (allout-inhibit-auto-save-info-for-decryption):
3958 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3959 there are plain-text topics pending encryption.
3960
3961 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3962 buffer-saved-size and some allout state to not inhibit auto-saves
3963 if there are no longer any plain-text topics pending encryption.
3964
0757af94
SM
3965 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3966 No longer provide for exemption of the current topic.
13aa217b 3967
ac89b32c
JL
39682011-07-04 Juri Linkov <juri@jurta.org>
3969
3970 Add 7z operations to delete and save changed members (bug#8968).
3971 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3972 New defcustoms.
3973 (archive-7z-write-file-member): New function.
3974 (archive-7z-summarize): Fix the number of dashes in the
3975 listing output.
3976
8fa39615
SM
39772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3980 (bug#8958).
3981
2f11b3f1
CY
39822011-07-04 Chong Yidong <cyd@stupidchicken.com>
3983
d66fef2b
CY
3984 * bindings.el: Ignore next-buffer and previous-buffer in
3985 minibuffer-local-map.
3986
2f11b3f1
CY
3987 * font-lock.el (font-lock-builtin-face): Change light background
3988 color to dark slate blue (Bug#6693).
3989
f932a347
WD
39902011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3991
3992 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3993
c8af70e1
SM
39942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3998 Add switch-to-buffer.
3999
f158badc
LMI
40002011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001
4002 * isearch.el (isearch-search-fun-function): Clarify further the
4003 meaning of the function returned.
4004
6d95bd46
MA
40052011-07-04 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4008
4009 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4010 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4011 Use it.
4012 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4013 `tramp-default-remote-path' does not exist.
4014 (tramp-send-command-and-read): New optional argument NOERROR.
4015 (tramp-open-connection-setup-interactive-shell)
4016 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4017 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4018 (tramp-process-sentinel): Flush also process' connection property.
4019 (tramp-sh-handle-start-file-process): Do not set process
4020 sentinel. It is done now ...
4021 (tramp-maybe-open-connection): ... here. (Bug#8929)
4022
909e6b67
MK
40232011-07-04 MON KEY <monkey@sandpframing.com>
4024
4025 * play/animate.el (animate-string): Doc fixes and allow changing
4026 the buffer name (bug#5417).
4027
40282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4029
c8af70e1 4030 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4031
f34755dc
PE
40322011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4033
396cec72
PE
4034 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4035 This is simpler and helps future-proof the code.
4036 (timer-until): Use time-subtract and float-time.
08235028 4037 (timer--time-less-p): Use time-less-p.
f34755dc 4038
56e6cc31
JB
40392011-07-04 Juanma Barranquero <lekktu@gmail.com>
4040
3abb79e5
JB
4041 * type-break.el (timep): Use the value of `float-time' to avoid a
4042 byte-compiler warning.
4043
56e6cc31
JB
4044 * server.el (server-eval-and-print): Return any result, even nil.
4045
7b9430b4
PE
40462011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4047
4048 * type-break.el: Accept time formats that the builtins accept.
4049 (timep, type-break-time-difference): Accept any format that
4050 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4051 This is simpler and helps future-proof the code.
4052 (type-break-time-difference): Round rather than ignoring
4053 subseconds components.
4054
3034e9e7
LMI
40552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4056
4057 * info.el (Info-apropos-matches): Make non-interactive, since it
4058 doesn't seem to do anything useful as a command (bug#8829).
4059
1485f4c0
CY
40602011-07-03 Chong Yidong <cyd@stupidchicken.com>
4061
4062 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4063 Move from faces.el.
1485f4c0
CY
4064 (frame-default-terminal-background): New function.
4065
4066 * custom.el (custom-push-theme): Don't record faces in `changed'
4067 theme; this doesn't work correctly for per-frame face settings.
4068 (disable-theme): Use face-set-after-frame-default to reset faces.
4069 (custom--frame-color-default): New function.
4070
9fa3dd45
LMI
40712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4072
c8af70e1 4073 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4074 (bug#8769).
4075
6cbbc20c
KR
40762011-03-29 Kevin Ryde <user42@zip.com.au>
4077
4078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4079 `perl-Test2' extend to match possible "fail #N" rep count
4080 (bug#8377).
4081
c7f98048
LMI
40822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4083
65676592
LMI
4084 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4085 `smtpmail-via-smtp' now returns the error instead of nil.
4086
c7f98048
LMI
4087 * isearch.el (isearch-search-fun-function): Clarify the doc string
4088 (bug#8101).
4089
56e6cc31 40902011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4091
4092 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4093 unnecessary spaces (bug#8987).
4094
2b216704
LMI
40952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
4097 * net/network-stream.el (open-network-stream): Use the
4098 :end-of-capability command thoughout.
4099
41002011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4101
4102 * net/network-stream.el (open-network-stream): Add the
4103 :end-of-capability command parameter, used by pop3.el.
4104
36adf6ce
LMI
41052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4106
1ca0da0e
LMI
4107 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4108
fc00f69c
LMI
4109 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4110 for list)" (bug#6475).
4111
28fd8759 4112 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4113 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4114 an error (bug#6297).
4115
0dd8b6da
LMI
4116 * man.el (Man-reference-regexp): Allow matching possible
4117 word-wrapped references (bug#6289).
4118
ce1438d6
LMI
4119 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4120 for consistency with the other vc buffers (bug#6197).
4121 (vc-checkin): Ditto.
4122
4123 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4124
36adf6ce
LMI
4125 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4126
e83cc1f7
LMI
41272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4128
8a20ca4c
LMI
4129 * custom.el (defcustom): Clarify that :set is only used in the
4130 Customize user interface (bug#6089).
4131
83319045
LMI
4132 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4133 associated with a file, refuse to run instead of erroring out
4134 (bug#6084).
4135
a8392169
LMI
4136 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4137 the doc string, since it appears that using `fill-column' always
4138 controls the width (bug#7845).
4139
e83cc1f7
LMI
4140 * simple.el (shell-command-on-region): Say where the error output
4141 went if `shell-command-default-error-buffer' is set (bug#6857).
4142
e47ca23b
KM
41432011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4144
4145 * allout.el (allout-yank-processing): Adjust cursor position for
4146 backwards-deleted space.
4147
4148 (allout-rebullet-heading): Register changes with
4149 allout-exposure-changed-hook, so the modified topic is properly
4150 decorated.
4151
5cf56143
LMI
41522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4153
08549772
LMI
4154 * minibuffer.el (completion-in-region): Document PREDICATE
4155 (bug#7136).
4156
48e96771
LMI
4157 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4158 of keyword/argument pairs (bug#6904).
4159
c8af70e1
SM
4160 * replace.el (multi-occur):
4161 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4162
e17d05e2
LMI
41632011-07-02 Drew Adams <drew.adams@oracle.com>
4164
4165 * dired.el (dired-mark-if): Make the message about whether it's
4166 marking or unmarking clearer (bug#8523).
4167
063b0e45
LMI
41682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169
4170 * disp-table.el (display-table-print-array): New function.
4171 (describe-display-table): Use it to print the vectors more pretty
4172 (Bug#8859).
4173
28545e04
MR
41742011-07-02 Martin Rudalics <rudalics@gmx.at>
4175
4176 * window.el (window-state-get-1): Don't assign clone numbers.
4177 Add clone-of item to list of window parameters.
4178 (window-state-put-2): Don't process clone numbers.
4179 (display-buffer-alist): Fix doc-string.
4180
3349e122
SM
41812011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * subr.el (remq): Don't allocate if it's not needed.
4184 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4185 (keymap--merge-bindings): New functions.
4186 (keymap-canonicalize): Use them to refine the canonicalization.
4187 * minibuffer.el (minibuffer-local-completion-map)
4188 (minibuffer-local-must-match-map): Move initialization from C.
4189 (minibuffer-local-filename-completion-map): Move initialization from C;
4190 don't inherit from anything here.
4191 (minibuffer-local-filename-must-match-map): Make obsolete.
4192 (completing-read-default): Use make-composed-keymap to combine
4193 minibuffer-local-filename-completion-map with either
4194 minibuffer-local-must-match-map or
4195 minibuffer-local-filename-completion-map.
4196
d224ac83
GM
41972011-07-01 Glenn Morris <rgm@gnu.org>
4198
3de63bf8
GM
4199 * type-break.el (type-break-time-sum): Use dolist.
4200
d224ac83
GM
4201 * textmodes/flyspell.el (flyspell-word-search-backward):
4202 Replace CL function.
4203
1a1e3f32
SM
42042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4205
fe3f64d5
SM
4206 * mouse.el (mouse--strip-first-event): New function.
4207 (function-key-map): Use it to map fringe clicks to normal clicks
4208 by default.
4209
eb604e34
SM
4210 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4211 (vc-bzr-revision-completion-table): Add support for annotate and date.
4212
1a1e3f32
SM
4213 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4214 inherit from parent.
4215
5bd35902
LMI
42162011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4217
ace6c69c 4218 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4219 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4220
191e2bed
LMI
4221 * dired.el (dired-mode): Fix up the doc string as suggested by
4222 Drew Adams (bug#8817).
4223
5bd35902
LMI
4224 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4225 cookie, since the manual says that it should be possible to add
4226 this function to `find-file-hook' (bug#8709).
4227
eee8207a
TZ
42282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4229
4230 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4231 here. Noted Ted Zlatanov as the maintainer.
4232 (cfengine-common-settings, cfengine-common-syntax): New functions
4233 to set up common things between `cfengine-mode' and
4234 `cfengine3-mode'.
4235 (cfengine3-mode): New mode.
4236 (cfengine3-defuns cfengine3-defuns-regex
4237 (cfengine3-class-selector-regex cfengine3-category-regex)
4238 (cfengine3-vartypes cfengine3-font-lock-keywords)
4239 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4240 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4241
36b148cf
MA
42422011-07-01 Michael Albinus <michael.albinus@gmx.de>
4243
4244 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4245
4246 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4247
0bf4ba9a
MR
42482011-07-01 Martin Rudalics <rudalics@gmx.at>
4249
4250 * window.el (same-window-buffer-names, same-window-regexps)
4251 (same-window-p, special-display-frame-alist)
4252 (special-display-popup-frame, special-display-function)
4253 (special-display-buffer-names, special-display-regexps)
4254 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4255 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4256 (split-window-preferred-function, split-height-threshold)
4257 (split-width-threshold, even-window-heights)
4258 (display-buffer-mark-dedicated, window-splittable-p)
4259 (split-window-sensibly, window-safely-shrinkable-p):
4260 Un-obsolete.
4261 (display-buffer): Don't spread args with function specifier
4262 because special-display-popup-frame won't like it.
4263
35837f51
PE
42642011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4265
d0672f86
PE
4266 Time-stamp simplifications and fixes.
4267 These improve accuracy slightly, and future-proof the code
4268 against some potential changes to current-time format.
4269
b9444d97
PE
4270 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4271 by using time-since and float-time.
4272
0ef923dc
PE
4273 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4274 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4275 + NNN microseconds".
4276
2f81380d
PE
4277 * type-break.el (type-break-time-sum): Rewrite using time-add.
4278
845b5c3e
PE
4279 * play/hanoi.el (hanoi-current-time-float): Remove.
4280 All uses replaced by float-time.
4281
ee6f1be0
PE
4282 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4283 This yields a more-accurate answer.
4284 (rng-time-to-float): Remove; no longer needed.
4285
fe955043
PE
4286 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4287
5777162a
PE
4288 * calendar/timeclock.el (timeclock-seconds-to-time):
4289 Defalias to seconds-to-time, since they're the same thing.
4290
3103f8b6 4291 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4292 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4293 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4294
0e61a35f
SM
42952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * window.el (bury-buffer): Don't iconify the only frame.
4298 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4299 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4300
ddd63a1e
CY
43012011-07-01 Chong Yidong <cyd@stupidchicken.com>
4302
0e61a35f
SM
4303 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4304 Add mouse-yank-primary.
ddd63a1e 4305
055f4923
TZ
43062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4307
4308 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4309
6a2fb145
SM
43102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4313 (find-library-name): Use it to find relative load names when provided
4314 absolute file name (bug#8803).
4315
fd4983f2
LMI
43162011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4317
887d14ad
LMI
4318 * textmodes/flyspell.el (flyspell-word): Consider words that
4319 differ only in case as potential doublons (bug#5687).
4320
c53dc7fc
LMI
4321 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4322 Remove two rather uninteresting debugging-like messages to make
4323 debbugs.el more silent.
4324
fd4983f2
LMI
4325 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4326 a password-like phrase.
4327
b14c0c55
AM
43282011-06-30 Mastake YAMATO <yamato@redhat.com>
4329
4330 * progmodes/cc-guess.el: New file.
4331
6a2fb145 4332 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4333
4334 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4335 derived from `c-basic-common-init'.
4336
4337 * progmodes/cc-mode.el (top-level): Require cc-guess.
4338 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4339
1fa280a3
LM
43402011-06-30 Lawrence Mitchell <wence@gmx.li>
4341
4342 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4343
e6597158
AM
43442011-06-30 Alan Mackenzie <acm@muc.de>
4345
1fa280a3
LM
4346 * progmodes/cc-engine.el (c-guess-continued-construct):
4347 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4348 lock is disabled. Name this case as "CASE G".
4349
68ba37fb
KM
43502011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4351
4352 * allout.el (allout-yank-processing): Fix injection of extra space
4353 between bullet and non-whitespace character in first topic when
4354 pasting, ensuring that the actual spacing in the pasted topic
4355 following the bullet char is preserved. This extra space was
4356 causing pasted encrypted topics to get a decrypted status even
4357 when the content was actually still encrypted. Now the decryption
4358 status from before the paste is preserved.
4359
4360 (allout-flag-region): Set all allout overlays so they evaporate
4361 when reduced to zero length (evanescent), to prevent overlay
4362 leakage.
4363
887a0b34
GM
43642011-06-30 Glenn Morris <rgm@gnu.org>
4365
94b9acce
GM
4366 * w32-fns.el (w32-charset-info-alist): Declare.
4367
1d9b46d4
GM
4368 * find-dired.el (find-grep-options): Simplify.
4369
cc232200
GM
4370 * term/ns-win.el (ns-set-resource): Declare.
4371
28e77c46
GM
4372 * ses.el (row, col): Declare dynamic variables honestly.
4373
887a0b34
GM
4374 * textmodes/reftex-parse.el (index-tags): Declare.
4375
658d8eb8
CY
43762011-06-30 Chong Yidong <cyd@stupidchicken.com>
4377
4378 * cus-edit.el (customize-push-and-save): New function.
4379
4380 * files.el (hack-local-variables-confirm): Use it.
4381
1fa280a3
LM
4382 * custom.el (load-theme): New arg NO-CONFIRM.
4383 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4384 (custom-enabled-themes): Doc fix.
4385
4386 * cus-theme.el (customize-create-theme)
4387 (custom-theme-merge-theme): Callers to load-theme changed.
4388
bb617717
LMI
43892011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4390
d61bdd5d
LMI
4391 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4392 short URLs have at least one dot in them (bug #7614).
4393
bb617717
LMI
4394 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4395 nil, because using a pty is apparently too slow (bug #895).
4396
2f31f37a
LMI
43972011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4398
4399 * mail/sendmail.el (sendmail-query-once): New function.
4400 (sendmail-query-once-function): New variable.
4401
3076b24e
GM
44022011-06-29 Glenn Morris <rgm@gnu.org>
4403
faf2a174
GM
4404 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4405
3076b24e
GM
4406 * ses.el (top-level): Require cl when compiling.
4407 (ses-set-localvars): Fix error statement.
4408 Call it at compile time to silence a storm of warnings.
4409
5386012d
MR
44102011-06-29 Martin Rudalics <rudalics@gmx.at>
4411
4412 * window.el (normalize-live-buffer): Rename to
4413 window-normalize-buffer.
4414 (normalize-live-frame): Rename to window-normalize-frame.
4415 (normalize-any-window): Rename to window-normalize-any-window.
4416 (normalize-live-window): Rename to window-normalize-live-window.
4417 (make-window-atom): Rename to window-make-atom.
4418 (window-resize-reset): Rename to window--resize-reset.
4419 (window-resize-reset-1): Rename to window--resize-reset-1.
4420 (resize-mini-window): Rename to window--resize-mini-window.
4421 (resize-subwindows-skip-p): Rename to
4422 window--resize-subwindows-skip-p.
4423 (resize-subwindows-normal): Rename to
4424 window--resize-subwindows-normal.
4425 (resize-subwindows): Rename to window--resize-subwindows.
4426 (resize-other-windows): Rename to window--resize-siblings.
4427 (resize-this-window): Rename to window--resize-this-window.
4428 (resize-root-window): Rename to window--resize-root-window.
4429 (resize-root-window-vertically): Rename to
4430 window--resize-root-window-vertically.
4431 (normalize-buffer-to-display): Rename to
4432 window-normalize-buffer-to-display.
4433 (normalize-buffer-to-switch-to): Rename to
4434 window-normalize-buffer-to-switch-to.
4435 Correspondingly update all callers of the functions listed
4436 above.
4437 (display-buffer-alist, display-buffer-normalize-arguments)
4438 (display-buffer-normalize-options, display-buffer)
4439 (display-buffer-alist-set): Use "function" instead of
4440 "fun-with-args".
4441
1176868d
CY
44422011-06-28 Chong Yidong <cyd@stupidchicken.com>
4443
4444 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4445 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4446 debbugs.gnu.org. Mention acknowledgment email.
4447
20a7a65f
LMI
44482011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4449
4450 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4451 buffer multibyteness, since it shouldn't matter.
4452
5f45cca5
MR
44532011-06-28 Martin Rudalics <rudalics@gmx.at>
4454
4455 * window.el (display-buffer-in-side-window): Handle dedicated
4456 windows as in display-buffer-reuse-window.
4457 (display-buffer-normalize-alist): Use value of override
4458 specifier.
4459 (display-buffer-normalize-specifiers): Use value of
4460 other-window-means-other-frame specifier.
4461 (display-buffer-alist): Rewrite some texts in widgets.
4462 (display-buffer): Spread arguments when calling function
4463 specified by fun-with-args.
4464
ad85fe1f
DD
44652011-06-28 Deniz Dogan <deniz@dogan.se>
4466
1fa280a3
LM
4467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4468 Unnest `let'.
da68c4c8 4469
ad85fe1f
DD
4470 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4471 selectors (Bug#5732).
ec49bd31 4472 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4473
a08cc025
JA
44742011-06-27 Jari Aalto <jari.aalto@cante.net>
4475
4476 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4477 (eshell-ls-date-format): New defcustom.
4478 (eshell-ls-file): Use it.
4479
e2b551c5
SM
44802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4483
8982b231
KY
44842011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4485
4486 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4487 (ange-ftp-make-tmp-name): New arg.
4488 (ange-ftp-file-local-copy): Use it.
4489
36c9fa27
J
44902011-06-27 Jambunathan K <kjambunathan@gmail.com>
4491
4492 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4493 no-conversion (Bug#8870).
4494
d68443dc
MR
44952011-06-27 Martin Rudalics <rudalics@gmx.at>
4496
4497 * window.el (window-right, window-left, window-child)
4498 (window-child-count, window-last-child)
4499 (window-iso-combination-p, walk-window-tree-1)
4500 (window-atom-check-1, window-tree-1, delete-window)
4501 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4502 new naming conventions - window-vchild, window-hchild,
4503 window-next and window-prev are now called window-top-child,
4504 window-left-child, window-next-sibling and window-prev-sibling
4505 respectively.
d615d6d2
MR
4506 (resize-window-reset): Rename to window-resize-reset.
4507 (resize-window-reset-1): Rename to window-resize-reset-1.
4508 (resize-window): Rename to window-resize.
4509 (window-min-height, window-min-width)
4510 (resize-mini-window, resize-this-window, resize-root-window)
4511 (resize-root-window-vertically, adjust-window-trailing-edge)
4512 (enlarge-window, shrink-window, maximize-window)
4513 (minimize-window, delete-window, quit-restore-window)
4514 (split-window, balance-windows, balance-windows-area-adjust)
4515 (balance-windows-area, window-state-put-2)
4516 (display-buffer-even-window-sizes, display-buffer-set-height)
4517 (display-buffer-set-width, set-window-text-height)
4518 (fit-window-to-buffer): Rename all "resize-window" prefixed
4519 calls to use the "window-resize" prefix convention.
4520 (display-buffer-alist): Fix symbol for label specifier.
4521 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4522 corresponding specifier.
4523 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4524
b6458526
VB
45252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4526
4527 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4528 convention.
4529 (ses-call-printer): Does not pass an empty string to formatter when the
4530 cell is empty to keep from barking printer Calc math-format-value.
4531
d31fd9ac
RS
45322011-06-27 Richard Stallman <rms@gnu.org>
4533
43d5bf84
RS
4534 * battery.el (battery-mode-line-limit): New variable.
4535 (battery-update): Handle it.
4536
d31fd9ac
RS
4537 * mail/rmailmm.el (rmail-mime-process-multipart):
4538 Handle truncated messages.
4539
819a6054
GM
45402011-06-27 Glenn Morris <rgm@gnu.org>
4541
4542 * progmodes/flymake.el (flymake-err-line-patterns):
4543 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4544
cedc73f2
VB
45452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4546
819a6054 4547 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4548 (ses--clean-!, ses--clean-_): New functions.
4549 (ses-range): Add configurability of readout order, and conversion
4550 to Calc vector.
4551
5e5d49b6
VB
4552 * ses.el (ses-repair-cell-reference-all): New function.
4553 (ses-cell-symbol): Set macro as safe, so that it can be used in
4554 formulas.
4555
56e6cc31 4556 * ses.el: Update cycle detection algorithm.
90ca8b49 4557 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4558 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4559 (ses-set-localvars): New function.
4560 (ses-make-cell): Add property-list as a cell element.
4561 (ses-cell-property-get-fun, ses-cell-property-get)
4562 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4563 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4564 New functions.
90ca8b49
VB
4565 (ses-cell-property-set, ses-cell-property-pop)
4566 (ses-cell-property-get-handle): New macro.
4567 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4568 New aliases, used for code readability.
4569 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4570 cycle detection.
4571 (ses-self-reference-early-detection): New defcustom.
4572 (ses-formula-references): Robustify against self-refering cells.
4573 (ses-mode): Use ses-set-localvars.
4574 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4575 before lauching the update processing.
4576 (ses-initialize-Dijkstra-attempt): New function.
4577 (ses-recalculate-cell): Update for cycle detection based on
4578 Dijkstra algorithm.
4579
2bb63e81
VB
4580 * ses.el: Fix commenting and indenting convention.
4581
c9d29fb8
SM
45822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * bs.el (bs-cycle-next): Complete last change.
4585
d8e4b68b
JB
45862011-06-27 Drew Adams <drew.adams@oracle.com>
4587
4588 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4589
40098786
LMI
45902011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4591
c9d29fb8
SM
4592 * net/network-stream.el (network-stream-open-starttls):
4593 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4594 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4595
40098786
LMI
4596 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4597 to binary to possibly avoid line encoding issues on Windows (among
4598 other things).
4599
468d09d4
LMI
46002011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4601
4602 * net/network-stream.el (open-network-stream): Return an :error
4603 saying what the problem was, if possible.
4604
4605 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4606 server.
4607
4608 * net/network-stream.el (network-stream-open-starttls): If we
4609 wanted to use STARTTLS, and the server offered it, but we weren't
4610 able to because we had no STARTTLS support, then close the connection.
4611 (open-network-stream): Return an :error element, if present.
4612
16f07dd7
CY
46132011-06-26 Chong Yidong <cyd@stupidchicken.com>
4614
88821ca0
CY
4615 * hl-line.el (hl-line-sticky-flag): Doc fix.
4616 (global-hl-line-sticky-flag): New option (Bug#8323).
4617 (global-hl-line-highlight): Obey it.
4618
16f07dd7
CY
4619 * vc/vc.el (vc-revert-show-diff): Default to t.
4620
6b5ccddf
KM
46212011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4622
c9d29fb8
SM
4623 * allout-widgets.el (allout-widgets-post-command-business):
4624 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4625 undecorated when an isearch is continued past, and isearch
4626 automatically collapses them. This leads to "widget leaks", where
4627 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4628 hidden widgets can slow down cursor travel, substantially.
4629 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4630 so we're doing without this nicety.
4631
4632 (allout-widgets-tally-string): Don't try to do a hash-table-count
4633 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4634 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4635 *Messages* when allout-widgets-maintain-tally is t.
4636
355f2e07
MR
46372011-06-26 Martin Rudalics <rudalics@gmx.at>
4638
4639 * window.el (display-buffer-normalize-argument): Rename to
4640 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4641 LABEL argument. Respect special-display-function when popping up
4642 a new frame. Fix code searching for a window showing the buffer
4643 on another frame.
c9d29fb8
SM
4644 (display-buffer-normalize-specifiers):
4645 Call display-buffer-normalize-arguments.
355f2e07
MR
4646 (display-buffer-in-window): Don't undedicate the window if its
4647 buffer remains the same.
4648 Reported by Drew Adams <drew.adams@oracle.com>.
4649 (display-buffer-alist): Add choice for same-window macro
4650 specfier.
4651 (display-buffer): Mention special meaning of LABEL argument in
4652 doc-string. Fix quoting. Don't pop up a new frame even as
4653 fallback.
4654
7ca8fc42
JB
46552011-06-26 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4658 avoid deleting the current window in some cases (bug#8911).
4659
bc312254
AS
46602011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4661
4662 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4663 (Bug#8934)
4664
2db18f3f
LMI
46652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4666
c9d29fb8
SM
4667 * net/network-stream.el (network-stream-open-starttls):
4668 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4669 (network-stream-open-tls): Ditto.
4670
6302e0d3
LL
46712011-06-26 Leo Liu <sdl.web@gmail.com>
4672
4673 * register.el (registerv): New struct.
4674 (registerv-make): New function.
c9d29fb8
SM
4675 (jump-to-register, describe-register-1, insert-register):
4676 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4677 struct. (Bug#8415)
4678
5fdd4046
CY
46792011-06-26 Chong Yidong <cyd@stupidchicken.com>
4680
2afef60a
CY
4681 * vc/vc.el (vc-revert-show-diff): New defcustom.
4682 (vc-diff-internal): New arg specifying diff buffer.
4683 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4684 reuse an existing *vc-diff* buffer (Bug#8927).
4685
5fdd4046
CY
4686 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4687
e93db24a
GM
46882011-06-26 Glenn Morris <rgm@gnu.org>
4689
4690 * progmodes/f90.el (f90-critical-indent): New option.
4691 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4692 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4693 (f90-mode): Doc fix.
4694 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4695 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4696 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4697 (f90-match-end): Handle block, critical.
4698
eefff499
GM
46992011-06-25 Glenn Morris <rgm@gnu.org>
4700
f6ba4cc9
GM
4701 * calendar/diary-lib.el (diary-included-files): Doc fix.
4702 (diary-include-files): New function, extracted from
4703 diary-include-other-diary-files and diary-mark-included-diary-files.
4704 (diary-include-other-diary-files, diary-mark-included-diary-files):
4705 Just call diary-include-files.
4706 (diary-mark-entries): Reset diary-included-files on first call.
4707
16712304
GM
4708 * calendar/diary-lib.el (diary-mark-entries)
4709 (diary-mark-included-diary-files):
4710 Visit included diary-files in temp buffers.
4711
5d8e0d43
GM
4712 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4713 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4714 (f90-start-block-re, f90-imenu-generic-expression)
4715 (f90-looking-at-program-block-start, f90-no-block-limit):
4716 Add support for submodules.
4717
ccf7a5d5
GM
4718 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4719 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4720
11fdef7d 47212011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4722
4723 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4724 buffer-file-type before setting its value, to avoid disastrous
eefff499 4725 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4726
74f53697
JB
47272011-06-25 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4730
4731 * ses.el (ses-unload-function):
4732 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4733
4734 * proced.el (proced-unload-function):
4735 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4736
18a4ce5e
AR
47372011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4738
4739 * server.el (server-create-window-system-frame): Add parameters arg.
4740 (server-process-filter): Doc fix. Handle frame-parameters.
4741
519d22cc
JB
47422011-06-25 Juanma Barranquero <lekktu@gmail.com>
4743
4744 Fix bug#8730, bug#8781.
4745
4746 * loadhist.el (unload--set-major-mode): New function.
4747 (unload-feature): Use it.
4748
4749 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4750 (python-unload-function): New function.
4751
c206f5b0
SM
47522011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4755
f9ad64f3
GS
47562011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4757
4758 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4759 the candidates list.
4760
7d0da90e
JB
47612011-06-24 Juanma Barranquero <lekktu@gmail.com>
4762
4763 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4764
14b4e83d
RS
47652011-06-23 Richard Stallman <rms@gnu.org>
4766
4767 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4768 (rmail-variables): Set next-error-move-function.
4769 (rmail-what-message): Take argument POS.
4770 (rmail-next-error-move): New function.
4771
273d2baf
SM
47722011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4775 messages for adjacent non-terminals.
4776
56c2cc9a
RS
47772011-06-23 Richard Stallman <rms@gnu.org>
4778
4779 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4780 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4781 (rmail-start-mail): Don't specify use of rmail-mail-return;
4782 that's done by mail-bury now.
4783 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4784
d59eb518
MA
47852011-06-23 Michael Albinus <michael.albinus@gmx.de>
4786
4787 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4788 SIZE is a number.
4789
02cfc6d6
MR
47902011-06-23 Martin Rudalics <rudalics@gmx.at>
4791
4792 * window.el (get-lru-window, get-mru-window)
4793 (get-largest-window): Never return a minibuffer window.
4794 (display-buffer-pop-up-window): Fix a bug that could lead to
4795 reusing the minibuffer window.
4796 (display-buffer): Pass original specifier argument to
4797 display-buffer-function instead of the normalized one.
4798 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4799
4e323265
LL
48002011-06-22 Leo Liu <sdl.web@gmail.com>
4801
4802 * minibuffer.el (completing-read-function)
4803 (completing-read-default): Move from minibuf.c
4804
7a70468f
RS
48052011-06-22 Richard Stallman <rms@gnu.org>
4806
50718fc2
RS
4807 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4808 to Rmail even if not started by a special Rmail command.
4809
7a70468f
RS
4810 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4811 Copy the buffer currently showing just one message.
4812
297dde5a
RW
48132011-06-22 Roland Winkler <winkler@gnu.org>
4814
4815 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4816 (bibtex-clean-entry): First delete the old key so that a
4817 customized algorithm for generating the new key does not get
4818 confused by the old key.
4819 (bibtex-url): Obey regexp of first step.
4820 (bibtex-search-entries): Do not use add-to-list with local
4821 list-var.
4822
97bb1093
LMI
48232011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4824
4825 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4826 stored a user name, then query for the password first, instead of
4827 waiting for SMTP to give an error message and the trying again.
4828
1c0f1a19
JD
48292011-06-22 Lawrence Mitchell <wence@gmx.li>
4830
4831 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4832 BUFFER in call-process.
4833
396f7c9d
LMI
48342011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4835
4836 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4837 QUIT twice.
ddb7ffee
LMI
4838 (smtpmail-try-auth-methods): Require user name and password from
4839 auth-source.
396f7c9d 4840
8998d1b3
MR
48412011-06-22 Martin Rudalics <rudalics@gmx.at>
4842
4843 * window.el (display-buffer-default-specifiers)
4844 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4845 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4846 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4847
4848 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4849 (special-display-frame-alist, special-display-popup-frame):
4850 Remove duplicate declarations. These are now in window.el.
4851
4ea31e07
LMI
48522011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4853
c9d29fb8
SM
4854 * mail/smtpmail.el (smtpmail-via-smtp):
4855 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4856 server supports it. SMTP servers that support STARTTLS commonly
4857 require it.
4858
4859 * net/network-stream.el (network-stream-open-starttls): Support
4860 upgrading to STARTTLS always, even if we don't have built-in support.
4861 (open-network-stream): Add the :always-query-capabilies keyword.
4862
95f41d9a
LMI
4863 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4864 upgrades with `open-network-stream', and rely solely on
4865 auth-source for all credentials. Big changes throughout the file,
4866 but in particular:
c9d29fb8
SM
4867 (smtpmail-auth-credentials): Remove.
4868 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4869 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4870 MAIL FROM, too.
95f41d9a 4871
c9d29fb8
SM
4872 * net/network-stream.el (network-stream-open-starttls):
4873 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4874 STARTTLS.
4875 (auth-source): Require.
4876 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4877 (network-stream-certificate): Change cert-cert to cert and
4878 cert-key to key.
4ea31e07 4879
065ec2c7
MA
48802011-06-21 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * net/tramp-cache.el (top): Don't load the persistency file when
4883 "emacs -Q" has been called.
4884
cd93b359
DR
48852011-06-21 Tim Harper <timcharper@gmail.com>
4886
d8e4b68b
JB
4887 * term/ns-win.el (ns-initialize-window-system):
4888 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4889 resource to NO as it is not yet supported by the NS port.
4890
ae9c0411
JB
48912011-06-21 Juanma Barranquero <lekktu@gmail.com>
4892
4893 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4894 (list-dynamic-libraries): ...not here.
4895
7f3f739f
LL
48962011-06-21 Leo Liu <sdl.web@gmail.com>
4897
4898 * subr.el (sha1): Implement sha1 using secure-hash.
4899
327c8fb1
MR
49002011-06-21 Martin Rudalics <rudalics@gmx.at>
4901
4902 * window.el (display-buffer-alist): In default value do not
4903 enforce searching a window on any but the selected frame.
4904 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4905 (display-buffer-select-window): Remove function.
4906 (display-buffer-in-window): When a window on another frame gets
4907 reused, do not select it any more but just raise its frame if
4908 necessary (Bug#8851) and (Bug#8856).
4909 (display-buffer-normalize-options): Handle pop-up-frames related
4910 options more faithfully.
4911 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4912 window if it is on another frame.
c9d29fb8
SM
4913 (display-buffer-alist, display-buffer-default-specifiers):
4914 Don't make new frame unsplittable by default.
9e9de014
MR
4915 (display-buffer-normalize-argument): Fix doc-string typo and use
4916 'same-frame-other-window instead of 'other-window when associating
4917 with display-buffer-macro-specifiers.
327c8fb1 4918
7cf3f556
VB
49192011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4920
4921 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4922 New functions.
4923 (5x5-mode-map, 5x5-mode-menu): Bind them.
4924 (5x5-draw-grid): Tweak the solver's rendering.
4925
60a406cf
SM
49262011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4929 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4930
d8e4b68b 49312011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4932
4933 * menu-bar.el: Use function variable instead of switch-to-buffer.
4934 (menu-bar-select-buffer-function): New variable.
60a406cf 4935 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4936
478d6f95
SM
49372011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4940 variable's status.
4941
ca530739
JD
49422011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4943
4944 * x-dnd.el (x-dnd-version-from-flags)
4945 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4946 and long as number (Bug#8899).
4947 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4948
bcd70d97
SM
49492011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4950
60a406cf 4951 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4952 (completion-try-completion, completion-all-completions): Compute the
4953 metadata argument if it's missing; make it optional (bug#8795).
4954
60a406cf 4955 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4956 (widget-complete): Use new :completion-function property.
4957 (widget-completions-at-point): New function.
4958 (default): Use :completion-function instead of :complete.
60a406cf
SM
4959 (widget-default-completions): Rename from widget-default-complete;
4960 Rewrite.
bcd70d97
SM
4961 (widget-string-complete, widget-file-complete, widget-color-complete):
4962 Remove functions.
4963 (file, symbol, function, variable, coding-system, color):
4964 * international/mule-cmds.el (default-input-method, charset)
4965 (language-info-custom-alist):
4966 * cus-edit.el (face): Use new property :completions.
4967
4968 * progmodes/pascal.el (pascal-completions-at-point): New function.
4969 (pascal-mode): Use it.
4970 (pascal-mode-map): Use completion-at-point.
4971 (pascal-toggle-completions): Make obsolete.
4972 (pascal-complete-word, pascal-show-completions):
4973 * progmodes/octave-mod.el (octave-complete-symbol):
4974 Redefine as obsolete alias.
4975 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4976 Signal absence of completion info for old Octave,
4977 (inferior-octave-complete): Redefine as obsolete alias.
4978 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4979 (meta-completions-at-point): Rename from meta-complete-symbol and
4980 adapt it for use on completion-at-point-functions.
4981 (meta-common-mode): Use it.
4982 (meta-looking-at-backward, meta-match-buffer): Remove.
4983 (meta-complete-symbol): Redefine as obsolete alias.
4984 (meta-common-mode-map): Use completion-at-point.
4985 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4986 (makefile-mode-map): Use completion-at-point.
4987 (makefile-completions-at-point): Rename from makefile-complete and
4988 adapt it for use on completion-at-point-functions.
4989 (makefile-mode): Use it.
4990 (makefile-complete): Redefine as obsolete alias.
4991
aebf69c8
DD
49922011-06-20 Deniz Dogan <deniz@dogan.se>
4993
4994 * net/rcirc.el: Delete trailing whitespaces once and for all.
4995
bfbbb27d
DC
49962011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4997
4998 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4999
d264a46b
CY
50002011-06-19 Chong Yidong <cyd@stupidchicken.com>
5001
4ca009e5
CY
5002 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5003
d264a46b
CY
5004 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5005
fbf5b3ce
MR
50062011-06-19 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (display-buffer-other-window-means-other-frame):
5009 Call display-buffer-normalize-alist.
5010 (display-buffer-normalize-specifiers-1): Rename to
5011 display-buffer-normalize-argument. New argument other-frame.
5012 Rewrite.
5013 (display-buffer-normalize-specifiers-2): Rename to
5014 display-buffer-normalize-options.
5015 (display-buffer-normalize-alist-1): New function.
5016 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5017 display-buffer-normalize-alist.
5018 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5019 (display-buffer-normalize-options-inhibit): New variable.
5020 (display-buffer-normalize-specifiers): Rewrite calling
5021 display-buffer-normalize-alist,
5022 display-buffer-normalize-argument, and
5023 display-buffer-normalize-options. Don't call the latter if
5024 display-buffer-normalize-options-inhibit is non-nil.
5025 (frame-auto-delete): New option.
5026 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5027 (window-list-no-nils, window-state-ignored-parameters)
5028 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5029 (window-state-put-1, window-state-put-2, window-state-put):
5030 New functions.
9a028c23
MR
5031 (display-buffer-normalize-options): Move special-display-p group
5032 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5033
6d10d800
CY
50342011-06-18 Chong Yidong <cyd@stupidchicken.com>
5035
6420d28b
CY
5036 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5037 groups (Bug#8776).
5038 (rx-submatch-n): New function.
5039 (rx): Document it.
5040
ddb8b596
CY
5041 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5042 (Bug#8768).
5043
5044 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5045
77080289
CY
5046 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5047
61dfb316
CY
5048 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5049 anytime existing face settings are present (Bug#8889).
5050
6d10d800
CY
5051 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5052 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5053 Remove unused argument.
5054
be3fb2b8
MR
50552011-06-18 Martin Rudalics <rudalics@gmx.at>
5056
bcd70d97
SM
5057 * window.el (display-buffer-default-specifiers):
5058 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5059 pop-up-window-min-width, and another reuse-window specifier
5060 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5061 (display-buffer-normalize-specifiers-2):
5062 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5063 pop-up-windows is unset. Add a reuse-window specifier for the
5064 case popping up a new window fails.
5065 (special-display-popup-frame): Remove double quoting.
28dec25a 5066 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5067
1c6d8c76
SM
50682011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5071 according to comint-completion-addsuffix.
5072
5073 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5074 (pcomplete-suffix-list): Mark as obsolete.
5075 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5076 pcomplete-seen in the closure.
5077 (pcomplete-comint-setup): Setup completion-at-point as well.
5078 (pcomplete--entries): New function.
5079 (pcomplete--env-regexp): New var.
5080 (pcomplete-entries): Rewrite to work with partial-completion and
5081 without relying on pcomplete-suffix-list.
5082 (pcomplete-pare-list): Remove, unused.
5083
25aef8b8
MR
50842011-06-17 Martin Rudalics <rudalics@gmx.at>
5085
5086 * window.el (display-buffer-alist): Set pop-up-window-min-height
5087 and pop-up-window-min-width in default value. Reported by
5088 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5089 other-window-means-other-frame.
5090 (display-buffer-macro-specifiers): Comment out entry for
5091 other-window specifier.
5092 (display-buffer-other-window-means-other-frame): New function.
5093 (display-buffer-normalize-specifiers-1): New arguments
5094 buffer-name and label. Treat other-window case specially.
5095 (display-buffer-normalize-specifiers-2): Treat other-window case
5096 specially.
5097 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5098 (display-buffer-normalize-specifiers):
5099 Call display-buffer-normalize-specifiers-3.
25aef8b8 5100
dbad4f69
MR
51012011-06-17 Martin Rudalics <rudalics@gmx.at>
5102
5103 * window.el (same-window-p): Fix two typos introduced when
5104 adding with-no-warnings.
d1067961
MR
5105 (display-buffer-normalize-specifiers-1): Don't check
5106 pop-up-frames for 'unset initialization.
5107 (display-buffer-normalize-specifiers-2): Major rewrite using
5108 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5109 (pop-up-frames, display-buffer-reuse-frames)
5110 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5111 Suggested by David Engster <deng@randomsample.de>.
5112 (even-window-heights): Initialize to 'unset.
5113 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5114 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5115 other window case.
dbad4f69 5116
9b9c9e3a
MR
51172011-06-16 Martin Rudalics <rudalics@gmx.at>
5118
bcd70d97
SM
5119 * window.el (display-buffer-normalize-specifiers-1):
5120 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5121 second argument of display-buffer (Bug#8865).
981d5c09
MR
5122 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5123 (switch-to-buffer-other-window-same-frame)
5124 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5125 Adams (Bug#8875).
9c2755e9
MR
5126 (display-buffer): Don't check noninteractive when calling
5127 display-buffer-pop-up-frame.
5128 (display-buffer-pop-up-frame): Never pop up a frame in
5129 noninteractive mode (Bug#8857).
67222e1d
MR
5130 (enlarge-window, shrink-window): Don't report an error when the
5131 window can't be resized as requested (Bug#8862).
9b9c9e3a 5132
2b75be67
SM
51332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5134
9ffdd3ba
SM
5135 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5136
cb581a67
SM
5137 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5138
2b75be67
SM
5139 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5140
8c0e3589
AM
51412011-06-15 Alan Mackenzie <acm@muc.de>
5142
cb581a67
SM
5143 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5144 for declarators, disable knr checking to speed up for normal files.
5145 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5146
b96e6cde
LMI
51472011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
4bba86e6
LMI
5149 * net/network-stream.el (open-network-stream): Add the keyword
5150 :always-query-capabilities for the case where you want to force a
5151 `plain' network connection, but the protocol still requires the
5152 capabilitiy command (i.e., SMTP and EHLO).
5153
2b75be67 5154 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5155 consistency with other `-live-p' functions.
5156
efdcdbf8
SM
51572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 * window.el (same-window-buffer-names, same-window-regexps)
5160 (special-display-frame-alist, special-display-popup-frame)
5161 (special-display-function, special-display-buffer-names)
5162 (special-display-regexps, pop-up-frame-alist)
5163 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5164 (pop-up-windows, split-window-preferred-function)
5165 (split-height-threshold, split-width-threshold, even-window-heights)
5166 (display-buffer-mark-dedicated): Don't encourage the use of
5167 display-buffer-alist from Elisp code.
5168
c5cde042
DN
51692011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5170
5171 * progmodes/python.el (python-mode): Derive from prog-mode.
5172 * progmodes/ps-mode.el (ps-mode):
5173 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5174 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5175 * progmodes/ld-script.el (ld-script-mode): Likewise.
5176
baa1c9ab
MR
51772011-06-15 Martin Rudalics <rudalics@gmx.at>
5178
5179 * window.el (display-buffer-alist): Trim default value to avoid
5180 popping up a new frame (Bug#8857) or reusing an arbitrary window
5181 on another frame.
5182 (display-buffer): Do not fall back on popping up a new frame in
5183 batch mode (Bug#8857).
5184
c5dd5a51
CY
51852011-06-14 Chong Yidong <cyd@stupidchicken.com>
5186
5187 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5188 (custom-theme-summary): New function.
5189 (customize-themes): Use it.
5190
d647b7c4
GM
51912011-06-13 Glenn Morris <rgm@gnu.org>
5192
5193 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5194
9481c002
MR
51952011-06-13 Martin Rudalics <rudalics@gmx.at>
5196
357f93d2
MR
5197 * help.el (help-window): Remove variable.
5198 (help-window-point-marker, temp-buffer-max-height)
5199 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5200 (help-print-return-message): Don't set help-window.
5201 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5202 (help-window-setup-finish): Remove.
5203 (help-window-display-message, help-window-setup)
5204 (with-help-window): Major rewrite based on new
5205 display-buffer-window variable.
5206
5207 * help-mode.el (help-mode-finish): Remove help-window related
5208 code.
5209
5210 * view.el (view-exits-all-viewing-windows): Remove reference to
5211 view-return-to-alist in doc-string.
5212 (view-return-to-alist): Make obsolete.
5213 (view-buffer): Call pop-to-buffer-same-window and remove
5214 undo-window code.
5215 (view-buffer-other-window): Call pop-to-buffer-other-window and
5216 simplify code. Ignore second argument.
5217 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5218 simplify code. Ignore second argument.
5219 (view-return-to-alist-update): Make obsolete.
5220 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5221 Rewrite using quit-restore window parameters.
2b75be67
SM
5222 (view-mode-exit): Rename second argument to EXIT-ONLY.
5223 Rewrite using quit-restore-window.
357f93d2
MR
5224 (View-exit, View-exit-and-edit, View-leave, View-quit)
5225 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5226 appropriate arguments.
5227 (view-end-message): Use quit-restore window parameter.
5228
9481c002
MR
5229 * window.el (display-buffer-function): Rewrite doc-string.
5230 (display-buffer-window, display-buffer-alist): New variables.
5231 (display-buffer-split-specifiers)
5232 (display-buffer-side-specifiers)
5233 (display-buffer-macro-specifiers): New constants.
5234 (display-buffer-even-window-sizes, display-buffer-set-height)
5235 (display-buffer-set-width, display-buffer-select-window)
5236 (display-buffer-in-window, display-buffer-reuse-window)
5237 (display-buffer-split-window-1, display-buffer-split-window)
5238 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5239 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5240 (display-buffer-in-side-window, normalize-buffer-to-display)
5241 (display-buffer-normalize-specifiers-1)
5242 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5243 (display-buffer-normalize-specifiers, display-buffer-frame):
5244 New functions.
9481c002
MR
5245 (display-buffer): Major rewrite.
5246 (display-buffer-other-window, display-buffer-other-frame)
5247 (pop-to-buffer, switch-to-buffer-other-window)
5248 (switch-to-buffer-other-frame): Rewrite.
5249 (display-buffer-same-window, display-buffer-same-frame)
5250 (display-buffer-same-frame-other-window)
5251 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5252 (pop-to-buffer-other-window)
5253 (pop-to-buffer-same-frame-other-window)
5254 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5255 (switch-to-buffer-other-window-same-frame): New functions.
5256 (same-window-p, special-display-p): Rewrite disabling warnings.
5257 Make obsolete.
5258 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5259 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5260 Make obsolete
5261 (same-window-buffer-names, same-window-regexps)
5262 (special-display-frame-alist, special-display-popup-frame)
5263 (special-display-function, special-display-buffer-names)
5264 (special-display-regexps, pop-up-frame-alist)
5265 (pop-up-frame-function, split-window-preferred-function)
5266 (split-height-threshold, split-width-threshold)
5267 (even-window-heights): Make obsolete.
5268
9db51aca
GM
52692011-06-12 Glenn Morris <rgm@gnu.org>
5270
5271 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5272 Misc simplifications.
9db51aca 5273
39cffb44
MR
52742011-06-12 Martin Rudalics <rudalics@gmx.at>
5275
5276 * window.el (window-safely-shrinkable-p): Restore function which
5277 was inadvertently removed in change from 2011-06-11. Declare as
5278 obsolete.
5279
2b75be67
SM
5280 * calendar/calendar.el (calendar-generate-window):
5281 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5282 window-safely-shrinkable-p.
5283
a8955be7
GM
52842011-06-12 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/fortran.el (fortran-mode-syntax-table):
5287 * progmodes/f90.el (f90-mode-syntax-table):
5288 Set % to punctuation. (Bug#8820)
5289 (f90-find-tag-default): Remove, no longer needed.
5290
f0d4059d
DC
52912011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5292
5293 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5294
1100a63c
CY
52952011-06-11 Chong Yidong <cyd@stupidchicken.com>
5296
5297 * image.el (image-animated-p): Return animation delay in seconds.
5298 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5299 (image-animate-timeout): Remove DELAY argument. Don't assume
5300 every subimage has the same delay; get it from image-animated-p.
5301 (image-animate): Caller changed.
5302
def722bf
MA
53032011-06-11 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5306 to ignored backtrace functions.
5307
0a2bb1a9
GM
53082011-06-11 Glenn Morris <rgm@gnu.org>
5309
5310 * calendar/appt.el (appt-disp-window-function): Doc fix.
5311 (appt-check): Handle overlapping appointments. (Bug#8337)
5312
6198ccd0
MR
53132011-06-11 Martin Rudalics <rudalics@gmx.at>
5314
5315 * window.el (window-tree-1, window-tree): New functions, moving
5316 the latter to window.el.
5317 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5318 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5319 (bw-refresh-edges): Remove.
5320 (balance-windows-1, balance-windows-2): New functions.
5321 (balance-windows): Rewrite in terms of window tree functions,
5322 balance-windows-1 and balance-windows-2.
5323 (bw-adjust-window): Remove.
5324 (balance-windows-area-adjust): New function with functionality of
5325 bw-adjust-window but using resize-window.
2b75be67
SM
5326 (set-window-text-height): Rewrite doc-string.
5327 Use normalize-live-window and resize-window.
5328 (enlarge-window-horizontally, shrink-window-horizontally):
5329 Rename argument to DELTA.
6198ccd0
MR
5330 (window-buffer-height): New function.
5331 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5332 Rewrite using new window resize routines.
2b75be67
SM
5333 (kill-buffer-and-window, mouse-autoselect-window-select):
5334 Use ignore-errors instead of condition-case.
6198ccd0
MR
5335 (quit-window): Call delete-frame instead of delete-windows-on
5336 for the only buffer on frame.
5337
9397e56f
MR
53382011-06-10 Martin Rudalics <rudalics@gmx.at>
5339
5340 * loadup.el (top-level): Load window before files for the sake
5341 of replace-buffer-in-windows.
5342
5343 * files.el (read-buffer-to-switch)
5344 (switch-to-buffer-other-window)
2b75be67
SM
5345 (switch-to-buffer-other-frame, display-buffer-other-frame):
5346 Move to window.el.
9397e56f
MR
5347
5348 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5349 (previous-buffer): Move to window.el.
5350
5351 * bindings.el (unbury-buffer): Move to window.el.
5352
5353 * window.el (delete-other-windows-vertically): Move after
5354 definition of delete-other-windows.
5355 (other-window, delete-windows-on, replace-buffer-in-windows):
5356 Move here from window.c.
5357 (record-window-buffer, unrecord-window-buffer)
5358 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5359 (switch-to-next-buffer): New functions.
5360 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5361 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5362 (previous-buffer): Move here from simple.el.
5363 Call switch-to-prev-buffer.
9397e56f
MR
5364 (bury-buffer): Move here from buffer.c. Switch to previous
5365 buffer when window cannot be deleted.
5366 (unbury-buffer): Move here from bindings.el.
5367 (ctl-x-map): Move binding for other-window from window.c to
5368 here.
5369 (read-buffer-to-switch, switch-to-buffer-other-window)
5370 (switch-to-buffer-other-frame): Move here from files.el.
5371 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5372 (switch-to-buffer): Move here from buffer.c.
5373 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5374
562dd5e9
MR
53752011-06-10 Martin Rudalics <rudalics@gmx.at>
5376
5377 * window.el (window-min-height, window-min-width): Move here
5378 from window.c. Add defcustoms and rewrite doc-strings.
5379 (resize-mini-window, resize-window): New functions.
5380 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5381 Move here from window.c.
5382 (maximize-window, minimize-window): New functions.
5383 (delete-window, delete-other-windows, split-window): Move here
5384 from window.c.
5385 (window-split-min-size): New function.
5386 (split-window-keep-point): Mention split-window-above-each-other
5387 instead of split-window-vertically.
2b75be67
SM
5388 (split-window-above-each-other, split-window-vertically):
5389 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5390 provide defalias for old definition.
5391 (split-window-side-by-side, split-window-horizontally): Rename
5392 split-window-horizontally to split-window-side-by-side and provide
5393 defalias for the old definition.
5394 (ctl-x-map): Move bindings for delete-window,
5395 delete-other-windows and enlarge-window here from window.c.
5396 Replace bindings for split-window-vertically and
5397 split-window-horizontally by bindings for
5398 split-window-above-each-other and split-window-side-by-side.
5399
5400 * cus-start.el (all): Remove entries for window-min-height and
5401 window-min-width. Add entries for window-splits and
5402 window-nest.
5403
f0da764a
GM
54042011-06-09 Glenn Morris <rgm@gnu.org>
5405
80675c21
GM
5406 * calendar/appt.el (appt-mode-line): New function.
5407 (appt-check, appt-disp-window): Use it.
5408
f0da764a
GM
5409 * files.el (hack-one-local-variable-eval-safep):
5410 Allow minor-modes with explicit +/-1 arguments.
5411
59f623b7
TZ
54122011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5413
5414 * term/xterm.el (xterm): Add defgroup.
5415 (xterm-extra-capabilities): Add defcustom to supply known xterm
5416 capabilities, skip querying them, or query them (default).
5417 (terminal-init-xterm): Use it.
5418 (terminal-init-xterm-modify-other-keys): New function to set up
5419 modifyOtherKeys support to simplify `terminal-init-xterm'.
5420
9aab8e0d
MR
54212011-06-09 Martin Rudalics <rudalics@gmx.at>
5422
5423 * window.el (resize-window-reset, resize-window-reset-1)
5424 (resize-subwindows-skip-p, resize-subwindows-normal)
5425 (resize-subwindows, resize-other-windows, resize-this-window)
5426 (resize-root-window, resize-root-window-vertically)
5427 (window-deletable-p, window-or-subwindow-p)
5428 (frame-root-window-p): New functions.
5429
e8b08aee
GM
54302011-06-09 Glenn Morris <rgm@gnu.org>
5431
5432 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5433 (ange-ftp-get-files): Use it.
5434
254c37a5
AK
54352011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5436
5437 * mail/sendmail.el (mail-recover-1, mail-recover):
5438 * files.el (recover-file, recover-session):
5439 Handle dired-listing-switches not being just a single short option.
5440
35d7dbd3
GM
54412011-06-09 Glenn Morris <rgm@gnu.org>
5442
5443 * calendar/appt.el (appt-display-message, appt-disp-window):
5444 Handle lists of appointments.
5445
387522b2
MR
54462011-06-08 Martin Rudalics <rudalics@gmx.at>
5447
2b75be67
SM
5448 * window.el (one-window-p): Move down in code.
5449 Rewrite doc-string.
5450 (window-current-scroll-bars): Rewrite doc-string.
5451 Normalize live window argument.
387522b2
MR
5452 (walk-windows, get-window-with-predicate, count-windows):
5453 Rewrite doc-string. Use window-list-1.
5454 (window-in-direction-2, window-in-direction, get-mru-window):
5455 New functions.
5456
d8e4b68b 54572011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5458
5459 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5460 Doc fix (Bug#8713).
5461
54622011-06-08 Chong Yidong <cyd@stupidchicken.com>
5463
5464 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5465
54662011-06-08 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * loadhist.el (unload-feature-special-hooks):
5469 Add `comint-output-filter-functions'.
5470
0de12c52
IK
54712011-06-08 Ivan Kanis <gnu@kanis.fr>
5472
5473 * calendar/appt.el (appt-check): Move some initializations into the let.
5474
f3d1777e
MR
54752011-06-08 Martin Rudalics <rudalics@gmx.at>
5476
5477 * window.el (window-height): Defalias to window-total-height.
5478 (window-width): Defalias to window-body-width.
5479
18af70d0
CY
54802011-06-07 Chong Yidong <cyd@stupidchicken.com>
5481
5482 * image-mode.el (image-toggle-animation): New command.
5483 (image-mode-map): Bind it to RET.
5484 (image-mode): Update message.
5485 (image-toggle-display-image): Avoid a spurious cache flush.
5486 (image-transform-rotation): Doc fix.
5487 (image-transform-properties): Return quickly in the normal case.
5488 (image-animate-loop): Rename from image-animate-max-time.
5489
2b75be67 5490 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5491 (create-animated-image): Remove unnecessary function.
5492 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5493 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5494 (image-animate-timer): Use car-safe.
5495 (image-animate-timeout): Rename argument.
5496
190b47e6
MR
54972011-06-07 Martin Rudalics <rudalics@gmx.at>
5498
5499 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5500 window.c. Rename first argument to ALL-FRAMES.
5501 Rephrase doc-strings.
5502 (get-buffer-window-list): Rewrite using window-list-1.
5503 Rephrase doc-string.
a1511caf
MR
5504 (window-safe-min-height, window-safe-min-width): New constants.
5505 (window-size-ignore, window-min-size, window-min-size-1)
5506 (window-sizable, window-sizable-p, window-size-fixed-1)
5507 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5508 (window-max-delta-1, window-max-delta, window-resizable)
5509 (window-resizable-p, window-total-height, window-total-width)
5510 (window-body-width): New functions.
5511 (window-full-height-p, window-full-width-p): Rewrite using
5512 window-total-size.
5513 (window-body-height): Rewrite using window-body-size.
190b47e6 5514
85cc1f11
MR
55152011-06-06 Martin Rudalics <rudalics@gmx.at>
5516
5517 * window.el (window-right, window-left, window-child)
5518 (window-child-count, window-last-child, window-any-p)
5519 (normalize-live-buffer, normalize-live-frame)
5520 (normalize-any-window, normalize-live-window)
5521 (window-iso-combination-p, window-iso-combined-p)
5522 (window-iso-combinations)
5523 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5524 (windows-with-parameter, window-with-parameter)
5525 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5526 (window-atom-check, window-side-check, window-check):
5527 New functions.
85cc1f11
MR
5528 (ignore-window-parameters, window-sides, window-sides-vertical)
5529 (window-sides-slots): New variables.
5530 (window-size-fixed): Move down in code. Minor doc-string fix.
5531
e7156492
AS
55322011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5533
5534 * comint.el (comint-dynamic-complete-as-filename)
5535 (comint-dynamic-complete-filename): Correctly call
5536 completion-in-region.
5537
7e821d0d
DD
55382011-06-05 Deniz Dogan <deniz@dogan.se>
5539
5540 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5541 in last change.
5542
ac09b8a1
DD
55432011-06-05 Deniz Dogan <deniz@dogan.se>
5544
5545 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5546 (rcirc): Use it to prompt for encryption.
5547
34699b85
RW
55482011-06-05 Roland Winkler <winkler@gnu.org>
5549
5550 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5551 (bibtex-search-entries): New command bound to C-c C-a.
5552 (bibtex-display-entries): New function.
5553
004dedd3
RW
55542011-06-05 Roland Winkler <winkler@gnu.org>
5555
5556 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5557 (bibtex-insert-kill): After yanking insert newline if necessary.
5558 (bibtex-initialize): Call bibtex-string-files-init only once.
5559 (bibtex-mode): Do not call easy-menu-add.
5560 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5561 (bibtex-yank): Set arg properly if nil.
5562
022fe7ce
RW
55632011-06-05 Roland Winkler <winkler@gnu.org>
5564
2b75be67
SM
5565 * textmodes/bibtex.el (bibtex-search-entry-globally):
5566 New variable.
022fe7ce
RW
5567 (bibtex-search-entry): Use it.
5568
b7c3692a
RW
55692011-06-05 Roland Winkler <winkler@gnu.org>
5570
5571 * textmodes/bibtex.el (bibtex-entry-format): New option
5572 sort-fields.
5573 (bibtex-format-entry, bibtex-reformat): Honor this option.
5574 (bibtex-parse-entry): Return fields in proper order.
5575
8eda563d
JB
55762011-06-05 Juanma Barranquero <lekktu@gmail.com>
5577
5578 * doc-view.el (doc-view-remove-if): Move computation of result out
5579 of `dolist' to silence misleading lexical-binding warning.
5580
7dbe3dbc
CY
55812011-06-04 Chong Yidong <cyd@stupidchicken.com>
5582
5583 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5584 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5585
0c33dd17
MA
55862011-06-04 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5589 "SunOS 5.10".
5590
f8f91c2b
MA
55912011-06-04 Michael Albinus <michael.albinus@gmx.de>
5592
5593 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5594 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5595 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5596 (tramp-parse-putty):
5597 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5598 (tramp-completion-function-alist-ssh)
5599 (tramp-completion-function-alist-telnet)
5600 (tramp-completion-function-alist-su)
5601 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5602 cookie.
5603
5604 * net/tramp-ftp.el:
5605 * net/tramp-sh.el:
5606 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5607 load "tramp.el" `tramp-set-completion-function'.
5608
e17d9003
SM
56092011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * shell.el: Require and use pcomplete.
5612 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5613 (shell-completion-vars): Set pcomplete-default-completion-function.
5614
6c4cab03
DD
56152011-06-04 Deniz Dogan <deniz@dogan.se>
5616
5617 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5618 `memq' (Bug#8799).
5619
ea9fafe0
SM
56202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5623
b3e945d3
JB
56242011-06-02 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5627 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5628 * vc/log-view.el (log-view-beginning-of-defun):
5629 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5630 (smerge-refine-forward, smerge-refine-chopup-region):
5631 Silence warning for unused `dotimes' counter variables.
5632
7d520089
SM
56332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * net/tramp.el (tramp-with-progress-reporter): Rename from
5636 with-progress-reporter. Use `declare'.
5637 * net/tramp-smb.el:
5638 * net/tramp-sh.el:
5639 * net/tramp-gvfs.el: Update all uses.
5640
a1c2400f
JB
56412011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5642
5643 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5644 buffer isn't killed before making it current.
5645
2403c841
SM
56462011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 Silence various byte-compiler warnings.
5649 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5650 `access-type' and new obsolescence format.
5651 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5652 new format.
5653 (byte-compile-check-variable): New `access-type' argument.
5654 Only warn if the access-type is obsolete.
5655 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5656 (byte-compile-variable-set): Adjust callers.
5657 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5658 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5659 setting it as obsolete.
5660 * simple.el (minibuffer-completing-symbol):
5661 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5662 access as obsolete.
5663 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5664 obsolete yet.
5665 * international/quail.el (quail-mouse-choose-completion): Remove unused
5666 code referring to obsolete var.
5667 (quail-choose-completion-string): Remove.
5668 * server.el (server-clients-with, server-kill-buffer-query-function)
5669 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5670 * proced.el (proced-send-signal):
5671 * emacs-lisp/lisp.el (lisp-complete-symbol):
5672 Replace completion-annotate-function with completion-extra-properties.
5673
2462470b
SM
56742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5675
fb5b2591
SM
5676 * simple.el (goto-line): Use read-number.
5677 (overriding-map-is-bound): Remove.
5678 (saved-overriding-map): Change default.
5679 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5680 Take the map as argument.
5681 (universal-argument, negative-argument, digit-argument): Use it.
5682 (restore-overriding-map): Adjust.
5683 (do-auto-fill): Use fill-forward-paragraph.
5684 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5685
fd6fa53f
SM
5686 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5687 (minibuffer-inactive-mode): New major mode.
5688 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5689 the *Messages* buffer" hack.
5690 (mouse-popup-menubar): Don't burp if the event is a normal key.
5691
2462470b
SM
5692 Miscellaneous tweaks.
5693 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5694 lexical scoping as in subr.el's dolist and dotimes.
5695 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5696 Silence compiler warning.
5697 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5698 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5699 * international/ccl.el (ccl-compile): Trivial simplification.
5700 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5701 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5702 `printflag' argument.
5703 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5704 Purecopy the whole obsolescence data.
5705
108bf785
LL
57062011-06-01 Leo Liu <sdl.web@gmail.com>
5707
5708 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5709 improve doc-string as suggested by Marco Pessotto
5710 <melmothx@gmail.com>.
5711 (rcirc-print): Fix last change.
5712
30a23501
SM
57132011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * minibuffer.el (complete-with-action): Return nil for the metadata and
5716 boundaries of non-functional tables.
5717 (completion-table-dynamic): Return nil for the metadata.
5718 (completion-table-with-terminator): Add default case, using
5719 complete-with-action.
5720 (completion--metadata): New function.
5721 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5722 to try and avoid pathological performance problems.
5723 (completion--embedded-envvar-table): Return `category' metadata.
5724
bcd54f83
LMI
57252011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5726
5727 * subr.el (process-alive-p): New tiny convenience function.
5728
e227544d
SM
57292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5732 content but also its previous major mode.
5733
e8296fdc
HE
57342011-05-31 Helmut Eller <eller.helmut@gmail.com>
5735
4d61f28d 5736 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5737 *Backtrace* buffer when we exit with C-M-c.
5738
620c53a6
SM
57392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * minibuffer.el: Add metadata method to completion tables.
5742 (completion-category-overrides): New defcustom.
5743 (completion-metadata, completion--field-metadata)
5744 (completion-metadata-get, completion--styles)
5745 (completion--cycle-threshold): New functions.
5746 (completion-try-completion, completion-all-completions):
5747 Add `metadata' argument to choose completion-styles.
5748 (completion--do-completion): Use metadata to choose cycling.
5749 (completion-all-sorted-completions): Use metadata for sorting.
5750 Remove :completion-cycle-penalty which is not needed any more.
5751 (completion--try-word-completion): Add `metadata' argument.
5752 (minibuffer-completion-help): Check metadata for annotation function
5753 and sorting.
5754 (completion-file-name-table): Return `category' metadata.
5755 (minibuffer-completing-file-name): Make obsolete.
5756 * simple.el (minibuffer-completing-symbol): Make obsolete.
5757 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5758 completion-try-completion.
5759
1257e755
SM
57602011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5763
3767e706
LL
57642011-05-30 Leo Liu <sdl.web@gmail.com>
5765
5766 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5767 (rcirc-print): Decode all incoming messages (bug#8744).
5768 (rcirc-decode-coding-system): Allow value nil for automatic coding
5769 system detection.
3767e706 5770
d1a5d56a
GM
57712011-06-01 Glenn Morris <rgm@gnu.org>
5772
5773 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5774
e8cbec34
CY
57752011-05-29 Chong Yidong <cyd@stupidchicken.com>
5776
5777 * image.el (image-animate-max-time): Allow nil and t values.
5778 Default to nil.
5779 (create-animated-image): Doc fix.
5780 (image-animate-start): Remove second arg; just use
5781 image-animate-max-time.
5782 (image-animate-timeout): Doc fix. Args changed.
5783
5784 * image-mode.el (image-toggle-display-image): Ensure that the
5785 image spec passed to the animate timer is the same object as in
58179cce 5786 the buffer's display property (Bug#6981).
e8cbec34
CY
5787 (image-transform-properties): Doc fix.
5788
5789 * image.el (image-animate-max-time): Default to nil.
5790
159daf87
MR
57912011-05-29 Martin Rudalics <rudalics@gmx.at>
5792
5793 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5794 entire buffer list (Bug#8184).
5795
d66c4c7c
CY
57962011-05-29 Chong Yidong <cyd@stupidchicken.com>
5797
5798 * image.el (imagemagick-types-inhibit)
5799 (imagemagick-register-types): Doc fix.
5800
80aec780
DD
58012011-05-29 Deniz Dogan <deniz@dogan.se>
5802
5803 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5804 default.
5805
1dd3c2d9
CY
58062011-05-29 Chong Yidong <cyd@stupidchicken.com>
5807
5808 * select.el: Don't perform clipboard-manager saving in hooks;
5809 leave the hooks empty.
5810
60e56523
LL
58112011-05-28 Leo Liu <sdl.web@gmail.com>
5812
5813 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5814 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5815 (occur-edit-mode): New major mode (Bug#8463).
5816 (occur-after-change-function): New function.
5817 (occur-engine): Give Occur tags a read-only property.
5818
2b1e1a22
KR
58192011-05-28 Kevin Ryde <user42@zip.com.au>
5820
5821 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5822
5d344e88
CY
58232011-05-28 Chong Yidong <cyd@stupidchicken.com>
5824
8e6ca83d
CY
5825 * bindings.el (help-echo): Make the initial non-indicator dash
5826 empty on graphical terminals (Bug#7295).
5827
5d344e88
CY
5828 * files.el (auto-mode-alist): Move config rule after the
5829 in-stripping one (Bug#8547).
5830
bfbbace7
CY
5831 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5832
fbeba6e2
CY
5833 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5834 setting (Bug#8740).
5835
60ed8c72
AA
58362011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5837
4ac619f0
AA
5838 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5839 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5840 (Bug#8539).
60ed8c72 5841
23db196e
CY
58422011-05-28 Chong Yidong <cyd@stupidchicken.com>
5843
5844 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5845
5012f24c
DK
58462011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5847
5848 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5849 (hs-hide-block-at-point, hs-find-block-beginning)
5850 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5851 (Bug#8279).
5852
6a639b16
GM
58532011-05-28 Glenn Morris <rgm@gnu.org>
5854
5855 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5856
d43eaf2c
CY
58572011-05-28 Chong Yidong <cyd@stupidchicken.com>
5858
5199bde1
CY
5859 * help-fns.el (describe-function-1): If the function is a derived
5860 major mode, print the parent mode.
5861
d43eaf2c
CY
5862 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5863 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5864
423428a8
SM
58652011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5866
0ff8e1ba 5867 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 5868 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
5869 * progmodes/etags.el (tags-completion-at-point-function):
5870 * info-look.el (info-lookup-completions-at-point): Mark as
5871 non-exclusive.
5872 (info-complete): Adjust accordingly.
5873
423428a8
SM
5874 * info-look.el: Convert to lexical-binding and completion-at-point.
5875 (info-lookup-completions-at-point): New function.
5876 (info-complete): Use it and completion-in-region.
5877
b74aa22b
DA
58782011-05-28 Drew Adams <drew.adams@oracle.com>
5879
5880 * isearch.el: Let M-e start with point at the first mismatched char.
5881 (isearch-fail-pos): New function.
5882 (isearch-edit-string): Use it.
5883
66e2e71d
DK
58842011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5885
5886 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5887
eb95d01d
TC
58882009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5889
5890 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5891 traversal functions for avl-trees.
5892 (avl-tree--stack): New struct.
5893 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5894 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5895 (avl-tree--do-enter): Add optional `updatefun' arg.
5896 Change return value.
eb95d01d 5897 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5898 (avl-tree--do-delete): Add `test' and `nilflag' args.
5899 Change return value.
eb95d01d
TC
5900 (avl-tree-member): Add optional `nilflag'
5901 (avl-tree-member-p): New function.
5902 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5903 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5904 (avl-tree-stack-empty-p): New functions.
5905
3769ddcf
TC
59062009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5907
5908 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5909 avl-tree--del-balance1 and make it work both ways.
5910 (avl-tree--del-balance2): Remove.
5911 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5912 make it work both ways.
5913 (avl-tree--enter-balance2): Remove.
5914 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5915 New macros.
5916 (avl-tree--mapc, avl-tree-map): Add direction argument.
5917
eb95d01d 59182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5919
5920 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5921
a9f737ee
CY
59222011-05-27 Chong Yidong <cyd@stupidchicken.com>
5923
5924 * select.el: Support clipboard managers with built-in function
5925 x-clipboard-manager-save, via delete-frame-functions and
5926 kill-emacs-hook.
5927 (xselect-convert-to-targets): Add MULTIPLE target to list.
5928 (xselect-convert-to-save-targets): New function.
5929
c92a1e54
KH
59302011-05-27 Kenichi Handa <handa@m17n.org>
5931
5932 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5933 let-binding rfc2047-encode-encoded-words to nil.
5934
e145f188
GM
59352011-05-27 Glenn Morris <rgm@gnu.org>
5936
5ec8a862
GM
5937 * mail/emacsbug.el: Don't require url-util.
5938
4b29d9fb
GM
5939 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5940
e145f188
GM
5941 * files.el (set-auto-mode):
5942 Also respect mode: entries at the end of the file. (Bug#8586)
5943
7d15102b
GM
59442011-05-26 Glenn Morris <rgm@gnu.org>
5945
98f593b8
GM
5946 * files.el (hack-local-variables-prop-line, hack-local-variables):
5947 Downcase mode names, as seems to be traditional.
27b48e63 5948 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5949
7d15102b
GM
5950 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5951 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5952
51d5b4ec
JD
59532011-05-25 Julien Danjou <julien@danjou.info>
5954
5955 * textmodes/rst.el (rst-define-level-faces): Do not define face
5956 symbol if it is already defined.
5957
91513f63
VB
59582011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5959
5960 * play/5x5.el (5x5-new-game, 5x5-randomize):
5961 Reset 5x5-solver-output to nil when a new grid is cast.
5962 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5963 these debugging traces, as defmacro breaks the compiled code.
5964
4d90d6d0
DK
59652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5966
5967 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5968
e1b90ef6
LL
59692011-05-24 Leo Liu <sdl.web@gmail.com>
5970
5971 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5972 (vc-bzr-sha1): Adapt.
5973
d8e4b68b 5974 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5975
5976 * bindings.el: Provide sha1 feature.
5977
db0406bb 59782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5979
5980 * mail/sendmail.el: Require `rfc2047'.
5981 (mail-insert-from-field): Do not perform RFC2047 encoding.
5982 (mail-encode-header): New function.
5983 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5984 buffer to the return value of select-message-coding-system.
5985 Call mail-encode-header.
b8d747b9
KH
5986
5987 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5988
db0406bb 59892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5990
4d90d6d0
DK
5991 * mail/supercite.el (sc-default-cite-frame):
5992 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5993
eb8a5e9b
GM
59942011-05-24 Glenn Morris <rgm@gnu.org>
5995
f8630703
GM
5996 * progmodes/python.el (brm-menu): Declare.
5997
8831bbed
GM
5998 * emulation/viper.el (viper-set-hooks): Declare.
5999
eb8a5e9b
GM
6000 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6001 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6002 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6003 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6004 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6005 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6006
a2a25d24
SM
60072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 Add an :exit-function for completion-at-point.
6010
6011 * minibuffer.el (completion--done): New fun.
6012 (completion--do-completion): Use it. New arg `expect-exact'.
6013 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6014 since completion--do-completion does it for us now.
6015 (minibuffer-force-complete): Use completion--done and
6016 completion--replace. Handle sole-completion case with more care.
6017 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6018 (completion-extra-properties): New var.
6019 (completion-annotate-function): Make obsolete.
6020 (minibuffer-completion-help): Adjust accordingly.
6021 Use completion-list-insert-choice-function.
6022 (completion-at-point, completion-help-at-point):
6023 Bind completion-extra-properties.
6024 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6025 * simple.el (completion-list-insert-choice-function): New var.
6026 (completion-setup-function): Preserve it.
6027 (choose-completion): Pay attention to it, shuffle the code a bit.
6028 (choose-completion-string): New arg `insert-function'.
6029
6030 * textmodes/bibtex.el: Convert to lexical binding.
6031 (bibtex-mode-map): Use completion-at-point.
6032 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6033 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6034 (bibtex-complete): Define as obsolete alias.
6035 (bibtex-complete-internal): Remove.
6036 (bibtex-format-entry): Remove unused sub-group in regexp.
6037 * shell.el (shell--command-completion-data)
6038 (shell-environment-variable-completion):
6039 * pcomplete.el (pcomplete-completions-at-point):
6040 * comint.el (comint--complete-file-name-data): Use :exit-function
6041 instead of completion-table-with-terminator so it also works for
6042 choose-completion.
6043
e44e373d
SM
60442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6045
4f91a816
SM
6046 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6047
782fc819
SM
6048 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6049 (bug#8710).
6050
e44e373d
SM
6051 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6052
381987c3
KM
60532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6054
6055 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6056 customization variable and implement: If non-nil, auto-fill will
6057 be inhibited while on topic's header line.
6058
b776bc70
VB
60592011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6060
6061 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6062 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6063 always have a solution in grid size = 5 cases.
6064 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6065 (5x5-solver-output, 5x5-log-buffer): New vars.
6066 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6067 Make these variables buffer local to achieve 5x5 multi-session-ness.
6068 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6069 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6070 (5x5-solve-suggest): New funs.
6071 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6072 randomize a grid so that we ensure that there is always a solution.
6073 (5x5-make-random-grid): Allow other movement than flipping.
6074
7de88b6e
KR
60752011-05-23 Kevin Ryde <user42@zip.com.au>
6076
6077 * emacs-lisp/advice.el (ad-read-advised-function):
6078 Use `function-called-at-point' as the default default, if it has
6079 advice and passes PREDICATE.
6080
b1ef1257
SM
60812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6082
bbca48fe
SM
6083 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6084 byte-compile-lambda if it's actually a lambda.
6085
b1ef1257
SM
6086 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6087 Fix function quoting. Use backquote better.
6088
92a9cc65
YS
60892011-05-22 Yuanle Song <sylecn@gmail.com>
6090
6091 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6092 matching (Bug#8516).
6093
f0fb8059
JA
60942011-01-22 Jari Aalto <jari.aalto@cante.net>
6095
6096 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6097 different face (Bug#8178).
6098
d5b44c93
CY
60992011-05-22 Chong Yidong <cyd@stupidchicken.com>
6100
6101 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6102 defface (Bug#8144).
6103
79106a44
SM
61042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6105
9c848d8a
SM
6106 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6107 funcall as well (bug#8712). Warn when performing those conversions.
6108 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6109
79106a44
SM
6110 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6111
88dfa756
GM
61122011-05-22 Glenn Morris <rgm@gnu.org>
6113
6114 * files.el (hack-local-variables-prop-line): Small simplifications.
6115 (hack-local-variables, hack-local-variables-prop-line):
6116 If MODE-ONLY, return the mode, rather than just `t'.
6117
b7cf2c79
SM
61182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6121
3f1a8558
GM
61222011-05-21 Glenn Morris <rgm@gnu.org>
6123
7e4ccca3
GM
6124 * files.el (hack-local-variables-prop-line, hack-local-variables):
6125 If only interested in the mode, don't bother doing the other stuff.
6126
637d46ca
GM
6127 * image-mode.el (image-after-revert-hook):
6128 Redraw all frames on which the image is visible. (Bug#8567)
6129
973d955b
GM
6130 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6131
3f1a8558
GM
6132 * wid-edit.el (widget-checklist-match-inline):
6133 Fix 2011-04-19 change. (Bug#8649)
6134
96479927
SM
61352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6136
1dcf791f
SM
6137 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6138 Also allow singlespace after single-letter capitals followed by a dot.
6139
96479927
SM
6140 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6141 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6142
35fd0881
N
61432011-05-20 Nix <nix@esperi.org.uk>
6144
6145 * files.el (basic-save-buffer-2):
6146 Fix handling of break-hardlink-on-save with non-existent files.
6147
82745640
DD
61482011-05-19 Deniz Dogan <deniz@dogan.se>
6149
6150 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6151 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6152
4a720484
GM
61532011-05-19 Glenn Morris <rgm@gnu.org>
6154
d1f21341
GM
6155 * progmodes/f90.el (f90-type-def-re):
6156 Handle "type, bind(c)". (Bug#8691)
6157
4a720484
GM
6158 * emacs-lisp/autoload.el (batch-update-autoloads):
6159 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6160
2fb0a219
MA
61612011-05-18 Michael Albinus <michael.albinus@gmx.de>
6162
6163 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6164 property for the correct connection in case of multihops.
6165
e565dd37
GM
61662011-05-18 Glenn Morris <rgm@gnu.org>
6167
c2571358 6168 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6169 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6170
e565dd37
GM
6171 Rationalize calendar handling of day and month abbrev-arrays.
6172 * calendar/calendar.el (calendar-customized-p): New function.
6173 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6174 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6175 Add :set function.
6176 (calendar-abbrev-length, calendar-day-abbrev-array)
6177 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6178 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6179 Elements may no longer be nil.
6180 (calendar-day-name, calendar-month-name):
6181 Update for changed nature of abbrev arrays.
6182 * calendar/diary-lib.el (diary-name-pattern):
6183 Update for changed nature of abbrev arrays.
6184 (diary-mark-entries-1): Update calendar-make-alist calls.
6185 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6186 * calendar/cal-html.el (cal-html-day-abbrev-array):
6187 Simply inherit from calendar-day-abbrev-array.
6188
1d99a745
SM
61892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * progmodes/grep.el (grep-mode): Disable default
6192 compilation-directory-matcher setting (bug#8684).
6193
7c1d9aa0
MA
61942011-05-17 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6197 instead of "head" and "tail". There were problems with SunOS 5.9,
6198 and it performs better.
6199
3952e9d8
GM
62002011-05-17 Glenn Morris <rgm@gnu.org>
6201
2dd12e7f
GM
6202 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6203
e4157b9c
GM
6204 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6205 Replace obsolete function.
6206
8e249bbd
GM
6207 * shell.el (pcomplete-parse-arguments-function): Declare.
6208
3952e9d8
GM
6209 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6210 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6211 (appt-check): Doc fixes.
6212 (appt-disp-window-function, appt-delete-window-function):
6213 Remove needless special case in custom :type.
6214 (appt-display-count): Default to 0, not nil.
6215 (appt-check): Reset appt-display-count to 0, not nil.
6216
c71a0d48 62172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6218
c71a0d48
GM
6219 * progmodes/python.el (python-font-lock-keywords):
6220 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6221
31d55be9
SM
62222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6225
3bfacb2f
KR
62262011-05-16 Kevin Ryde <user42@zip.com.au>
6227
6228 * info-look.el (makefile-automake-mode): New setups, looking in
6229 automake manual, then makefile-mode.
6230 (makefile-mode): Remove automake manual, have it just in
6231 makefile-automake-mode since there's various things different or
6232 not relevant to plain make.
6233 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6234 believe a hypothetical automake-mode would go to makefile-mode,
6235 not the other way around.
6236
c8e83751
CY
62372011-05-15 Chong Yidong <cyd@stupidchicken.com>
6238
5e9e35cd
CY
6239 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6240 hunk-end tags (Bug#8672).
6241
c8e83751
CY
6242 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6243 vc-annotate-show-diff-revision-at-line (Bug#8671).
6244
50b23e5a
GM
62452011-05-14 Glenn Morris <rgm@gnu.org>
6246
7210a739
GM
6247 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6248 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6249 (change-log-font-lock-keywords): Also handle multiple author lines
6250 with leading tabs. (Bug#8644)
7210a739 6251
4691905a
GM
6252 * calendar/appt.el (appt-check): Rename some local variables.
6253 Some simplification/reordering.
6254
50b23e5a
GM
6255 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6256 (feedmail-sendmail-f-doesnt-sell-me-out)
6257 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6258 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6259 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6260 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6261 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6262 (feedmail-binmail-gnulinuxish-template):
6263 Rename from feedmail-binmail-linuxish-template.
6264 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6265 Use insert-buffer-substring.
6266
215cda7c
BC
62672011-05-14 Bill Carpenter <bill@carpenter.org>
6268
6269 * mail/feedmail.el (feedmail-patch-level): Increase.
6270 (feedmail-debug): New custom group.
6271 (feedmail-confirm-outgoing-timeout)
6272 (feedmail-sendmail-f-doesnt-sell-me-out)
6273 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6274 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6275 (feedmail-sender-line, feedmail-from-line)
6276 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6277 (feedmail-spray-this-address)
215cda7c
BC
6278 (feedmail-spray-address-fiddle-plex-list)
6279 (feedmail-queue-use-send-time-for-date)
6280 (feedmail-queue-use-send-time-for-message-id)
6281 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6282 (feedmail-buffer-eating-function):
6283 Doc fixes.
6284 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6285 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6286 (feedmail-message-action-scroll-down): New functions.
6287 (feedmail-queue-directory, feedmail-queue-draft-directory):
6288 Use expand-file-name.
6289 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6290 Remove C-v help entry.
6291 (feedmail-queue-buffer-file-name): New variable.
6292 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6293 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6294 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6295 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6296 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6297 (feedmail-message-action-toggle-spray)
6298 (feedmail-run-the-queue-no-prompts)
6299 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6300 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6301 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6302 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6303 (feedmail-envelope-deducer, feedmail-fiddle-from)
6304 (feedmail-fiddle-sender, feedmail-default-date-generator)
6305 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6306 (feedmail-fiddle-spray-address)
6307 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6308 (feedmail-fiddle-list-of-fiddle-plexes)
6309 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6310 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6311 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6312 Change default. Doc fix.
6313 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6314 (feedmail-binmail-linuxish-template): New constant.
6315 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6316 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6317 (feedmail-send-it): Add debug call.
6318 Use feedmail-queue-buffer-file-name, and
6319 feedmail-send-it-immediately-wrapper.
6320 (feedmail-message-action-send): Add debug call.
6321 Use feedmail-send-it-immediately-wrapper.
6322 (feedmail-queue-express-to-queue): Add debug call.
6323 Run feedmail-queue-express-hook.
6324 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6325 (feedmail-message-action-help-blat):
6326 Rename from feedmail-queue-send-edit-prompt-help-first.
6327 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6328 Check line-endings. Handle errors better.
6329 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6330 Doc fix. Add debug call.
6331 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6332 Use feedmail-queue-send-edit-prompt-inner.
6333 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6334 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6335 from feedmail-queue-send-edit-prompt.
6336 (feedmail-queue-send-edit-prompt-help)
6337 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6338 (feedmail-tidy-up-slug): Add debug call.
6339 Respect feedmail-queue-slug-suspect-regexp.
6340 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6341 (feedmail-dump-message-to-queue): Add debug call.
6342 Expand queue-directory.
6343 (feedmail-dump-message-to-queue): Change message slightly.
6344 Use feedmail-say-chatter.
6345 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6346 (feedmail-send-it-immediately-wrapper): New function.
6347 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6348 Insert empty string rather than newline. Handle full-frame case.
6349 Use catch/throw. Use feedmail-say-chatter.
6350 (feedmail-fiddle-from): Try mail-host-address.
6351 (feedmail-default-message-id-generator): Doc fix.
6352 Bind system-time-locale. Handle missing end.
6353 (feedmail-fiddle-x-mailer): Add debug call.
6354 Handle feedmail-x-mailer-line being nil.
6355 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6356 Add debug call. Use buffer-substring-no-properties.
6357 (feedmail-say-debug, feedmail-say-chatter): New functions.
6358 (feedmail-find-eoh): Give an explicit error.
6359
42c7e61e
UJ
63602011-05-13 Ulf Jasper <ulf.jasper@web.de>
6361
c2571358 6362 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6363 family from helvetica to sans.
c2571358 6364 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6365 etc/images/newsticker.
6366
c2571358 6367 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6368 family from helvetica to sans.
6369
6370 * net/newst-plainview.el (newsticker-new-item-face)
6371 (newsticker-old-item-face, newsticker-immortal-item-face)
6372 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6373 (newsticker-statistics-face): Change default family from
42c7e61e 6374 helvetica to sans.
c2571358 6375 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6376 etc/images/newsticker.
6377
6378 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6379 (newsticker--process-auto-mark-filter-match): : Tell user about
6380 auto-marking.
6381
8497a297
DV
63822011-05-13 Didier Verna <didier@xemacs.org>
6383
6384 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6385 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6386 TODO entries.
8497a297
DV
6387 (lisp-lambda-list-keyword-parameter-indentation)
6388 (lisp-lambda-list-keyword-parameter-alignment)
6389 (lisp-lambda-list-keyword-alignment): New customizable user options.
6390 (lisp-indent-defun-method): Improve docstring.
6391 (extended-loop-p): Fix comment.
6392 (lisp-indent-lambda-list-keywords-regexp): New variable.
6393 (lisp-indent-lambda-list): New function.
6394 (lisp-indent-259): Use it.
6395 (lisp-indent-defmethod): Support for more than one
6396 method qualifier and properly indent methods lambda-lists.
6397 (defgeneric): Provide a missing common-lisp-indent-function property.
6398
f278f87f
SM
63992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6402 bounds for the empty string (bug#8667).
6403
5233edd7
GM
64042011-05-13 Glenn Morris <rgm@gnu.org>
6405
5237a44f
GM
6406 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6407
8340026c 6408 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6409 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6410
5233edd7 6411 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6412 (appt-time-msg-list): Doc fix.
a5464014 6413 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6414
92d10796
AS
64152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6416
6417 * progmodes/ld-script.el (ld-script-keywords)
6418 (ld-script-builtins): Update keywords list.
6419
914a0ae1
SM
64202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6421
c89be45f
SM
6422 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6423
914a0ae1
SM
6424 * shell.el (shell-completion-vars): New function.
6425 (shell-mode):
6426 * simple.el (read-shell-command): Use it.
6427 (blink-matching-open): No need for " [...]" in minibuffer-message.
6428
98dc3df3
GM
64292011-05-12 Glenn Morris <rgm@gnu.org>
6430
6431 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6432 (appt-check): Simplify.
6433
d2fc7e3d 64342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6435
4d61f28d 6436 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6437 literal "/dev/null".
6438
d2fc7e3d 64392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6440
6441 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6442 Fix typo.
6443
d2fc7e3d 64442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6445
3f254caa
SM
6446 * progmodes/which-func.el (which-function):
6447 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6448 which might not be defined (Bug#8260).
6449
d45885f7
GM
64502011-05-12 Glenn Morris <rgm@gnu.org>
6451
6452 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6453 Let byte-compile-initial-macro-environment always take precedence.
6454
488086f4
SM
64552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * net/rcirc.el: Add support for SSL/TLS connections.
6458 (rcirc-server-alist): New field `encryption'.
6459 (rcirc): Check `encryption' settings.
6460 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6461 Merge make-local-variable into `set'.
6462 (rcirc--connection-open-p): New function.
6463 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6464 the process is not a network process (e.g. running gnutls-cli).
6465 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6466 Make rcirc-(en|de)code-coding-system local here.
6467 (rcirc-mode): Merge make-local-variable into `set'.
6468 (rcirc-parent-buffer): Make permanent buffer-local.
6469 (rcirc-multiline-minor-mode): Don't do it here.
6470 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6471 there's no server buffer.
6472
7d3b9d44
GM
64732011-05-11 Glenn Morris <rgm@gnu.org>
6474
f64049c6
GM
6475 * newcomment.el (comment-kill): Prefix "unused" local.
6476
93c9df73
GM
6477 * term/w32console.el (get-screen-color): Declare.
6478
7d3b9d44
GM
6479 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6480 Handle symbol elements of byte-compile-initial-macro-environment.
6481
9e2dd53f
LL
64822011-05-10 Leo Liu <sdl.web@gmail.com>
6483
488086f4
SM
6484 * bookmark.el (bookmark-bmenu-mode-map):
6485 Bind bookmark-bmenu-search to `/'.
8b340240 6486
9e2dd53f 6487 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6488 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6489 (Footnote-unicode): New function.
6490 (footnote-style-alist): Add unicode style to the list.
6491 (footnote-style): Doc fix.
9e2dd53f 6492
79b70037
GM
64932011-05-10 Jim Meyering <meyering@redhat.com>
6494
6495 Fix doubled-word typos.
6496 * international/quail.el (quail-insert-kbd-layout): and and -> and
6497 * kermit.el: and and -> and
6498 * net/ldap.el (ldap-search-internal): to to -> to
6499 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6500 * progmodes/js.el (js-mode): and and -> and
6501 * textmodes/artist.el (artist-move-to-xy): at at -> at
6502 (artist-draw-region-trim-line-endings): if if -> if
6503 And Safetyc -> Safety.
6504 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6505
b8f82dc1 65062011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6507 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6508
6509 * files.el (hack-one-local-variable-eval-safep):
6510 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6511
4f99f44b
GM
65122011-05-10 Glenn Morris <rgm@gnu.org>
6513
6514 * calendar/diary-lib.el (diary-list-entries-hook)
6515 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6516 (diary-nongregorian-marking-hook, diary-list-entries)
6517 (diary-include-other-diary-files, diary-mark-entries)
6518 (diary-mark-included-diary-files): Doc fixes.
6519
84f29e6b
JB
65202011-05-09 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * misc.el: Require tabulated-list.el during compilation.
6523
9bedd73a
CY
65242011-05-09 Chong Yidong <cyd@stupidchicken.com>
6525
488086f4
SM
6526 * progmodes/compile.el (compilation-start):
6527 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6528 (compilation-filter-hook): Doc fix.
6529
797c735c
DD
65302011-05-09 Deniz Dogan <deniz@dogan.se>
6531
6532 * wdired.el: Remove outdated installation comment. Fix usage
6533 comment.
6534
5f4b1dfe
JB
65352011-05-09 Juanma Barranquero <lekktu@gmail.com>
6536
6537 * misc.el: Implement new command `list-dynamic-libraries'.
6538 (list-dynamic-libraries--loaded-only-p): New variable.
6539 (list-dynamic-libraries--refresh): New function.
6540 (list-dynamic-libraries): New command.
6541
4c44026c
CY
65422011-05-09 Chong Yidong <cyd@stupidchicken.com>
6543
488086f4
SM
6544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6545 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6546 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6547 higher priority to avoid clobbering by gnu.
6548
027f966d
CY
65492011-05-08 Chong Yidong <cyd@stupidchicken.com>
6550
6551 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6552 if the face has existing theme settings (Bug#8454).
6553
085f5d7d
CY
65542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6555
488086f4
SM
6556 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6557 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6558
2a86a00c
RS
6559 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6560 special file names `.' and `..' (Bug#8259).
6561
d9c54a06
CY
65622011-05-08 Chong Yidong <cyd@stupidchicken.com>
6563
488086f4
SM
6564 * progmodes/grep.el (grep-mode-font-lock-keywords):
6565 Remove buffer-changing entries.
d9c54a06
CY
6566 (grep-filter): New function.
6567 (grep-mode): Add it to compilation-filter-hook.
6568
6569 * progmodes/compile.el (compilation-filter-hook)
6570 (compilation-filter-start): New defvars.
6571 (compilation-filter): Call compilation-filter-hook prior to
6572 updating the process mark.
6573
c4662635
SM
65742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6577
b0512a1d
EZ
65782011-05-07 Eli Zaretskii <eliz@gnu.org>
6579
605c9376
EZ
6580 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6581 mailclient-send-it even if window-system is nil. (Bug#8595)
6582
c4662635
SM
6583 * term/w32console.el (terminal-init-w32console):
6584 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6585 background-mode. (Bug#8597)
6586
d1dc2cc2
SM
65872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6590 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6591 New functions.
6592 (defgeneric, eieio--defmethod): Use them.
6593 (eieio-defgeneric): Remove.
6594 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6595
915d1300
GM
65962011-05-07 Glenn Morris <rgm@gnu.org>
6597
a3961c3e
GM
6598 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6599 Use let rather than let*.
6600 (timeclock-find-discrep): Remove unused local.
6601
314347b9
GM
6602 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6603
915d1300
GM
6604 * calendar/appt.el (appt-time-msg-list): Doc fix.
6605
275b59b0
NF
66062011-05-06 Noah Friedman <friedman@splode.com>
6607
6608 * apropos.el (apropos-print-doc): Only use
6609 emacs-lisp-docstring-fill-column when it is bound to an integer,
6610 per that variable's documentation.
6611
6c19f744
SM
66122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6615 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6616
60f884b2
GM
66172011-05-06 Glenn Morris <rgm@gnu.org>
6618
5006e634
GM
6619 * calendar/appt.el (appt-message-warning-time): Doc fix.
6620 (appt-warning-time-regexp): New option.
6621 (appt-make-list): Respect appt-message-warning-time.
6622
548d0a63
GM
6623 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6624 New options.
6625 (diary-add-to-list): Strip comments from the displayed string.
6626 (diary-mode): Set comment-start and comment-end.
6627
60f884b2
GM
6628 * vc/diff-mode.el (smerge-refine-subst): Declare.
6629 (diff-refine-hunk): Don't require smerge-mode when compiling.
6630
989681bb
JB
66312011-05-06 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * simple.el (list-processes): Return nil as the docstring says.
6634
a6bc05e1
MA
66352011-05-05 Michael Albinus <michael.albinus@gmx.de>
6636
6637 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6638 to "".
6639 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6640 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6641 determining of binary transfer. (Bug#7383)
6642
23c22e9a
MA
66432011-05-05 Michael Albinus <michael.albinus@gmx.de>
6644
c4662635
SM
6645 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6646 Fix port computation bug. (Bug#8618)
23c22e9a 6647
0bff894f
GM
66482011-05-05 Glenn Morris <rgm@gnu.org>
6649
b8296902
GM
6650 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6651
1f522ce8
GM
6652 * simple.el (shell-dynamic-complete-functions)
6653 (comint-dynamic-complete-functions): Declare.
6654
cf5bee67
GM
6655 * net/network-stream.el (gnutls-negotiate):
6656 * simple.el (tabulated-list-print): Fix declarations.
6657
6658 * progmodes/gud.el (syntax-symbol, syntax-point):
6659 Remove unnecessary and incorrect declarations.
6660
0bff894f
GM
6661 * emacs-lisp/check-declare.el (check-declare-scan):
6662 Handle byte-compile-initial-macro-environment in bytecomp.el
6663
9869b3ae
SM
66642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 Fix earlier half-done eieio-defmethod change (bug#8338).
6667 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6668 Streamline and change calling convention.
6669 (defmethod): Adjust accordingly and simplify.
6670 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6671 new eieio--defmethod.
6672 (slot-boundp): Minor CSE simplification.
6673
9c1d5ac5
MZ
66742011-05-05 Milan Zamazal <pdm@zamazal.org>
6675
6676 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6677 (glasses-make-readable): Use glasses-separate-capital-groups.
6678
455c834e
JB
66792011-05-05 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6682 (warning-series): Doc fix.
6683 (display-warning): Don't try to create the buffer if we just found it.
6684
9ed7c8cb
CY
66852011-05-04 Chong Yidong <cyd@stupidchicken.com>
6686
6687 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6688 (autoload-find-generated-file): New function.
6689 (generate-file-autoloads): Bind generated-autoload-file to
6690 buffer-file-name.
9869b3ae
SM
6691 (update-file-autoloads, update-directory-autoloads):
6692 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6693 output file (Bug#7989).
6694 (batch-update-autoloads): Doc fix.
6695
0898ca10
JB
66962011-05-04 Juanma Barranquero <lekktu@gmail.com>
6697
6698 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6699
31dfb76c
GM
67002011-05-04 Glenn Morris <rgm@gnu.org>
6701
f330b642
GM
6702 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6703 function, so it follows changes in calendar-date-style.
6704 (diary-fancy-date-matcher): New function.
6705 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6706 (diary-fancy-font-lock-fontify-region-function):
6707 Use diary-fancy-date-pattern as a function.
6708
31dfb76c
GM
6709 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6710 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6711
48e79d6a
TZ
67122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6713
6714 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6715 instead of positional arguments. Allow :keylist and :crlfiles
6716 arguments.
6717 (open-gnutls-stream): Call it.
6718
6719 * net/network-stream.el (network-stream-open-starttls): Adjust to
6720 call `gnutls-negotiate' with :process and :hostname arguments.
6721
dd5a5ee0
SM
67222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6723
ef80fc09
SM
6724 * minibuffer.el (completion--message): New function.
6725 (completion--do-completion, minibuffer-complete)
6726 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6727 (completion--do-completion): Don't ignore completion-auto-help when in
6728 icomplete-mode.
6729
dd5a5ee0
SM
6730 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6731 internal encoding (e.g. tibetan zero is not whitespace).
6732 (global-whitespace-mode): Prefer save-current-buffer.
6733 (whitespace-trailing-regexp): Remove useless save-match-data.
6734 (whitespace-empty-at-bob-regexp): Minor simplification.
6735
b7d22a83
CY
67362011-05-03 Chong Yidong <cyd@stupidchicken.com>
6737
6738 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6739
5192af46
AM
67402011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6741
6742 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6743 Use `concat' to create string for insertion.
5192af46 6744
5767d190
SM
67452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6748 Avoid open-line which runs post-self-insert-hook.
6749 (bibtex-fill-entry): Remove unused `end' var.
6750
bf242939
AM
67512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6752
5767d190
SM
6753 * textmodes/ispell.el (ispell-add-per-file-word-list):
6754 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6755
25666126
LL
67562011-05-03 Leo Liu <sdl.web@gmail.com>
6757
6758 * isearch.el (isearch-yank-pop): New command.
5767d190 6759 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6760 (isearch-forward): Mention it.
6761
52d3c2d0
SM
67622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6763
1bcace58
SM
6764 * simple.el (minibuffer-complete-shell-command): Remove.
6765 (minibuffer-local-shell-command-map): Use completion-at-point.
6766 (read-shell-command): Setup completion vars here instead.
6767 (read-expression-map): Bind TAB to symbol completion.
6768
52d3c2d0
SM
6769 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6770 error directly rather via storing it into `results'.
6771
35813471
LL
67722011-05-02 Leo Liu <sdl.web@gmail.com>
6773
6774 * vc/diff.el: Fix description.
6775
e793a940
LMI
67762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6777
6778 * server.el (server-eval-at): New function.
6779
8de66e05
LMI
67802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781
6782 * net/network-stream.el (open-network-stream): Take a :nowait
6783 parameter and pass it on to `make-network-process'.
6784 (network-stream-open-plain): Ditto.
6785
dcb79f20
AS
67862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6787
6788 * faces.el (face-spec-set-match-display): Don't match toolkit
6789 options on terminal frames.
6790
14a7fbd8
SM
67912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6792
7eabc1be
SM
6793 * progmodes/pascal.el: Use lexical binding.
6794 (pascal-mode-map): Remove author preferences.
6795
14a7fbd8
SM
6796 * pcomplete.el (pcomplete-std-complete): Don't abuse
6797 completion-at-point.
6798
50f84510
JB
67992011-04-28 Juanma Barranquero <lekktu@gmail.com>
6800
6e087a44
JB
6801 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6802 removing code that has been dead since 1991 or so.
6803
50f84510
JB
6804 * startup.el (command-line): When warning about "_emacs", use a
6805 delayed warning to allow the user to filter it out.
6806
0ba690bd
DD
68072011-04-28 Deniz Dogan <deniz@dogan.se>
6808
6809 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6810 user has not joined.
6811
08abfaad
SM
68122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6815 aren't any completions at point.
6816
638f053a
JB
68172011-04-28 Juanma Barranquero <lekktu@gmail.com>
6818
6819 * subr.el (display-delayed-warnings): New function.
6820 (delayed-warnings-hook): New variable.
6821
8fff8daa
SM
68222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6823
08abfaad
SM
6824 * minibuffer.el (completion-at-point, completion-help-at-point):
6825 Don't presume that a given completion-at-point-function will always
6826 use the same calling convention.
6827
8fff8daa
SM
6828 * pcomplete.el (pcomplete-completions-at-point):
6829 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6830 pcomplete-seen is non-nil.
6831 (pcomplete-comint-setup): Also recognize the new comint/shell
6832 completion functions.
6833 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6834 pcomplete-seen is non-nil.
6835
841a1577 68362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6837
841a1577 6838 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6839 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6840 the first character in the entry. This allows for code to add its
211ec907
UJ
6841 own uid to the entry.
6842 (icalendar--convert-float-to-ical): Add export of
6843 `diary-float'-entries save for those with the optional DAY
6844 argument.
6845
2a782793
DC
68462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6847
6848 * subr.el (shell-quote-argument): Use alternate escaping strategy
6849 when we spot a variable reference in a string.
6850
0438ce91
DC
68512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6852
6853 * cus-start.el (all): Define customization for debug-on-event.
6854
841a1577 68552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6856
6857 * subr.el (shell-quote-argument): Escape correctly under Windows.
6858
d090ed6c
SM
68592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6862
bfd31217
MA
68632011-04-25 Michael Albinus <michael.albinus@gmx.de>
6864
d090ed6c
SM
6865 * net/tramp.el (tramp-process-actions): Add POS argument.
6866 Delete region between POS and (pos).
bfd31217 6867
d090ed6c
SM
6868 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6869 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6870 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6871
6872 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6873 position in `tramp-process-actions' call.
6874
6875 * net/trampver.el: Update release number.
6876
e92f3bd3
SM
68772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6878
850256b5
SM
6879 * custom.el (defcustom): Obey lexical-binding.
6880
e92f3bd3
SM
6881 Fix octave-inf completion problems reported by Alexander Klimov.
6882 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6883 Inherit from octave-mode-syntax-table.
6884 (inferior-octave-mode): Set info-lookup-mode.
6885 (inferior-octave-completion-at-point): New function.
6886 (inferior-octave-complete): Use it and completion-in-region.
6887 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6888 comint-filename-completion.
6889 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6890 symbol elements which shouldn't be word elements.
6891 (octave-font-lock-keywords, octave-beginning-of-defun)
6892 (octave-function-header-regexp): Adjust regexps accordingly.
6893 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6894
cd22b309
JB
68952011-04-25 Juanma Barranquero <lekktu@gmail.com>
6896
6897 * net/gnutls.el (gnutls-errorp): Declare before first use.
6898
8b492194
TZ
68992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6900
6901 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6902 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6903 default trustfile exists before going to use it. Add missing
6904 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6905 Reported by Claudio Bley <claudio.bley@gmail.com>.
6906 (open-gnutls-stream): Add usage example.
6907
6908 * net/network-stream.el (network-stream-open-starttls): Give host
6909 parameter to `gnutls-negotiate'.
6910 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6911 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6912
841a1577 69132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6914
cd22b309
JB
6915 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6916 Use correct match group (bug#8438).
05842630 6917
3ba7869c
CY
69182011-04-24 Chong Yidong <cyd@stupidchicken.com>
6919
512e3ae1
CY
6920 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6921 (package-menu--generate): New arg specifying packages to show.
6922 (package-menu-refresh, package-menu-execute, list-packages):
6923 Callers changed.
6924 (package-show-package-list): New function, replacing deleted
6925 package--list-packages (renamed because it is non-internal).
6926
6927 * finder.el (finder-list-matches): Use package-show-package-list
6928 instead of deleted package--list-packages.
6929
e92f3bd3
SM
6930 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6931 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6932 (vc-annotate-mode-map): Bind it to RET.
6933
7031be6d
UR
69342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6935
6936 * progmodes/etags.el (next-file): Don't use set-buffer to change
6937 buffers (Bug#8478).
6938
4ef177aa
CY
69392011-04-24 Chong Yidong <cyd@stupidchicken.com>
6940
c8d173eb
CY
6941 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6942
4ef177aa
CY
6943 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6944 (apropos-accumulator): Doc fix.
6945 (apropos-function, apropos-macro, apropos-command)
6946 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6947 (apropos-plist): Add face property.
6948 (apropos-symbols-internal): Fix indentation.
6949 (apropos-print): Simplify help, and recognize apropos-multi-type.
6950 (apropos-print-doc): Use button-type-get to extract the button's
6951 face property. Fill docstring (Bug#8352).
6952
4ffd0d6b 69532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6954
6955 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6956
c6c32125 6957 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6958 (mpuz-mode-map): Use mapc.
c6c32125
JB
6959 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6960 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6961 Fix typos in docstrings.
6962
58d468b4
JB
6963 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6964 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6965
6470c3c6
JB
6966 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6967
4ffd0d6b 69682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6969
6970 * minibuffer.el (completion--do-completion): Avoid the "Next char
6971 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6972
3ad8bad0
CY
6973 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6974 mouse-2 into unread-command-events, it is interpreted correctly.
6975
71d73c9c 6976 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6977 (image-toggle-display): Doc fix.
71d73c9c 6978
841a1577 69792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6980
4ffd0d6b
GM
6981 * textmodes/page.el (what-page): Use line-number-at-pos to
6982 calculate line number (Bug#6825).
6e1dbaa9 6983
c2fb1b60
JB
69842011-04-22 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6987 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6988 Pass argument NO-DEFAULT to `find-tag-interactive'.
6989
e02f48d7
JB
69902011-04-22 Juanma Barranquero <lekktu@gmail.com>
6991
6992 Lexical-binding cleanup.
6993
6994 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6995 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6996 * progmodes/ada-prj.el (ada-prj-initialize-values)
6997 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6998 (ada-prj-show-value):
6999 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7000 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7001 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7002 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7003 * progmodes/bug-reference.el (bug-reference-push-button):
7004 * progmodes/fortran.el (fortran-line-length):
7005 * progmodes/glasses.el (glasses-change):
7006 * progmodes/octave-mod.el (octave-fill-paragraph):
7007 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7008 (python-pdbtrack-grub-for-buffer, python-sentinel):
7009 * progmodes/sql.el (sql-save-connection):
7010 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7011 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7012 Mark unused parameters.
7013
7014 * progmodes/compile.el (compilation--flush-directory-cache)
7015 (compilation--flush-parse, compile-internal): Mark unused parameters.
7016 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7017 (compilation-next-error-function): Remove unused variable `timestamp'.
7018
7019 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7020 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7021
7022 * progmodes/dcl-mode.el (dcl-end-of-command):
7023 Remove unused variable `start'.
7024 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7025 (dcl-option-value-basic, dcl-option-value-offset)
7026 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7027 Mark unused parameters.
7028 (dcl-save-local-variable): Remove unused variable `val'.
7029 (mode): Declare.
7030
7031 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7032 Mark unused parameters.
7033 (delphi-ignore-changes): Move before first use.
7034 (delphi-charset-token-at): Remove unused variable `start'.
7035 (delphi-else-start): Remove unused variable `if-count'.
7036 (delphi-comment-block-start, delphi-comment-block-end):
7037 Remove unused variable `kind'.
7038 (delphi-indent-line): Remove unused variable `new-point'.
7039
7040 * progmodes/ebrowse.el (ebrowse-files-list)
7041 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7042 Mark unused parameters. Don't quote `lambda'.
7043 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7044 Don't quote `lambda'.
7045 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7046 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7047 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7048 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7049 Use `ignore-errors'.
7050 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7051 (ebrowse-view/find-file-and-search-pattern)
7052 (ebrowse-view/find-member-declaration/definition):
7053 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7054 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7055 Rename parameter PREFIX-ARG to PREFIX.
7056 (ebrowse-tags-read-name): Remove unused variables `start' and
7057 `member-info'.
7058 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7059 to `tags-file'.
7060
7061 * progmodes/etags.el (local-find-tag-hook): Declare.
7062 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7063 Mark unused parameters.
7064
7065 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7066 (executable-interpret): Mark unused parameter.
7067
7068 * progmodes/flymake.el (flymake-process-sentinel)
7069 (flymake-after-change-function)
7070 (flymake-create-temp-with-folder-structure)
7071 (flymake-get-include-dirs-dot): Mark unused parameters.
7072 (flymake-safe-delete-directory): Remove unused variable `err'.
7073
7074 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7075 (speedbar-timer-fn, speedbar-line-text)
7076 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7077 (speedbar-center-buffer-smartly): Declare functions.
7078 (gdb-find-watch-expression): Remove unused variable `array'.
7079 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7080 (gdb-starting): Mark unused parameters.
7081 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7082 (gdb-table-string): Remove unused variable `res'.
7083 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7084 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7085 (gdb-display-buffer): Remove unused variable `cur-size'.
7086
7087 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7088 allow lexical-binding compilation.
7089 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7090 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7091 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7092 Mark unused parameters.
7093 (gud-gdb-marker-filter): Remove unused variable `match'.
7094 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7095 lambda expressions and funcall them, instead of using `fset'.
7096
7097 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7098 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7099
7100 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7101 variable `header-beg'; use `let'.
7102
7103 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7104 `restart', `last-sexp' and `at-do'.
7105
7106 * progmodes/js.el (js--debug): Mark unused parameter.
7107 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7108 (js--splice-into-items): Remove unused variable `item'.
7109 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7110
7111 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7112 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7113 (makefile-complete): Remove unused variable `try'.
7114 (makefile-fill-paragraph, makefile-match-function-end):
7115 Mark unused parameters.
7116
7117 * progmodes/octave-inf.el (inferior-octave-complete):
7118 Remove unused variable `proc'.
7119 (inferior-octave-output-digest): Mark unused parameter.
7120
7121 * progmodes/perl-mode.el (perl-calculate-indent):
7122 Remove unused variable `err'.
7123
7124 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7125 (prolog-indent-line): Mark unused parameters.
7126 (prolog-indent-line): Remove unused variable `beg'.
7127
7128 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7129 (reporter-dont-compact-list): Declare.
7130
7131 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7132 Remove unused variable `char'.
7133 (sh-debug): Mark unused parameter.
7134 (sh-get-indent-info): Remove unused variable `start'.
7135 (sh-calculate-indent): Remove unused variable `var'.
7136
7137 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7138 (simula-electric-keyword): Remove unused variable `null'.
7139 (simula-search-backward, simula-search-forward): Remove unused
7140 variables `begin' and `end'.
7141
7142 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7143 Remove unused variable `pos'.
7144 (vera-electric-tab, vera-comment-uncomment-region):
7145 Mark unused parameters.
7146 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7147
7ede3b65
CY
71482011-04-22 Chong Yidong <cyd@stupidchicken.com>
7149
7150 * emacs-lisp/package.el (package--builtins, package-alist)
7151 (package-load-descriptor, package-built-in-p, package-activate)
7152 (define-package, package-installed-p)
7153 (package-compute-transaction, package-buffer-info)
7154 (package--push): Doc fix. Distinguish more clearly between
7155 version strings and version lists.
7156
121656e9
JB
71572011-04-21 Juanma Barranquero <lekktu@gmail.com>
7158
7159 Lexical-binding cleanup.
7160
7161 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7162 (5x5-make-mutate-best):
7163 * play/fortune.el (fortune-in-buffer):
7164 * play/gomoku.el (gomoku-init-display):
7165 * play/solitaire.el (solitaire, solitaire-do-check):
7166 * play/tetris.el (tetris-default-update-speed-function):
7167 Mark unused parameters.
7168
7169 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7170 (bubbles--shift): Remove unused variable `char-org'.
7171 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7172 (bubbles--show-images): Remove unused variable `char'.
7173
7174 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7175 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7176 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7177 (decipher-analyze-buffer): Use ?\s.
7178 (decipher-make-checkpoint): Remove unused variable `mapping'.
7179
7180 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7181
7182 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7183 Remove unused variable `result'; use `let'.
7184
7185 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7186 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7187 (gametree-children-shown-p, gametree-compute-reduced-score):
7188 Use `ignore-errors'.
7189
7190 * play/handwrite.el (ps-lpr-switches): Declare.
7191 (handwrite): Remove unused variables `pmin' and `lastp'.
7192
7193 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7194
7195 * play/landmark.el (landmark-init-display)
7196 (landmark-update-naught-weights): Mark unused parameters.
7197 (landmark-y): Remove unused variable `noise'. Simplify.
7198 (landmark-human-plays): Remove unused variable `score'.
7199
7200 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7201 (mpuz-try-proposal): Remove unused variable `game'.
7202
7203 * play/zone.el (life-patterns): Declare.
7204
80f499c7
JB
72052011-04-20 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * vc/vc.el (ediff-vc-internal): Declare function.
7208
024ff170
SM
72092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7210
c0a193ea
SM
7211 * shell.el: Use lexical-binding and std completion UI.
7212 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7213 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7214 comint-preoutput-filter-functions rather than on
7215 comint-output-filter-functions.
7216 (shell-command-completion, shell--command-completion-data)
7217 (shell-filename-completion, shell-environment-variable-completion)
7218 (shell-c-a-p-replace-by-expanded-directory): New functions.
7219 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7220 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7221 (shell-dynamic-complete-environment-variable): Use them.
7222 (shell-dynamic-complete-as-environment-variable)
7223 (shell-dynamic-complete-as-command): Remove.
7224 (shell-match-partial-variable): Match past point.
7225 * comint.el: Clean up use of completion-at-point-functions.
7226 (comint-completion-at-point): New function.
7227 (comint-mode): Use it completion-at-point-functions.
7228 (comint-dynamic-complete): Make it obsolete.
7229 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7230 (comint-c-a-p-replace-by-expanded-history): New function.
7231 (comint-dynamic-complete-functions)
7232 (comint-replace-by-expanded-history): Use it.
7233 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7234 termination strings. Try harder to avoid second try-completion.
7235 (completion-in-region-mode-map): Disable bindings that don't work yet.
7236
2dbaa080
SM
7237 * comint.el: Use lexical-binding. Require CL.
7238 (comint-dynamic-complete-functions): Use comint-filename-completion.
7239 (comint-completion-addsuffix): Tweak custom type.
7240 (comint-filename-completion, comint--common-suffix)
7241 (comint--common-quoted-suffix, comint--table-subvert)
7242 (comint--complete-file-name-data): New functions.
7243 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7244 (comint-dynamic-list-filename-completions): Use them.
7245 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7246
2dbaa080
SM
7247 * minibuffer.el (completion-in-region-mode):
7248 Keep completion-in-region-mode--predicate global.
7249 (completion-in-region--postch):
7250 Assume completion-in-region-mode--predicate is not null.
7251
c79a6f38
SM
7252 * progmodes/flymake.el (flymake-start-syntax-check-process):
7253 Obey `dir'. Simplify.
7254
024ff170
SM
7255 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7256 we're in VC after all.
7257
1c6c854e
CS
72582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7259
7260 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7261 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7262 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7263
bed7f140
SM
72642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7265
332e62ab
SM
7266 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7267 add sanity check.
7268
bed7f140
SM
7269 * obsolete/erc-hecomplete.el: Make obsolete.
7270 * obsolete/: Standardize obsolescence info in the header.
7271
f195c582
GM
72722011-04-20 Glenn Morris <rgm@gnu.org>
7273
7274 * calendar/solar.el (solar-horizontal-coordinates):
7275 Use the longitude argument rather than `calendar-longitude'.
7276 (solar-date-next-longitude): Remove unused locals.
7277
cb79b8c0
VJL
72782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7279
7280 * whitespace.el: New version 13.2.1.
7281
72822011-04-20 felix <EmacsWiki> (tiny change)
7283
d8e4b68b 7284 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7285 switching between major modes on a file.
7286
602ea69d
SM
72872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7290 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7291 multi-line comments as well.
7292
06b60517
JB
72932011-04-19 Juanma Barranquero <lekktu@gmail.com>
7294
7295 Lexical-binding cleanup.
7296
7297 * arc-mode.el (archive-mode-revert):
7298 * cmuscheme.el (scheme-interactively-start-process):
7299 * custom.el (custom-initialize-delay):
7300 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7301 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7302 * emacs-lock.el (emacs-lock-clear-sentinel):
7303 * ezimage.el (defezimage):
7304 * follow.el (follow-avoid-tail-recenter):
7305 * fringe.el (set-fringe-mode-1):
7306 * generic-x.el (bat-generic-mode-compile):
7307 * help-mode.el (help-info-variable, help-do-xref)
7308 (help-mode-revert-buffer):
7309 * help.el (view-emacs-todo):
7310 * iswitchb.el (iswitchb-completion-help):
7311 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7312 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7313 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7314 * locate.el (locate-update):
7315 * longlines.el (longlines-encode-region)
7316 (longlines-after-change-function):
7317 * outline.el (outline-isearch-open-invisible):
7318 * ps-def.el (declare-function, charset-dimension, char-width)
7319 (encode-char):
7320 * ps-mule.el (ps-mule-plot-string):
7321 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7322 (recentf-edit-list-select, recentf-edit-list-validate)
7323 (recentf-open-files-action):
7324 * rect.el (delete-whitespace-rectangle-line)
7325 (rectangle-number-line-callback):
7326 * register.el (window-configuration-to-register)
7327 (frame-configuration-to-register):
7328 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7329 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7330 (xselect-convert-to-targets, xselect-convert-to-delete)
7331 (xselect-convert-to-filename, xselect-convert-to-charpos)
7332 (xselect-convert-to-lineno, xselect-convert-to-colno)
7333 (xselect-convert-to-os, xselect-convert-to-host)
7334 (xselect-convert-to-user, xselect-convert-to-class)
7335 (xselect-convert-to-name, xselect-convert-to-integer)
7336 (xselect-convert-to-atom, xselect-convert-to-identity):
7337 * subr.el (declare, ignore, process-kill-without-query)
7338 (text-clone-maintain):
7339 * terminal.el (te-get-char, te-tic-sentinel):
7340 * tool-bar.el (tool-bar-make-keymap):
7341 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7342 * type-break.el (type-break-mode, type-break-noninteractive-query):
7343 * view.el (View-back-to-mark):
7344 * wid-browse.el (widget-browse-action, widget-browse-widget)
7345 (widget-browse-widgets, widget-browse-sexp):
7346 * widget.el (define-widget-keywords):
7347 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7348 Mark unused parameters.
7349
7350 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7351 (align-areas): Remove unused variable `look'.
7352 (align-region): Remove unused variables `real-end' and `pos-list'.
7353
7354 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7355
7356 * bindings.el (mode-line-modified, mode-line-remote):
7357 Mark unused parameters.
7358 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7359
7360 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7361 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7362
7363 * comint.el (comint-history-isearch-pop-state)
7364 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7365 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7366 (comint-substitute-in-file-name): Doc fix.
7367
7368 * completion.el (cmpl-statistics-block): Mark unused parameter.
7369 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7370 (save-completions-to-file, load-completions-from-file):
7371 Remove unused local variable `e'.
7372
7373 * composite.el (compose-chars): Remove unused variable `len'.
7374 (lgstring-insert-glyph): Remove unused variable `g'.
7375 (compose-glyph-string): Remove unused variables `ascent',
7376 `descent', `lbearing' and `rbearing'.
7377 (compose-glyph-string-relative): Remove unused variables
7378 `lbearing', `rbearing' and `wadjust'.
7379 (compose-gstring-for-graphic): Remove unused variables `header',
7380 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7381 (compose-gstring-for-terminal): Remove unused variables `header'
7382 and `nchars'. Use `let', not `let*'.
7383
7384 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7385 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7386 (Custom-buffer-done, custom-buffer-create-internal)
7387 (custom-browse-visibility-action, custom-browse-group-tag-action)
7388 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7389 (widget-magic-mouse-down-action, custom-toggle-parent)
7390 (custom-add-parent-links, custom-toggle-hide-variable)
7391 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7392 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7393 (custom-face-menu-create, custom-variable-menu-create, get)
7394 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7395 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7396 (customize-apropos): Remove unused variable `tests'.
7397 (custom-group-value-create): Remove unused variable `hidden-p'.
7398 (sort-fold-case): Declare.
7399
7400 * cus-theme.el (custom-reset-standard-faces-list)
7401 (custom-reset-standard-variables-list): Declare.
7402 (customize-create-theme, custom-theme-revert, custom-theme-write)
7403 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7404 Mark unused parameters.
7405
7406 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7407
7408 * delim-col.el (delimit-columns-max): Move defvar before first use.
7409
7410 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7411 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7412
7413 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7414 (auto-insert): Declare.
7415 (desktop-restore-file-buffer): Rename desktop-* parameters;
7416 mark unused ones.
7417 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7418 (desktop-buffer): Rename desktop-* parameters.
7419
7420 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7421 (dframe-reposition-frame-xemacs, dframe-help-echo)
7422 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7423 Mark unused parameters.
7424
7425 * dired-aux.el (backup-extract-version-start, overwrite-query)
7426 (overwrite-backup-query, rename-regexp-query)
7427 (rename-non-directory-query): Declare.
7428 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7429 (dired-add-entry): Remove unused variable `orig-file-name'.
7430 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7431 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7432 `dired-copy-preserve-time' directly.
7433 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7434 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7435
7436 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7437 (dired-virtual-revert, dired-make-relative-symlink):
7438 Mark unused parameters.
7439 (manual-program): Declare.
7440 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7441 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7442 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7443
7444 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7445
7446 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7447
7448 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7449 Declare.
7450
7451 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7452
7453 * electric.el (Electric-command-loop): Rename parameter
7454 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7455
7456 * expand.el (expand-in-literal): Remove unused variable `here'.
7457
7458 * facemenu.el (facemenu-add-new-color):
7459 Remove unused variable `docstring'.
7460
7461 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7462 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7463 (face-attr-construct): Mark unused parameter. Doc fix.
7464 (read-color): Remove unused variable `hex-string'.
7465
7466 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7467 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7468 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7469 (display-buffer-other-frame): Remove unused variable `old-window'.
7470 (kill-buffer-hook): Declare.
7471 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7472 Mark unused parameters.
7473 (after-find-file): Pass 1 to `auto-save-mode', not t.
7474
7475 * files-x.el (auto-insert): Declare.
7476 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7477
7478 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7479 variable `buf'. Mark unused parameter.
06b60517
JB
7480 (find-lisp-insert-directory): Mark unused parameter.
7481
7482 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7483 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7484 (format-common-tail): Remove, unused.
7485 (format-deannotate-region): Remove unused variable `loc'.
7486 (format-annotate-region): Remove unused variable `p'.
7487 (format-annotate-single-property-change): Remove unused variables
7488 `default' and `tail'.
7489
7490 * forms.el (read-file-filter): Declare.
7491 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7492
7493 * frame.el (frame-creation-function-alist): Mark unused parameter.
7494 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7495
7496 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7497 Remove unused parameters.
7498 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7499 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7500
7501 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7502 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7503 (hfy-prepare-tag-map): Mark unused parameters.
7504 (htmlfontify-buffer): Use `called-interactively-p'.
7505
7506 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7507 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7508 (ibuffer-do-occur): Mark unused parameters.
7509 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7510 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7511
7512 * ibuffer.el: Don't quote `lambda'.
7513 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7514 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7515 Mark unused parameters.
7516
7517 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7518 (ido-completing-read): Mark unused parameters.
7519 (ido-copy-current-word): Mark unused parameters;
7520 remove unused variable `name'.
7521 (ido-sort-merged-list): Remove unused parameter `dirs'.
7522
7523 * ielm.el (ielm-input-sender): Mark unused parameter.
7524 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7525 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7526 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7527 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7528 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7529
7530 * image-dired.el (image-dired-display-thumbs): Remove unused
7531 variables `curr-file' and `count'.
7532 (image-dired-remove-tag): Remove unused variable `start'.
7533 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7534 variable `curr-file'
7535 (image-dired-rotate-original): Remove unused variable `temp-file'.
7536 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7537 Remove unused variable `file'.
7538 (image-dired-gallery-generate): Remove unused variable `curr'.
7539 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7540
7541 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7542
7543 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7544
7545 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7546
7547 * isearch.el (minibuffer-history-symbol): Declare.
7548 (isearch-edit-string): Remove unused variable `err'.
7549 (isearch-message-prefix, isearch-message-suffix):
7550 Mark unused parameters.
7551
7552 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7553
7554 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7555
7556 * makesum.el (double-column): Remove unused variable `cnt'.
7557
7558 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7559 (ido-ignore-item-temp-list): Declare.
7560
7561 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7562 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7563 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7564 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7565 `mouse-col-delta'.
7566
7567 * mouse-sel.el (mouse-extend-internal):
7568 Remove unused variable `orig-window-frame'.
7569
7570 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7571 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7572 Move declarations before first use.
7573 (pcomplete-opt): Mark unused parameters; doc fix.
7574
7575 * proced.el (proced-revert): Mark unused parameter.
7576 (proced-send-signal): Remove unused variable `err'.
7577
7578 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7579 Rename parameter PREFIX-ARG to ARG.
7580 (ps-basic-plot-string, ps-basic-plot-whitespace):
7581 Mark unused parameters.
7582
7583 * replace.el (replace-count): Define.
7584 (occur-revert-function): Mark unused parameters.
7585 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7586 (isearch-case-fold-search, isearch-string): Declare.
7587 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7588 bind `case-fold-search'. Remove unused variables `beg' and `end',
7589 and simplify.
7590 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7591 COUNT and bind `replace-count'.
7592 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7593 to COUNT.
7594
7595 * savehist.el (print-readably, print-string-length): Declare.
7596
7597 * shadowfile.el (shadow-expand-cluster-in-file-name):
7598 Remove unused variable `cluster'.
7599 (shadow-copy-file): Remove unused variable `i'.
7600 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7601 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7602 (shadow-define-literal-group, shadow-define-regexp-group)
7603 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7604
7605 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7606 (shell): Use `called-interactively-p'.
7607 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7608
7609 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7610 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7611 (delete-backward-char): Remove unused variable `ocol'.
7612 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7613 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7614 (event-apply-hyper-modifier, event-apply-shift-modifier)
7615 (event-apply-control-modifier, event-apply-meta-modifier):
7616 Mark unused parameters.
7617 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7618 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7619
7620 * speedbar.el (speedbar-ignored-directory-expressions)
7621 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7622 (speedbar-find-file, speedbar-dir-follow)
7623 (speedbar-directory-buttons-follow, speedbar-tag-find)
7624 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7625 (speedbar-buffers-line-directory, speedbar-buffer-click):
7626 Mark unused parameters.
7627 (speedbar-tag-file): Remove unused variable `mode'.
7628 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7629
7630 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7631
7632 * talk.el (talk): Remove unused variable `display'.
7633
7634 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7635 (tar-write-region-annotate): Mark unused parameter.
7636
7637 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7638 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7639 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7640 warning by another.
7641
7642 * time-stamp.el (time-stamp-string-preprocess):
7643 Remove unused variable `require-padding'.
7644
7645 * tree-widget.el (widget-glyph-enable): Declare.
7646 (tree-widget-action): Mark unused parameter.
7647
7648 * w32-fns.el (x-get-selection): Mark unused parameter.
7649 (autoload-make-program, generated-autoload-file): Declare.
7650
7651 * wdired.el (wdired-revert): Mark unused parameters.
7652 (wdired-xcase-word): Remove unused variable `err'.
7653
7654 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7655 (whitespace-help-scroll): Remove unused variable `data-help'.
7656
7657 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7658 (widget-image-insert, widget-after-change, default)
7659 (widget-default-format-handler, widget-default-notify)
7660 (widget-default-prompt-value, widget-info-link-action)
7661 (widget-url-link-action, widget-function-link-action)
7662 (widget-variable-link-action, widget-file-link-action)
7663 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7664 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7665 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7666 (widget-insert-button-action, widget-delete-button-action, visibility)
7667 (widget-documentation-link-action, widget-documentation-string-action)
7668 (widget-const-prompt-value, widget-regexp-match, symbol)
7669 (widget-coding-system-prompt-value)
7670 (widget-key-sequence-value-to-external, sexp)
7671 (widget-sexp-value-to-internal, character, vector, cons)
7672 (widget-choice-prompt-value, widget-boolean-prompt-value)
7673 (widget-color--choose-action): Mark unused parameters.
7674 (widget-item-match-inline, widget-choice-match-inline)
7675 (widget-checklist-match, widget-checklist-match-inline)
7676 (widget-group-match): Rename parameter VALUES to VALS.
7677 (widget-field-value-set): Remove unused variable `size'.
7678 (widget-color-action): Remove unused variables `value' and `start'.
7679
7680 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7681 variable `dir'. Doc fix.
06b60517
JB
7682 (windmove-find-other-window): Don't pass it.
7683
7684 * window.el (count-windows): Mark unused parameter.
7685 (bw-adjust-window): Remove unused variable `err'.
7686
7687 * woman.el (woman-file-name): Remove unused variable `default'.
7688 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7689 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7690 (global-font-lock-mode): Declare.
7691 (woman-decode-region): Mark unused parameter.
7692 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7693
7694 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7695 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7696 (x-dnd-handle-moz-url): Remove unused variable `title'.
7697 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7698
7699 * xml.el (xml-parse-tag, xml-parse-attlist):
7700 Remove unused variable `pos'.
7701
bc4f7f3d
GM
77022011-04-19 Glenn Morris <rgm@gnu.org>
7703
7704 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7705 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7706 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7707 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7708 * calendar/cal-html.el (cal-html-insert-minical):
7709 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7710 (calendar-mark-date-pattern):
7711 Prefix "unused" locals.
7712
7713 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7714 optional argument `style'.
7715
7716 * calendar/appt.el (appt-make-list):
7717 * calendar/cal-china.el (calendar-chinese-date-string):
7718 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7719 (diary-hebrew-yahrzeit):
7720 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7721 * calendar/calendar.el (calendar-generate-window):
7722 * calendar/time-date.el (time-to-days):
7723 Remove unused local variables.
7724
16a43933
CY
77252011-04-18 Chong Yidong <cyd@stupidchicken.com>
7726
7727 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7728 glyphless-char-display table.
7729 (tabulated-list-glyphless-char-display): New var.
7730
7eed1860
SS
77312011-04-18 Sam Steingold <sds@gnu.org>
7732
7733 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7734 to acknowledgments.
7735
4d2d1ccd
GM
77362011-04-17 Glenn Morris <rgm@gnu.org>
7737
7738 * calendar/diary-lib.el (diary-sexp-entry):
7739 * calendar/holidays.el (holiday-sexp):
7740 Set debug-on-error rather than the removed stack-trace-on-error.
7741
239da61d
GM
77422011-04-16 Glenn Morris <rgm@gnu.org>
7743
7744 * progmodes/f90.el: Use lexical-binding.
7745 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7746
8b05752a
SM
77472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7748
daca8ba5
SM
7749 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7750 (mail-mode): Setup mailalias completion here instead.
7751 * mail/mailalias.el: Use lexical-binding.
7752 (pattern, mailalias-done): Declare dynamic.
7753 (mail-completion-at-point-function): New function, from mail-complete.
7754 (mail-complete): Use it.
7755 (mail-completion-expand): New function.
7756 (mail-get-names): Use it.
7757 (mail-directory, mail-directory-process, mail-directory-stream):
7758 Don't use `pattern' for lexically bound arg.
7759
6f542485
SM
7760 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7761
037e7c3f
SM
7762 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7763 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7764 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7765
8b05752a
SM
7766 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7767 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7768 (byte-interactive-p): Define them again, for use when inlining
7769 old code.
7770
49093f60
JB
77712011-04-15 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * loadup.el: Use `string-to-number', not `string-to-int'.
7774
b5b8e7de
SM
77752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7778 gud-gdb-complete-command.
7779 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7780 (gud-gdb-completion-at-point): New function.
7781 (gud-gdb-completions): Remove.
7782
f42efeb5
MA
77832011-04-14 Michael Albinus <michael.albinus@gmx.de>
7784
49093f60
JB
7785 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7786 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7787 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7788 whether `executable-find' is bound.
f42efeb5
MA
7789
7790 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7791
e240cc21
SM
77922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * minibuffer.el (completion-in-region-mode-predicate)
7795 (completion-in-region-mode--predicate): New vars.
7796 (completion-in-region, completion-in-region--postch)
7797 (completion-in-region-mode): Use them.
7798 (completion--capf-wrapper): Also return the hook function.
7799 (completion-at-point, completion-help-at-point):
7800 Adjust and provide a predicate.
c2bd2ab0
SM
7801
7802 Preserve arg names for advice of subr and lexical functions (bug#8457).
7803 * help-fns.el (help-function-arglist): Consolidate the subr and
7804 new-byte-code cases. Add argument `preserve-names' to extract names
7805 from the docstring when needed.
7806 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7807 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7808 (ad-arglist): Use help-function-arglist's new arg.
7809 (ad-definition-type): Use cond.
7810
c183f693
JB
78112011-04-13 Juanma Barranquero <lekktu@gmail.com>
7812
06641a47
JB
7813 * autorevert.el (auto-revert-handler):
7814 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7815 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7816 Don't quote lambda.
7817
c183f693
JB
7818 * image-mode.el (image-transform-set-scale):
7819 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7820
1e3b6001
G
78212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7822
7823 * net/network-stream.el (network-stream-open-starttls): Only do
7824 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7825 Upgrades via gnutls-cli are too slow to be done opportunistically.
7826
2d6af8dd
JB
78272011-04-12 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * dframe.el (dframe-current-frame): Remove spurious quote.
7830
c0749a51
GM
78312011-04-12 Glenn Morris <rgm@gnu.org>
7832
088d0d61
GM
7833 * calendar/cal-tex.el (cal-tex-end-document):
7834 Try to automatically use latin1 input if needed.
7835
c0749a51
GM
7836 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7837 Don't try to cons a mark onto an empty element.
7838
5c90fde0
LL
78392011-04-11 Leo Liu <sdl.web@gmail.com>
7840
7841 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7842 buffers.
7843 (ido-kill-buffer-at-head): Support killing virtual buffers.
7844
369e974d
CY
78452011-04-10 Chong Yidong <cyd@stupidchicken.com>
7846
7847 * minibuffer.el (completion-show-inline-help): New var.
7848 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7849 (minibuffer-force-complete, minibuffer-complete-word):
7850 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7851
7852 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7853 to avoid interference from inline help (Bug#5849).
7854
37f1c930
LL
78552011-04-10 Leo Liu <sdl.web@gmail.com>
7856
099c39a4
JB
7857 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7858 Fix typo.
37f1c930 7859
a32d4040
CY
78602011-04-09 Chong Yidong <cyd@stupidchicken.com>
7861
7862 * image-mode.el (image-toggle-display-image): Signal an error if
7863 not in Image mode.
7864 (image-transform-mode, image-transform-resize)
7865 (image-transform-set-rotation): Doc fix.
daca8ba5 7866 (image-transform-set-resize): Delete.
a32d4040
CY
7867 (image-transform-set-scale, image-transform-fit-to-height)
7868 (image-transform-fit-to-width): Handle image-toggle-display-image
7869 and image-transform-resize directly.
7870
099c39a4 78712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7872
7873 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7874 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7875 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7876 (doc-view-mode-map): Add bindings for the new functions.
7877
099c39a4 78782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7879
4d61f28d 7880 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7881 Fix typo in docstring.
7882
3726838a
EZ
78832011-04-08 Eli Zaretskii <eliz@gnu.org>
7884
04f33f1e
EZ
7885 * files.el (file-size-human-readable): Produce one digit after
7886 decimal, like "ls -lh" does.
7887
7888 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7889 the file size representation.
7890
3726838a
EZ
7891 * simple.el (list-processes): If async subprocesses are not
7892 available, error out with a clear error message.
7893
cbb59342
CY
78942011-04-08 Chong Yidong <cyd@stupidchicken.com>
7895
7896 * help.el (help-form-show): New function, to be called from C.
7897 Put help-form output in a buffer named differently than *Help*.
7898
e3971c44
EZ
78992011-04-08 Eli Zaretskii <eliz@gnu.org>
7900
7901 * files.el (file-size-human-readable): New function.
7902
7903 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7904 computing the representation inline. Don't require `cl'.
7905
12544bbe
GM
79062011-04-08 Glenn Morris <rgm@gnu.org>
7907
a1de6c6a
GM
7908 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7909
3c4671f4
GM
7910 * net/browse-url.el (browse-url-firefox):
7911 Test system-type, not system-configuration.
7912
b605679c
GM
7913 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7914 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7915 Use log-edit-empty-buffer-p. (Bug#7598)
7916
56442f0c
GM
7917 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7918 (rlogin-mode-map): Initialize in the defvar.
7919 (rlogin): Use ignore-errors.
7920
12544bbe
GM
7921 * replace.el (occur-mode-map): Some fixes for menu items.
7922
eb237b0f
AH
79232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7924
7925 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7926
7d668f2c
CY
79272011-04-06 Chong Yidong <cyd@stupidchicken.com>
7928
e67a13ab
CY
7929 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7930 issuing unused warnings.
7931
7932 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7933 macro directly.
7934
7d668f2c
CY
7935 * simple.el: Lisp reimplement of list-processes. Based on an
7936 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7937 (process-menu-mode): New major mode.
7938 (list-processes--refresh, list-processes):
7939 (process-menu-visit-buffer): New functions.
7940
7941 * files.el (save-buffers-kill-emacs): Don't assume any return
7942 value of list-processes, which is undocumented anyway.
7943
a83ec3c9
CY
79442011-04-06 Chong Yidong <cyd@stupidchicken.com>
7945
7946 * emacs-lisp/tabulated-list.el: New file.
7947
e91a96fe
CY
7948 * emacs-lisp/package.el: Use Tabulated List mode.
7949 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7950 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7951 table format using Tabulated List mode variables.
7952 (package--push): New macro, replacing package-list-maybe-add.
7953 (package-menu--generate): Use package--push. Renamed from
7954 package--generate-package-list.
7955 (package-menu-refresh, list-packages): Use it.
daca8ba5 7956 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7957 Return insertion data instead of inserting it directly.
099c39a4
JB
7958 (package-menu-describe-package, package-menu-execute):
7959 Use tabulated-list-get-id.
e91a96fe
CY
7960 (package-menu-mark-delete, package-menu-mark-install)
7961 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7962 (package-menu-mark-obsolete-for-deletion):
7963 Use tabulated-list-put-tag.
e91a96fe
CY
7964 (package--list-packages, package-menu-revert)
7965 (package-menu-get-package, package-menu-get-version)
7966 (package-menu-sort-by-column): Functions deleted.
7967 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7968 (package-menu--status-predicate, package-menu--version-predicate)
7969 (package-menu--name-predicate)
7970 (package-menu--description-predicate): Handle arguments in the
7971 Tabulated List format.
7972 (package-list-packages-no-fetch): Call list-packages.
7973
3e214b50
JB
79742011-04-06 Juanma Barranquero <lekktu@gmail.com>
7975
7976 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7977 (after-find-file): Don't bind it.
3e214b50
JB
7978 (revert-buffer-in-progress-p): New variable.
7979 (revert-buffer): Bind it.
7980 Pass nil for `after-find-file-from-revert-buffer'.
7981
7982 * saveplace.el (save-place-find-file-hook): Use new variable
7983 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7984
3f0f1700
GM
79852011-04-06 Glenn Morris <rgm@gnu.org>
7986
c0274801
GM
7987 * Makefile.in (AUTOGEN_VCS): New variable.
7988 (autoloads): Use $AUTOGEN_VCS.
7989
3f0f1700
GM
7990 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7991 * calendar/calendar.el (calendar-mode-map):
7992 Check for toolkit scroll bars. (Bug#8305)
7993
41ea9e48
CY
79942011-04-05 Chong Yidong <cyd@stupidchicken.com>
7995
7996 * minibuffer.el (completion-in-region--postch)
7997 (completion-in-region-mode): Remove unnecessary messages.
7998
6194c800
JB
79992011-04-05 Juanma Barranquero <lekktu@gmail.com>
8000
33256f14
JB
8001 * font-lock.el (font-lock-refresh-defaults):
8002 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8003 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8004
6194c800
JB
8005 * info.el (Info-directory-list, Info-read-node-name-2)
8006 (Info-split-parameter-string): Doc fixes.
8007 (Info-virtual-nodes): Reflow docstring.
8008 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8009 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8010 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8011 Fix typos in docstrings.
8012 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8013 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8014 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8015 (Info-restore-desktop-buffer): Mark unused parameters.
8016 (Info-directory-find-file, Info-directory-find-node)
8017 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8018 (Info-virtual-index-find-node, Info-apropos-find-file)
8019 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8020 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8021 (Info-virtual-index): Remove unused local variable `nodename'.
8022
b87a8200 80232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8024
b87a8200
DD
8025 * net/rcirc.el: Update my e-mail address.
8026 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8027
3b2ff876
CY
80282011-04-05 Chong Yidong <cyd@stupidchicken.com>
8029
8030 * startup.el (command-line): Save the cursor's theme-face
8031 directly, instead of using face-override-spec.
8032
8033 * custom.el (load-theme): Minor optimization in assigning faces.
8034
8d17e7ca
JB
80352011-04-04 Juanma Barranquero <lekktu@gmail.com>
8036
8037 * help-fns.el (describe-variable): Complete all variables having
8038 documentation, including keywords.
8039 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8040
2fbc1934
JB
80412011-04-04 Juanma Barranquero <lekktu@gmail.com>
8042
8043 Convert to lexical-binding.
8044
8045 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8046 (bs--get-marked-string, bs--get-modified-string)
8047 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8048 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8049 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8050
8051 * ehelp.el (electric-help-execute-extended)
8052 (electric-help-ctrl-x-prefix):
8053 * hexl.el (hexl-revert-buffer-function):
8054 * linum.el (linum-after-change, linum-after-scroll):
8055 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8056
8057 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8058
74f50695
DU
80592011-04-04 Daiki Ueno <ueno@unixuser.org>
8060
8061 * epa-dired.el:
8062 * epa-mail.el:
8063 * epa-hook.el:
8064 * epa-file.el:
8065 * epa.el:
8066 * epg.el: Use lexical binding.
8067
c11325f7
CY
80682011-04-03 Chong Yidong <cyd@stupidchicken.com>
8069
0d9e9a12
CY
8070 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8071
c11325f7 8072 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8073 dictionary case for flyspell-mark-duplications-exceptions.
8074 Use regexp matching for languages.
c11325f7
CY
8075 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8076 default dictionary (Bug#7926).
8077
da91b5f2
CY
80782011-04-02 Chong Yidong <cyd@stupidchicken.com>
8079
099c39a4
JB
8080 * emacs-lisp/package.el (package--with-work-buffer):
8081 Recognize https URLs.
da91b5f2 8082
099c39a4
JB
8083 * net/network-stream.el: Move from gnus/proto-stream.el.
8084 Change prefix to network-stream throughout.
da91b5f2
CY
8085 (open-protocol-stream): Merge into open-network-stream, leaving
8086 open-protocol-stream as an alias. Handle nil BUFFER args.
8087
8088 * subr.el (open-network-stream): Move to net/network-stream.el.
8089
afa8e9f6
GM
80902011-04-02 Glenn Morris <rgm@gnu.org>
8091
1d2e369d
GM
8092 * find-dired.el (find-exec-terminator): New option.
8093 (find-ls-option): Test for -ls support.
8094 (find-ls-subdir-switches): Test for -b in find-ls-option.
8095 (find-dired, find-grep-dired): Doc fixes.
8096 (find-dired): Use find-exec-terminator.
8097
8abb7da8 8098 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8099 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8100 (find-name-arg): Remove purecopy.
8abb7da8 8101
f3ca7378
GM
8102 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8103 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8104 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8105 accordingly. Don't add the null-device if not needed.
8106
afa8e9f6
GM
8107 * files.el (save-some-buffers): Doc fix.
8108
35eae264
EZ
81092011-04-02 Eli Zaretskii <eliz@gnu.org>
8110
8111 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8112
26b51db5
JB
81132011-04-01 Juanma Barranquero <lekktu@gmail.com>
8114
8115 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8116 Use `dolist' rather than `mapcar'.
8117
7200d79c
SM
81182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8119
03408648 8120 Add lexical binding.
7200d79c 8121
03408648
SM
8122 * subr.el (apply-partially): Use new closures rather than CL.
8123 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8124 (dolist, dotimes): Use slightly different expansion for lexical code.
8125 (functionp): Move to C.
8126 (letrec): New macro.
8127 (with-wrapper-hook): Use it and apply-partially instead of CL.
8128 (eval-after-load): Preserve lexical-binding.
8129 (save-window-excursion, with-output-to-temp-buffer): Turn them
8130 into macros.
7200d79c 8131
03408648
SM
8132 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8133
8134 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8135 than the arglist.
8136 (help-add-fundoc-usage): Don't add `Not documented'.
8137 (help-function-arglist): Handle closures, subroutines, and new
8138 byte-code-functions.
8139 (help-make-usage): Remove leading underscores.
8140 (describe-function-1): Handle closures.
8141 (describe-variable): Use special-variable-p for completion.
8142
8143 * files.el (lexical-binding): Declare safe.
f488fb65 8144
03408648
SM
8145 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8146 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8147 (pcase): Add `let' pattern.
8148 Change memoization so it actually works.
8149 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8150 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8151 <let>: New case.
f488fb65 8152
03408648
SM
8153 * emacs-lisp/macroexp.el: Use lexical binding.
8154 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8155 Don't convert ' to #' without checking that it's indeed quoting
8156 a lambda.
8157
8158 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8159 Use eval-sexp-add-defvars.
03408648
SM
8160 (eval-sexp-add-defvars): New fun.
8161
8162 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8163
8164 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8165 Don't autoload.
8166 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8167 than the internal `byte-compile-lambda'.
8168 (defmethod): Don't hide code under quotes.
8169 (eieio-defmethod): New `code' argument.
8170
8171 * emacs-lisp/eieio-comp.el: Remove.
8172
8173 * emacs-lisp/edebug.el (edebug-eval-defun)
8174 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8175 (edebug-toggle): Avoid `eval'.
8176
8177 * emacs-lisp/disass.el (disassemble-internal): Handle new
8178 `closure' objects.
8179 (disassemble-1): Handle new byte codes.
8180
8181 * emacs-lisp/cl.el (pushnew): Silence warning.
8182
8183 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8184 (cl-byte-compile-throw): Remove.
8185 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8186
8187 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8188 closures.
8189
8190 * emacs-lisp/cconv.el: New file.
8191
8192 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8193 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8194 (byte-compile-initial-macro-environment):
8195 Handle declare-function here.
8196 (byte-compile--lexical-environment): New var.
8197 (byte-stack-ref, byte-stack-set, byte-discardN)
8198 (byte-discardN-preserve-tos): New lap codes.
8199 (byte-interactive-p): Don't use any more.
8200 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8201 New macros.
8202 (byte-compile-lapcode): Use them and handle new lap codes.
8203 (byte-compile-obsolete): Remove.
8204 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8205 (byte-compile-arglist-warn): Check late def of inlinable funs.
8206 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8207 since they should have been expanded by now.
8208 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8209 (byte-compile-from-buffer): Remove unused second arg.
8210 (byte-compile-preprocess): New function.
8211 (byte-compile-toplevel-file-form): New function to distinguish
8212 file-form calls from outside from file-form calls from hunk-handlers.
8213 (byte-compile-file-form): Simplify.
8214 (byte-compile-file-form-defsubst): Remove.
8215 (byte-compile-file-form-defmumble): Simplify now that
8216 byte-compile-lambda always returns a byte-code-function.
8217 (byte-compile): Preprocess.
8218 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8219 Remove, not used any more.
8220 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8221 (byte-compile-make-args-desc): New funs.
8222 (byte-compile-lambda): Handle lexical functions. Always return
8223 a byte-code-function.
8224 (byte-compile-reserved-constants): New var, to make up room for
8225 closed-over variables.
8226 (byte-compile-constants-vector): Obey it.
8227 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8228 (byte-compile-macroexpand-declare-function): New function.
8229 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8230 byte-code-functions.
8231 (byte-compile-form): Check obsolescence here.
8232 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8233 (byte-compile-variable-ref): Remove.
8234 (byte-compile-dynamic-variable-op): New fun.
8235 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8236 (byte-compile-variable-set): New funs.
8237 (byte-compile-discard): Add 2 args.
8238 (byte-compile-stack-ref, byte-compile-stack-set)
8239 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8240 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8241 macroexpand-all instead.
8242 (byte-compile-quote-form): Remove.
8243 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8244 (byte-compile-bind, byte-compile-unbind): New funs.
8245 (byte-compile-let): Handle let* and lexical binding.
8246 (byte-compile-let*): Remove.
8247 (byte-compile-catch, byte-compile-unwind-protect)
8248 (byte-compile-track-mouse, byte-compile-condition-case):
8249 Handle a new :fun-body form, used for lexical scoping.
8250 (byte-compile-save-window-excursion)
8251 (byte-compile-with-output-to-temp-buffer): Remove.
8252 (byte-compile-defun): Simplify.
8253 (byte-compile-stack-adjustment): New fun.
8254 (byte-compile-out): Use it.
8255 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8256
8257 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8258 handler any more.
8259
8260 * emacs-lisp/byte-opt.el: Use lexical binding.
8261 (byte-inline-lapcode): Remove (to bytecomp).
8262 (byte-compile-inline-expand): Pay attention to inlining to/from
8263 lexically bound code.
8264 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8265 any more.
8266 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8267 any more and don't call compiler-macros.
8268 (byte-compile-splice-in-already-compiled-code): Remove.
8269 (byte-code): Don't inline any more.
8270 (disassemble-offset): Receive `bytes' as argument rather than via
8271 dynamic scoping.
8272 (byte-compile-tag-number): Declare before first use.
8273 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8274 `return' even if make-spliceable.
8275 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8276 obsolete interactive-p.
8277 (byte-optimize-lapcode): Optimize new lap-codes.
8278 Don't trip up on new form of `byte-constant' lap code.
8279
8280 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8281
8282 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8283
8284 * custom.el (custom-initialize-default, custom-declare-variable):
8285 Use `defvar'.
8286
8287 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8288 New variables.
8289 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8290 (COMPILE_FIRST): Add macroexp and cconv.
8291 * makefile.w32-in: Mirror changes in Makefile.in.
8292
8293 * vc/cvs-status.el:
8294 * vc/diff-mode.el:
8295 * vc/log-edit.el:
8296 * vc/log-view.el:
8297 * vc/smerge-mode.el:
8298 * textmodes/bibtex-style.el:
8299 * textmodes/css.el:
8300 * startup.el:
8301 * uniquify.el:
da91b5f2
CY
8302 * minibuffer.el:
8303 * newcomment.el:
8304 * reveal.el:
8305 * server.el:
8306 * mpc.el:
8307 * emacs-lisp/smie.el:
8308 * doc-view.el:
8309 * dired.el:
03408648
SM
8310 * abbrev.el: Use lexical binding.
8311
0f0c1f27
EZ
83122011-04-01 Eli Zaretskii <eliz@gnu.org>
8313
8314 * info.el (info-display-manual): New function.
8315
c82b2579
SM
83162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8319
221ddf68
TH
83202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8321
8322 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8323 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8324
cba6e77e
GM
83252011-03-31 Glenn Morris <rgm@gnu.org>
8326
e040639f
GM
8327 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8328
cba6e77e
GM
8329 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8330
6d0f1c9e
CS
83312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8332
8333 * progmodes/python.el (python-default-interpreter)
8334 (python-python-command-args, python-jython-command-args)
8335 (python-which-shell, python-which-args, python-which-bufname)
8336 (python-file-queue, python-comint-output-filter-function)
8337 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8338 variables and functions.
8339
3e2d70fd
SM
83402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8343 (completion-in-region-mode): New minor mode.
8344 (completion-in-region): Use it.
8345 (completion-in-region--data, completion-in-region-mode-map): New vars.
8346 (completion-in-region--postch): New function.
8347 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8348 New vars.
8349 (completion--capf-wrapper): New function.
8350 (completion-at-point): Use it to track well-behavedness of
8351 hook functions.
8352 (completion-help-at-point): New command.
8353
f3e4086c
JM
83542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8355
8356 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8357 syntax class to search for whitespace on a single line
8358 (Message-ID: <4D938140.4030905@redhat.com>).
8359
eb7ffc14
LL
83602011-03-30 Leo Liu <sdl.web@gmail.com>
8361
8362 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8363 New commands.
8364 (edit-abbrevs-map): Bind them here.
8365 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8366
d806ab68
KM
83672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8368
8369 * allout.el (allout-hide-by-annotation, allout-flag-region):
8370 Reduce possibility of overlay leakage by making them volatile.
8371
8372 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8373 hash is not shared between buffers. Mode initialization is
8374 responsible for giving it a useful starting value.
8375 (allout-item-span): Reduce possibility of overlay leakage by
8376 making them volatile.
8377 (allout-widgets-count-buttons-in-region): Add diagnostic function
8378 for tracking down button overlay leaks.
8379
ea622834
LL
83802011-03-29 Leo Liu <sdl.web@gmail.com>
8381
8382 * ido.el (ido-read-internal): Use the default history var
8383 minibuffer-history if no HISTORY is specified.
8384
b62f8267
G
83852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8386
03408648
SM
8387 * net/imap.el (imap-shell-open, imap-process-connection-type):
8388 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8389 Kerberos, SSL, other subprocesses.
8390
947b6566
LL
83912011-03-28 Leo Liu <sdl.web@gmail.com>
8392
8393 * abbrev.el (abbrev-table-empty-p): New function.
8394 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8395 nonempty ones. (Bug#5937)
8396
5ffb62aa
JD
83972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8398
8399 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8400
7a097943
LL
84012011-03-27 Leo Liu <sdl.web@gmail.com>
8402
8403 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8404 for foreground and background colors.
8405 (ansi-color-make-color-map): Adapt.
8406
c5b40130
LL
84072011-03-25 Leo Liu <sdl.web@gmail.com>
8408
1f48f7d2
LL
8409 * midnight.el (midnight-time-float): Remove. Note it calculates
8410 the microsecond component incorrectly and seconds-to-time does the
8411 same job.
625897ec 8412 Remove redundant (require 'timer).
1f48f7d2 8413
c5b40130
LL
8414 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8415 (ido-completions): Remove unused arguments. (Bug#8329)
8416
d86d2721
SM
84172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * minibuffer.el (completion--flush-all-sorted-completions):
8420 Remove itself from hook.
8421 (completion-at-point): Let the functions perform the completion
8422 immediately and return nil or t.
8423 * comint.el (comint-dynamic-complete-functions): Now identical to
8424 completion-at-point-functions.
8425 (comint-dynamic-list-input-ring): Remove unused var `index'.
8426 (comint--match-partial-filename, comint--unquote&expand-filename):
8427 New funs, split from comint-match-partial-filename.
8428 (comint-dynamic-complete): Use completion-at-point.
8429 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8430
e8974c48
DA
84312011-03-24 Drew Adams <drew.adams@oracle.com>
8432
8433 * thingatpt.el: Support `defun'.
8434
def71b5e
LL
84352011-03-23 Leo Liu <sdl.web@gmail.com>
8436
cb5af48e
LL
8437 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8438
def71b5e
LL
8439 * help-mode.el (help-mode-finish): Tweak regexp.
8440
927c53e7
GM
84412011-03-23 Glenn Morris <rgm@gnu.org>
8442
18d05bed
GM
8443 * eshell/esh-opt.el (eshell-eval-using-options):
8444 Do not bind unused local variable `eshell-option-stub'.
8445
927c53e7
GM
8446 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8447
9d0da923
JB
84482011-03-22 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8451 keymap variable in `with-no-warnings' to avoid a warning when the
8452 keymap has been already `defconst'ed.
8453
4b978a67
LL
84542011-03-22 Leo Liu <sdl.web@gmail.com>
8455
8456 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8457 encode all chars in abbrevs; otherwise use emacs-mule or
8458 utf-8-emacs. (Bug#8308)
8459
5fd62452
JB
84602011-03-22 Juanma Barranquero <lekktu@gmail.com>
8461
0b1596c6
JB
8462 * simple.el (backward-delete-char-untabify):
8463 Avoid warning about using `delete-backward-char'.
8464
5fd62452
JB
8465 * image.el (image-type-file-name-regexps): Make it variable.
8466 `imagemagick-register-types' modifies it, and the user may want
8467 to add new extensions for known image types.
8468 (imagemagick-register-types): Throw error if not using ImageMagick.
8469
0b4e93f1
LL
84702011-03-22 Leo Liu <sdl.web@gmail.com>
8471
8472 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8473 located before rcirc-prompt-end-marker.
8474 (rcirc-complete): Error if point is not after rcirc prompt.
8475 Handle the case when table is nil.
9882e214 8476 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8477
fccee4ab
CY
84782011-03-22 Chong Yidong <cyd@stupidchicken.com>
8479
8480 * custom.el (custom--inhibit-theme-enable): Make it affect only
8481 custom-theme-set-variables and custom-theme-set-faces.
8482 (provide-theme): Ignore custom--inhibit-theme-enable.
8483 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8484 (custom-enabling-themes): Delete variable.
d86d2721
SM
8485 (enable-theme): Accept only loaded themes as arguments.
8486 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8487 (custom-enabled-themes): Forbid themes from setting this.
8488 Eliminate use of custom-enabling-themes.
8489 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8490
af896da6
LL
84912011-03-21 Leo Liu <sdl.web@gmail.com>
8492
8493 * ido.el (ido-read-internal): Add ido-selected to history instead
8494 of user input.
8495
78f64af0
SM
84962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * subr.el (deferred-action-list, deferred-action-function):
8499 Mark obsolete.
8500
b16ac1ec
LL
85012011-03-21 Leo Liu <sdl.web@gmail.com>
8502
810f7698
LL
8503 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8504 change on 2011-02-13 (bug#8309).
8505
b16ac1ec
LL
8506 * minibuffer.el (read-file-name-function): Change default value.
8507 (read-file-name--defaults): Rename from read-file-name-defaults.
8508 (read-file-name-default): Rename from read-file-name.
8509 (read-file-name): Call read-file-name-function.
8510
4e05e67e
GM
85112011-03-21 Glenn Morris <rgm@gnu.org>
8512
8513 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8514 Doc fixes.
8515
4359915b
CY
85162011-03-21 Chong Yidong <cyd@stupidchicken.com>
8517
8518 * cus-theme.el: Add missing provide statement.
8519 (customize-create-theme): Extract theme value correctly.
8520 (custom-theme-visit-theme): Autoload.
8521 (customize-create-theme): Prompt before inserting default faces.
8522
1fe275ee
JB
85232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8524
8525 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8526 units and musical notes.
8527
3ec03f7e
LL
85282011-03-20 Leo <sdl.web@gmail.com>
8529
8530 * ido.el (ido-read-internal): Use completing-read-default.
8531 (ido-completing-read): Fix compatibility with completing-read.
8532
7d476bde
CO
85332011-03-20 Christian Ohler <ohler@gnu.org>
8534
8535 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8536 (ert-delete-all-tests): Use `called-interactively-p' rather than
8537 `interactive-p'.
8538 (ert--make-xrefs-region): Respect END.
8539
fe0fb33e
CY
85402011-03-19 Chong Yidong <cyd@stupidchicken.com>
8541
ff854b0b
CY
8542 * dired-aux.el (dired-create-directory): Signal an error if the
8543 directory already exists (Bug#8246).
8544
fe0fb33e
CY
8545 * facemenu.el (list-colors-display): Call list-faces-display
8546 inside with-help-window.
8547 (list-colors-print): Use display property to align the final
8548 column, instead of checking window-width.
8549
576bce32
EZ
85502011-03-19 Eli Zaretskii <eliz@gnu.org>
8551
4d61f28d 8552 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8553 windows-nt systems.
8554 (emerge-protect-metachars): Quote correctly for ms-dos and
8555 windows-nt systems.
8556
89c41d68 85572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8558
8559 * info.el (info-initialize): Replace all uses of `:' with
8560 path-separator for compatibility with non-Unix systems.
8561 Cache quoting of path-separator. (Bug#8258)
8562
b14e3e21 85632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8564
8565 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8566 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8567 (mouse-avoidance-mode): Fix typos in docstrings.
8568
4525ce3e
CY
85692011-03-19 Chong Yidong <cyd@stupidchicken.com>
8570
8571 * startup.el (package-subdirectory-regexp): Move from package.el.
8572 Omit \\` and \\', and let callers add them.
8573
8574 * emacs-lisp/package.el (package-strip-version)
8575 (package-load-all-descriptors): Add \\` and \\' to
8576 package-subdirectory-regexp before using it.
8577 (package-untar-buffer): New arg DIR; ensure that file untars only
8578 into this expected directory. Remove superfluous delete-region.
8579 (package-unpack): Caller changed.
8580 (package-tar-file-info): Use package-subdirectory-regexp.
8581
a904a09a 85822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8583
a904a09a
SM
8584 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8585 diff-mode-shared-map (bug#8284).
8586 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8587
85882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8589
8590 * calendar/time-date.el (format-seconds): Use assoc instead of
8591 assoc-string, since assoc-string doesn't exist in XEmacs.
8592
171fc304
JB
85932011-03-17 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * custom.el (custom-known-themes): Reflow docstring.
8596 (custom-theme-load-path): Fix typo in docstring.
8597 (load-theme): Fix typo in error message.
8598 (custom-available-themes, custom-variable-theme-value):
8599 Use `let', not `let*'.
8600
d71990a1
JB
86012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8602
8603 * calc/README: Mention inclusion of musical notes.
8604
8605 * calc/calc-units.el (calc-lu-quant): Rename from
8606 `calc-logunits-quantity'.
8607 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8608 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8609 (calc-db): Rename from `calc-dblevel'.
8610 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8611 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8612 (calc-np): Rename from `calc-nplevel'.
8613 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8614 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8615 (calc-lu-plus): Rename from `calc-logunits-add'.
8616 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8617 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8618 (calc-lu-minus): Rename from `calc-logunits-sub'.
8619 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8620 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8621 (calc-lu-times): Rename from `calc-logunits-mul'.
8622 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8623 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8624 (calc-lu-divide): Rename from `calc-logunits-div'.
8625 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8626 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8627
8628 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8629 functions being autoloaded.
8630
8631 * calc/calc.el (calc-lu-power-reference): Rename from
8632 `calc-logunits-power-reference'.
8633 (calc-lu-field-reference): Rename from
8634 `calc-logunits-field-reference'.
8635
8636 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8637
40c2934b
SM
86382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * minibuffer.el (completion-all-sorted-completions):
8641 Use :completion-cycle-penalty text property if present.
8642
b0911414
KM
86432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8644
8645 * allout.el (allout-yank-processing): Adjust for new rebulleting
8646 regime so bullet being yanked is used without prompting the user
8647 for a choice.
8648
8a05b668
JB
86492011-03-16 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * startup.el (command-line): Warn the user that _emacs is deprecated.
8652
5ba5fb81
JB
86532011-03-16 Juanma Barranquero <lekktu@gmail.com>
8654
8655 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8656 (delphi-verbose, delphi-comment-face, delphi-string-face)
8657 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8658 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8659 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8660 (delphi-new-comment-line, delphi-font-lock-defaults)
8661 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8662 Fix typos in docstrings.
8663
2dab465b
KM
86642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8665
5ba5fb81 8666 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8667 Invert the roles of character and string values for INSTEAD, so a
8668 string is used for the more common case of a defaulting prompt.
8669
0adf5618
SM
86702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * progmodes/ruby-mode.el (ruby-backward-sexp):
8673 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8674 * play/gamegrid.el (gamegrid-make-face):
8675 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8676 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8677 * notifications.el (notifications-notify):
8678 * net/xesam.el (xesam-search-engines):
8679 * net/quickurl.el (quickurl-list-insert):
8680 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8681
d72700e5
CY
86822011-03-15 Chong Yidong <cyd@stupidchicken.com>
8683
8684 * startup.el (command-line): Update package subdirectory regexp.
8685
49c5410a
SM
86862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8687
c6eee9aa
SM
8688 * allout.el (allout-abbreviate-flattened-numbering)
8689 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8690
49c5410a
SM
8691 * subr.el (read-char-choice): Only show the cursor after the prompt,
8692 not after the answer.
8693
047b2bb9
KR
86942011-03-15 Kevin Ryde <user42@zip.com.au>
8695
8696 * help-fns.el (variable-at-point): Skip leading quotes, if any
8697 (bug#8253).
8698
0a57d256
SM
86992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8702 warning message.
8703
77c992bc
MA
87042011-03-14 Michael Albinus <michael.albinus@gmx.de>
8705
8706 * shell.el (shell): When called interactively, offer to change the
8707 shell file name on remote hosts.
8708
eebc475d
TZ
87092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8710
8711 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8712 integration for LDAP parameters. The host, base, user or binddn,
8713 and secret tokens can be specified in a netrc file, for instance.
8714 This is optional because an `auth-source' parameter must be
8715 specified in the search attributes.
8716
9d05d1ba
JB
87172011-03-13 Juanma Barranquero <lekktu@gmail.com>
8718
8719 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8720
09d9db2c
GM
87212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8724 into declaration. Remove redundant and harmful binding.
8725
87262011-03-12 Eli Zaretskii <eliz@gnu.org>
8727
8728 * files.el (file-ownership-preserved-p): Pass `integer' as an
8729 explicit 2nd argument to `file-attributes'. If the file's owner
8730 is the Administrators group on Windows, and the current user is
8731 Administrator, consider that a match.
8732
8733 * server.el (server-ensure-safe-dir): Consider server directory
8734 safe on MS-Windows if its owner is the Administrators group while
8735 the current Emacs user is Administrator. Use `=' to compare
8736 numerical UIDs, since they could be integers or floats.
8737
219bd536
JB
87382011-03-12 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8741
f3afd36b
MA
87422011-03-12 Michael Albinus <michael.albinus@gmx.de>
8743
8744 Sync with Tramp 2.2.1.
8745
8746 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8747
8748 * net/trampver.el: Update release number.
8749
3aaaa6f1
SM
87502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8751
94642599
SM
8752 * progmodes/compile.el (compilation--previous-directory): Fix up
8753 various nil/dead-marker mismatches (bug#8014).
8754 (compilation-directory-properties, compilation-error-properties):
8755 Don't call it at a position past the one we're about to change.
8756
3aaaa6f1
SM
8757 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8758 Disable obsolescence warnings in the file that declares it.
8759
14239447
KM
87602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8761
099c39a4
JB
8762 * allout-widgets.el (allout-widgets-tally):
8763 Initialize allout-widgets-tally as a hash table rather than nil to
8764 prevent mode-line redisplay warnings. Also, clarify the module
8765 description and fix a comment typo.
14239447 8766
135e287c
JB
87672011-03-11 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * help-fns.el (describe-variable): Don't complete keywords.
8770 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8771
ffbf300e
CY
87722011-03-10 Chong Yidong <cyd@stupidchicken.com>
8773
ba08b241
CY
8774 * emacs-lisp/package.el (package-version-join): Impose a standard
8775 string representation for pre/alpha/beta version lists.
8776 (package-unpack-single): Standardize the directory name by passing
8777 it through package-version-join.
8778 (package-strip-rcs-id): Accept any version string that does not
8779 signal an error in version-to-list.
ffbf300e 8780
f346fd6b
MA
87812011-03-10 Michael Albinus <michael.albinus@gmx.de>
8782
8783 * simple.el (delete-trailing-whitespace): Return nil for the
8784 benefit of `write-file-functions'.
8785
ccb55d27
GM
87862011-03-10 Glenn Morris <rgm@gnu.org>
8787
5ceaac0c
GM
8788 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8789
02da65ff
GM
8790 * vc/vc-git.el (vc-git-program): New option.
8791 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8792 (vc-git--call): Use it.
8793
b2f603cc
GM
8794 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8795
5772caab
GM
8796 * cus-edit.el (Custom-newline): If no button at point, look
8797 for a subgroup button at start-of-line. (Bug#2298)
8798
ccb55d27
GM
8799 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8800
ec6ecaed
JD
88012011-03-10 Julien Danjou <julien@danjou.info>
8802
8803 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8804 `cursor-type' is nil.
8805
9d5aa01d
JB
88062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8807
8808 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8809
b6a5875b
KM
88102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8811
8812 * allout.el Summary: Change so yank of distinctive-bullet items
8813 preserves the existing header prefix, rebulleting it if necessary,
8814 rather than replacing it. This is necessary for proper operation
8815 of cooperative addons like allout-widgets.
219bd536 8816 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8817 SOLICIT arg to INSTEAD, and interpret additionally a string value
8818 as alternate bullet to be used, instead of prompting the user for
8819 a bullet character.
8820
ee545c35
MA
88212011-03-09 Michael Albinus <michael.albinus@gmx.de>
8822
d86d2721
SM
8823 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8824 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8825 `tramp-default-port'.
8826
c47971d7
DD
88272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8828
8829 * net/rcirc.el (rcirc-handler-001): Remove useless
8830 with-rcirc-process-buffer.
8831 (rcirc-check-auth-status): Swap arguments to string-match.
8832
13522cb4
GM
88332011-03-09 Glenn Morris <rgm@gnu.org>
8834
0be6f4f1
GM
8835 * shell.el (shell-mode):
8836 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8837
13522cb4
GM
8838 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8839 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8840
515de2e3
CY
88412011-03-08 Chong Yidong <cyd@stupidchicken.com>
8842
8843 * emacs-lisp/package.el (package-refresh-contents)
8844 (package-menu-execute): Use condition-case-no-debug.
8845
b511b994
MA
88462011-03-08 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * simple.el (shell-command-to-string): Use `process-file'.
8849
8850 * emacs-lisp/package.el (package-tar-file-info): Handle also
8851 remote files.
8852
d86d2721
SM
8853 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8854 Use `equal' for upload base check.
b511b994 8855
25bbfb31
AM
88562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8857
8858 * textmodes/texinfo.el (texinfo-environments):
8859 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8860
be996521
GM
88612011-03-08 Glenn Morris <rgm@gnu.org>
8862
e9c8529f
GM
8863 * cus-start.el (cursor-in-non-selected-windows):
8864 Fix :set quoting oddness. (Bug#8192)
8865
be996521
GM
8866 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8867 in some setf expressions. (Bug#2159)
8868
2bb5649e
CY
88692011-03-08 Chong Yidong <cyd@stupidchicken.com>
8870
8871 * custom.el (custom-available-themes): Return themes in
8872 alphabetical order.
8873
33383987 8874See ChangeLog.15 for earlier changes.
e3d51b27
MR
8875
8876;; Local Variables:
8877;; coding: utf-8
e3d51b27
MR
8878;; End:
8879
33383987 8880 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8881
8882 This file is part of GNU Emacs.
8883
8884 GNU Emacs is free software: you can redistribute it and/or modify
8885 it under the terms of the GNU General Public License as published by
8886 the Free Software Foundation, either version 3 of the License, or
8887 (at your option) any later version.
8888
8889 GNU Emacs is distributed in the hope that it will be useful,
8890 but WITHOUT ANY WARRANTY; without even the implied warranty of
8891 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8892 GNU General Public License for more details.
8893
8894 You should have received a copy of the GNU General Public License
8895 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.