* lisp/isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
df754f66
JL
12011-11-19 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4 to nil instead of binding `search-ring' and `regexp-search-ring'.
5 (Bug#9185)
6
0e23d96a
EZ
72011-11-19 Eli Zaretskii <eliz@gnu.org>
8
9 * simple.el (line-move): Force movement by logical lines for any
10 hscrolled window, not only when auto-hscroll-mode is on.
11 (line-move-visual): Update doc string to that effect. (Bug#10076)
12
8a6ccb66
AS
132011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14
15 * language/european.el (macintosh): Define as alias for mac-roman.
16
49ae5b39
EZ
172011-11-19 Eli Zaretskii <eliz@gnu.org>
18
19 * mail/rmailmm.el (rmail-mime-display-header)
20 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
21 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
22 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
23 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
24 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
25 of a raw aref.
26 (rmail-mime-entity-segment): To get past the tagline, move forward
27 2 more lines, to account for the 2 empty lines that precede and
28 follow the line with the buttons.
29 (rmail-mime-update-tagline): Move one more line, to get past the
30 empty line that follows the buttons in the tagline. (Bug#9520)
31
c56cad4a
MR
322011-11-19 Martin Rudalics <rudalics@gmx.at>
33
34 * window.el (window-max-delta-1, window-min-delta-1)
35 (window-min-size-1, window-state-get-1, window-state-put-1)
36 (window-state-put-2): Use "window--" prefix.
37
cbe71af3
SM
382011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
39
2ad52c60
SM
40 * emacs-lisp/smie.el: Improve warnings and conflict detection.
41 (smie-warning-count): New var.
42 (smie-set-prec2tab): Use it.
43 (smie-bnf->prec2): Improve warnings. Add docstring.
44 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
45 (smie-bnf--set-class): New function.
46 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
47 corner case.
48
6944dbc1
SM
49 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
50 (compilation-error-properties, compilation-move-to-column):
51 Handle compilation-first-column while in the target buffer.
52
c400c4d7
SM
53 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
54 Don't hardcode point-min==1.
55
6dbe3e96
SM
56 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
57 (eshell-rewrite-for-command): Remove workaround.
58 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
59 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
60 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
61
cbe71af3
SM
62 * files-x.el (modify-file-local-variable): Obey commenting conventions.
63
a8e1496d
GM
642011-11-17 Glenn Morris <rgm@gnu.org>
65
66 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
67 Ignore buffer-local generated-autoload-file if it is the same
68 as the global value. (Bug#10049)
69
df85d315
JB
702011-11-17 Juanma Barranquero <lekktu@gmail.com>
71
72 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
73 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
74 (reftex-toc-previous-heading, reftex-toc-max-level)
75 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
76 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
77 (reftex-toc-do-promote, reftex-toc-promote-prepare)
78 (reftex-toc-promote-action, reftex-toc-extract-section-number)
79 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
80 (reftex-toc-rename-label, reftex-toc-visit-location)
81 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
82 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
83 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
84 leaving "*toc*" only for references to the buffer.
85
a0c2d0ae
MR
862011-11-17 Martin Rudalics <rudalics@gmx.at>
87
88 * window.el (window-resize, delete-window, split-window):
89 Replace window-splits by window-combination-resize.
90 * cus-start.el (window-splits): Replace by
91 window-combination-resize.
92
35c0bac8
GM
932011-11-17 Glenn Morris <rgm@gnu.org>
94
95 * progmodes/sh-script.el (sh-font-lock-keywords-var):
96 Make bash entry derive from sh entry, not shell entry.
97
d0c8fc8a
MA
982011-11-16 Michael Albinus <michael.albinus@gmx.de>
99
100 * net/tramp.el (tramp-handle-file-truename): Cache only the local
101 file name.
102
103 * net/tramp-cache.el (tramp-flush-file-property): Flush also
104 properties of linked files. (Bug#9879)
105
7877f373
JB
1062011-11-16 Juanma Barranquero <lekktu@gmail.com>
107
108 * menu-bar.el (menu-bar-file-menu):
109 * printing.el (pr-ps-utility):
110 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
111 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
112 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
113 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
114 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
115 (icalendar--convert-cyclic-to-ical)
116 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
117 (icalendar--convert-ical-to-diary)
118 (icalendar--convert-recurring-to-diary)
119 (icalendar--convert-non-recurring-all-day-to-diary)
120 (icalendar-import-format-sample):
121 * progmodes/idlw-shell.el (idlwave-shell-mode):
122 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
123 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
124 (vhdl-ps-print-init): Fix typos.
125
10649b82
KM
1262011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
127
9d0cfcd6
GM
128 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
129 FSF and collapse date sequence, obscure author/maintainer email address
130 better, remove extra version line, track relocation of author's webpage.
10649b82 131
9d0cfcd6
GM
132 * progmodes/python.el (python-pdbtrack-input-prompt)
133 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
134 regular python pdb prompts. Adjustments shamelessly taken exactly as
135 suggested in EmacsWiki page (tiny change):
136 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 137
58179cce
JB
1382011-11-16 Juanma Barranquero <lekktu@gmail.com>
139
140 * expand.el (expand-pos, expand-index, expand-point):
141 Remove redundant info from docstring.
142 (expand-add-abbrevs): Doc fix.
143 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
144 (expand-sample-perl-mode-expand-list): Fix typos.
145
146 * net/dbus.el (dbus-event-member-name):
147 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
148 * term/pc-win.el (msdos-create-frame-with-faces):
149 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
150
b6f67890
MR
1512011-11-16 Martin Rudalics <rudalics@gmx.at>
152
153 * window.el (split-window, window-state-get-1)
154 (window-state-put-1, window-state-put-2): Rename occurrences of
155 window-nest to window-combination-limit.
156 * cus-start.el (window-nest): Rename to
157 window-combination-limit.
158
ce7ddba0
CY
1592011-11-16 Chong Yidong <cyd@gnu.org>
160
161 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
162 regexp (Bug#10033).
163
3ae704f4
SM
1642011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
167 `completing-read' will remove *Completions* and will preserve
168 current-buffer for us.
169 (tmm-add-prompt): Users of *Completions* will always (re)set its
170 major mode.
171 (tmm-old-comp-map): Remove.
172
6ad1cdde
GM
1732011-11-16 Glenn Morris <rgm@gnu.org>
174
175 * mail/rmailedit.el: Require rmailmm when compiling.
176 (rmail-old-mime-state): New declaration.
177 (rmail-edit-current-message): If editing a mime message,
178 edit the "raw" message from the mbox buffer.
179 (rmail-cease-edit): Handle mime messages. (Bug#9840)
180
d20faa20
GM
1812011-11-15 Glenn Morris <rgm@gnu.org>
182
183 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
184 which wasn't being used. Add optional arg to force given state.
185 (rmail-mime): Add optional arg to force given state.
186
c7015153
JB
1872011-11-15 Juanma Barranquero <lekktu@gmail.com>
188
189 * allout.el (allout-encryption-plaintext-sanitization-regexps):
190 * frame.el (display-mm-dimensions-alist):
191 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
192 (outline-move-subtree-down):
193 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
194 (newsticker--treeview-do-get-node):
195 * net/quickurl.el (quickurl-list-buffer-name):
196 * progmodes/dcl-mode.el (dcl-mode):
197 * progmodes/gdb-mi.el (gdb-mapcar*):
198 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
199
45261b50
GM
2002011-11-15 Glenn Morris <rgm@gnu.org>
201
202 * mail/rmail.el (rmail-file-coding-system): It's only ever used
203 in a boolean sense, so just make it a boolean, and fix the doc.
204 (rmail-show-mime-function, rmail-mime-feature)
205 (rmail-require-mime-maybe): Doc fixes.
206 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
207
208 * mail/rmailmm.el (rmail-show-mime): Doc fix.
209
0d26e0b6
JB
2102011-11-15 Juanma Barranquero <lekktu@gmail.com>
211
212 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
213 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
214 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
215 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
216
447f30f6
GM
2172011-11-15 Glenn Morris <rgm@gnu.org>
218
672b871d
GM
219 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
220 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
221 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
222 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
223 (rmail-mime, rmail-show-mime): Doc fixes.
224
f6aa5bb1
GM
225 * term/ns-win.el (mode-line-frame-identification):
226 Leave it alone. (Bug#10051)
227
947cd66b
GM
228 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
229
447f30f6
GM
230 * mail/rmailout.el (rmail-output-to-rmail-buffer):
231 Handle empty buffers. (Bug#9978)
232
0b381c7e
JB
2332011-11-14 Juanma Barranquero <lekktu@gmail.com>
234
235 * international/mule.el (define-charset):
236 * mail/rmailmm.el (rmail-mime-find-header-encoding):
237 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
238 * progmodes/verilog-mode.el (verilog-backward-token):
239 * textmodes/ispell.el (lookup-words):
240 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
241
71e027ac
GM
2422011-11-14 Glenn Morris <rgm@gnu.org>
243
56632ce4
GM
244 * progmodes/executable.el
245 (executable-make-buffer-file-executable-if-script-p):
246 Handle file-modes returning nil.
247
40500957
GM
248 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
249 message - not necessary, and causes problems. (Bug#9831)
250
071c2340
GM
251 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
252
d3cfca60
GM
253 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
254
71e027ac
GM
255 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
256 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
257 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
258
89d61221
MR
2592011-11-12 Martin Rudalics <rudalics@gmx.at>
260
261 * window.el (window-resize, delete-window): Use window-splits
262 variable instead of function.
263 (window-state-get-1, window-state-put-2, window-state-put):
264 Don't deal with windows' splits status.
265
98282f6f
GM
2662011-11-12 Glenn Morris <rgm@gnu.org>
267
268 * apropos.el (apropos-do-all, apropos-library, apropos-value)
269 (apropos-documentation): Doc fixes.
270
40a8bdf6
JB
2712011-11-11 Juanma Barranquero <lekktu@gmail.com>
272
273 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
274 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
275
65bd19ff
SM
2762011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * electric.el (electric-indent-post-self-insert-function): Make it
279 possible for a char to only indent in some circumstances.
280 (electric-indent-mode): Simplify.
281
54f9154c
MR
2822011-11-11 Martin Rudalics <rudalics@gmx.at>
283
284 * window.el (windows-with-parameter): Remove unused function.
285 (windows-at-side): Rename to window-at-side-list.
286 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
287 (window-side-check, window-size-ignore, window-size-fixed-1)
288 (window-in-direction-2): Prefix with "window--".
289 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 290
68cbc58b
GM
2912011-11-11 Glenn Morris <rgm@gnu.org>
292
293 * subr.el (eval-after-load): If FILE is already loaded,
294 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
295
b2621720
GM
2962011-11-10 Glenn Morris <rgm@gnu.org>
297
9a4de110
GM
298 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
299 Call svn via vc-svn-command rather than vc-do-command.
300 (vc-svn-command): Add --non-interactive. (Bug#9993)
301 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
302
b2621720
GM
303 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
304 Add toggle-read-only. (Bug#7292)
305 * files.el (toggle-read-only): Mention that it should only
306 be used interactively. (Bug#10006)
307
1dce7193
SM
3082011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
309
d9ac1a1e
SM
310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
311 Adjust regexp for OCaml warnings.
312
0c325082
SM
313 * electric.el (electric-pair-post-self-insert-function): Let user
314 turn it off buffer-locally (bug#9932).
315
90132c14
SM
316 * progmodes/python.el (python-beginning-of-statement):
317 Rewrite (bug#2703).
318
1dce7193
SM
319 * progmodes/compile.el: Better handle TABs (bug#9749).
320 (compilation-internal-error-properties)
321 (compilation-next-error-function): Obey the target buffer's
322 compilation-error-screen-columns.
323
c4e7c63a
JB
3242011-11-09 Juanma Barranquero <lekktu@gmail.com>
325
326 * progmodes/meta-mode.el: Remove obsolete comments.
327 (meta-right-comment-regexp, meta-ignore-comment-regexp):
328 Fix typos in docstrings.
329
2cffd681
MR
3302011-11-09 Martin Rudalics <rudalics@gmx.at>
331
332 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 333 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
334 (window--resizable): New function. Make all callers of
335 window-resizable call window--resizable instead.
336 (window-resizable): Rewrite in terms of window--resizable.
337
0edcba87
GM
3382011-11-08 Glenn Morris <rgm@gnu.org>
339
340 * progmodes/delphi.el (delphi-mode-syntax-table):
341 Let define-derived-mode define a proper syntax table. (Bug#9994)
342
4b0d61e3
SM
3432011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * window.el: Stay away from defsubst.
346 (window-list-no-nils): Remove.
347 (window-state-get-1, window-state-get): Use backquote instead.
348
fcbcac2e 3492011-11-08 thierry <thierry.volpiatto@gmail.com>
350
4b0d61e3 351 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 352 Fix incorrect use of default argument in `completing-read'.
353
e1c2c6f2
MR
3542011-11-08 Martin Rudalics <rudalics@gmx.at>
355
356 * window.el (display-buffer-function, special-display-function):
357 Mention display-buffer-record-window but do not mention
358 help-setup parameter in doc-strings.
b3f4a882 359 (window-min-delta): Fix doc-string typo.
e1c2c6f2 360
105216ed
CY
3612011-11-08 Chong Yidong <cyd@gnu.org>
362
363 * window.el (window-total-height, window-total-width): Doc fix.
364 (window-body-size): Move from C.
365 (window-body-height, window-body-width): Move to C.
366
0a9f9ab5
SM
3672011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * window.el: Make special-display like display-buffer-alist (bug#9532).
370 (display-buffer--special-action): New function, morphed
371 from display-buffer--special.
372 (display-buffer): Use it to handle special-display-buffers at higher
373 priority (just after display-buffer-alist).
374 (display-buffer-fallback-action, display-buffer--other-frame-action)
375 (pop-to-buffer-same-window): Remove display-buffer--special.
376
a769dd15
GM
3772011-11-07 Glenn Morris <rgm@gnu.org>
378
379 * calendar/cal-menu.el (cal-menu-set-date-title):
380 Do nothing if not in a calendar. (Bug#9976)
381
05a61ee3
SM
3822011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * files.el (find-file): Always use selected-window.
385
be7f5545
MR
3862011-11-07 Martin Rudalics <rudalics@gmx.at>
387
388 * window.el (window-combinations): Make WINDOW argument
389 mandatory. Rewrite doc-string.
390 (walk-window-subtree, window-atom-check, window-min-delta)
391 (window-max-delta, window--resize-this-window)
392 (window--resize-root-window-vertically, window-tree)
393 (balance-windows, window-state-put): Rewrite doc-strings as to
394 not mention the term "subwindow".
395 (window--resize-subwindows-skip-p): Rename to
396 window--resize-child-windows-skip-p.
397 (window--resize-subwindows-normal): Rename to
398 window--resize-child-windows-normal.
399 (window--resize-subwindows): Rename to
400 window--resize-child-windows.
401 (window-or-subwindow-p): Rename to window--in-subtree-p.
402
3c6702ef
ML
4032011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
404
405 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
406 Ensure that mbox format messages end in two newlines (Bug#9974).
407
49745b39
CY
4082011-11-06 Chong Yidong <cyd@gnu.org>
409
410 * window.el (window-combination-p): Function deleted; its
411 side-effect is not used in any existing code.
412 (window-combinations, window-combined-p): Call window-*-child
413 directly.
414
24300f5f
CY
4152011-11-05 Chong Yidong <cyd@gnu.org>
416
417 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
418 (window-size-ignore, window-state-get): Callers changed.
419 (window-normalize-window): Rename from window-normalize-any-window.
420 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 421 (window-normalize-live-window): Delete.
447f16b8
CY
422 (window-combination-p, window-combined-p, window-combinations)
423 (walk-window-subtree, window-atom-root, window-min-size)
424 (window-sizable, window-sizable-p, window-size-fixed-p)
425 (window-min-delta, window-max-delta, window-resizable)
426 (window-resizable-p, window-full-height-p, window-full-width-p)
427 (window-current-scroll-bars, window-point-1, set-window-point-1)
428 (window-at-side-p, window-in-direction, window-resize)
429 (adjust-window-trailing-edge, maximize-window, minimize-window)
430 (window-deletable-p, delete-window, delete-other-windows)
431 (record-window-buffer, unrecord-window-buffer)
432 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
433 (quit-window, split-window, window-state-put)
434 (set-window-text-height, fit-window-to-buffer)
435 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 436
89bd5ee1
EZ
4372011-11-04 Eli Zaretskii <eliz@gnu.org>
438
53479029
EZ
439 * mail/rmail.el (rmail-simplified-subject): Decode subject with
440 rfc2047-decode-string.
441 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
442 warnings.
443
89bd5ee1
EZ
444 * window.el (window-body-height, window-body-width): Mention in
445 the doc string that the return values are in frame's canonical
446 units. (Bug#9949)
447
bd17fdee
AM
4482011-11-03 Alan Mackenzie <acm@muc.de>
449
450 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
451 change in cc-engine.el.
452
acc825c5
SM
4532011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * window.el (switch-to-buffer): Use `force-same-window' interactively.
456
1885e5b8
MR
4572011-11-02 Martin Rudalics <rudalics@gmx.at>
458
459 * window.el (quit-window): Call unrecord-window-buffer after
460 showing another buffer in the window. (Bug#9937)
acc825c5 461 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 462
ebe06da9
JB
4632011-11-02 Juanma Barranquero <lekktu@gmail.com>
464
465 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
466 Accept status with more than 9 shelves. (Bug#9935)
467 Reported by Colin D Bennett <colin@gibibit.com>.
468
4ee88440
MR
4692011-11-01 Martin Rudalics <rudalics@gmx.at>
470
471 * help.el (with-help-window): Don't reference
472 temp-buffer-show-specifiers in doc-string.
473
08e1d82c
AS
4742011-10-31 Andreas Schwab <schwab@linux-m68k.org>
475
476 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
477 menu-item.
478
84bd6e9e
VJL
4792011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
480
481 * whitespace.el: New version 13.2.2.
482 (whitespace-newline-mode): Disable properly. Reported by Sarah
483 <EmacsWiki>.
484
dba0634a
UJ
4852011-10-30 Ulf Jasper <ulf.jasper@web.de>
486
487 * net/newst-treeview.el: Remove "Time-stamp".
488 (newsticker--group-manage-orphan-feeds): Do not call
489 newsticker--treeview-tree-update.
db22a3c2
JB
490 (newsticker-treeview-update, newsticker-treeview):
491 Call newsticker--treeview-tree-update if necessary.
dba0634a 492
3d8daefe
MR
4932011-10-30 Martin Rudalics <rudalics@gmx.at>
494
495 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
496 (window-iso-combinations): Remove "iso-" infix.
497 Suggested by Chong Yidong.
3d8daefe
MR
498 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
499 (window-max-delta-1, window-resize, window--resize-siblings)
500 (window--resize-this-window, adjust-window-trailing-edge)
501 (split-window, balance-windows-1)
502 (shrink-window-if-larger-than-buffer):
503 * calendar/calendar.el (calendar-generate-window):
db22a3c2 504 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 505
1bc4c3ae
SM
5062011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
509 in place (bug#9907).
510 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
511 (eshell-rewrite-if-command, eshell-rewrite-for-command)
512 (eshell-structure-basic-command, eshell-rewrite-while-command)
513 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
514 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
515 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
516 (eshell-do-pipelines-synchronously, eshell-eval-command):
517 Use backquotes and prefer setq to set.
518 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
519 (eshell-macrop): Use functionp.
c1e2f5fa 520 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 521
30b65d9c
CY
5222011-10-30 Chong Yidong <cyd@gnu.org>
523
524 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
525 instead of set-mark (Bug#9810).
526
2d197ffb
CY
5272011-10-30 Chong Yidong <cyd@gnu.org>
528
529 * window.el (split-window-below, split-window-right): Rename from
530 split-window-above-each-other and split-window-side-by-side
531 respectively. All callers changed.
532 (split-window-sensibly, split-window-sensibly): Use them.
533 (split-window-keep-point): Doc fix.
534
535 * isearch.el: Add isearch-scroll property to split-window-below
536 and split-window-right.
537
538 * follow.el (follow-mode):
539 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
540 * progmodes/ada-xref.el (ada-gdb-application):
541 * emulation/vip.el (vip-buffer-in-two-windows):
542 * image-dired.el (image-dired-dired-with-window-configuration):
543 * dired-x.el (dired-do-find-marked-files):
544 * dired.el (dired-pop-to-buffer):
545 * bs.el (bs--show-with-configuration):
546 * vc/emerge.el (emerge-setup-windows):
547 * textmodes/two-column.el (2C-two-columns):
548 * textmodes/reftex-toc.el (reftex-toc):
549 * progmodes/gdb-mi.el (gdb-setup-windows):
550 * progmodes/fortran.el (fortran-window-create):
551 * net/newst-treeview.el (newsticker--treeview-window-init):
552 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
553 * emulation/tpu-edt.el (tpu-gold-map):
554 * emulation/crisp.el (crisp-mode-map):
555 * calendar/calendar.el (calendar-basic-setup): Callers changed.
556
38bb2ca8
CY
5572011-10-29 Chong Yidong <cyd@gnu.org>
558
aa4de341
CY
559 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
560
e1eb5385
CY
561 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
562
5d2ece3c
CY
563 * textmodes/flyspell.el (flyspell-word): Fix char offset for
564 forged Ispell output (Bug#7904).
565
38bb2ca8
CY
566 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
567
d0af9f77
SM
5682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * doc-view.el: Avoid ugly errors about not finding nil.
571 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
572 (doc-view-dvipdf-program, doc-view-unoconv-program)
573 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
574 Avoid nil or absolute file name as default value.
575 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
576
52bedd34
AM
5772011-10-28 Alan Mackenzie <acm@muc.de>
578
db22a3c2 579 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 580
7e43cfa5
AM
5812011-10-28 Alan Mackenzie <acm@muc.de>
582
583 Amend the handling of c-beginning/end-of-defun in nested declaration
584 scopes.
585
52bedd34
AM
586 * progmodes/cc-vars.el (c-defun-tactic): Move here from
587 cc-langs.el. Change it to a defcustom.
7e43cfa5 588
52bedd34
AM
589 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
590 cc-vars.el.
7e43cfa5 591
d0af9f77
SM
592 * progmodes/cc-engine.el (c-beginning-of-statement-1):
593 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 594
52bedd34 595 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 596 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
597 (c-widen-to-enclosing-decl-scope): New function.
598 (c-while-widening-to-decl-block): New macro.
599 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
600 outward for defun boundaries, and correspondingly change symbol
601 `respect-enclosure' to `go-outward'.
602 (c-declaration-limits): Change algorithm to report only the "innermost"
603 defun's boundaries.
604
1a2ce9ee
DD
6052011-10-28 Deniz Dogan <deniz@dogan.se>
606
607 * net/rcirc.el (rcirc-mode): Use hard newlines.
608
bc97a826
AM
6092011-10-28 Alan Mackenzie <acm@muc.de>
610
611 Amend to indent and fontify macros "which include their own semicolon"
612 correctly, using the "virtual semicolon" mechanism.
613
52bedd34 614 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 615
d0af9f77 616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 617 Recode to scan one line at a time rather than having \n and \r
58179cce 618 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 619 (c-forward-label): Amend for virtual semicolons.
58179cce 620 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 621
52bedd34
AM
622 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
623 of the new C macros.
bc97a826 624
52bedd34 625 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
626 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
627 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
628 (c-opt-cpp-macro-define): Make into a full language variable.
629 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
630 AWK Mode (including \n, \r) removed, no longer needed.
631
d0af9f77
SM
632 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
633 Invoke c-make-macro-with-semi-re.
bc97a826 634
52bedd34
AM
635 * progmodes/cc-vars.el (c-macro-with-semi-re):
636 (c-macro-names-with-semicolon): New variables.
58179cce 637 (c-make-macro-with-semi-re): New function.
bc97a826 638
7a6c0941
SM
6392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * vc/log-edit.el: Fill empty field rather than adding new one.
642 (log-edit-add-field): New function.
643 (log-edit-insert-changelog): Use it.
644
b0c4cdcf
ML
6452011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
646
647 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
648
ee1f1da9
SM
6492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
652 (gdb--check-interpreter): New function.
653 (gdb): Use it.
654
51bc5f8b
GM
6552011-10-27 Glenn Morris <rgm@gnu.org>
656
416a2c45
GM
657 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
658 (least-positive-float, least-negative-float)
659 (least-positive-normalized-float, least-negative-normalized-float)
660 (float-epsilon, float-negative-epsilon):
661 Remove unnecessary declarations.
662
663 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
664 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
665 (least-positive-float, least-negative-float)
666 (least-positive-normalized-float, least-negative-normalized-float)
667 (float-epsilon, float-negative-epsilon): Add doc-strings,
668 based on those in cl.texi.
669
51bc5f8b
GM
670 * files.el (set-visited-file-name): If the major-mode changed,
671 reload the local variables. (Bug#9796)
672
15de15c6
CY
6732011-10-27 Chong Yidong <cyd@gnu.org>
674
675 * subr.el (change-major-mode-after-body-hook): New hook.
676 (run-mode-hooks): Run it.
677
ee1f1da9
SM
678 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
679 Use change-major-mode-before-body-hook.
15de15c6
CY
680
681 * simple.el (fundamental-mode):
682 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
683 change introducing fundamental-mode-hook.
684
5430d399
JB
6852011-10-26 Juanma Barranquero <lekktu@gmail.com>
686
acc825c5 687 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 688
ad74a69e
MA
6892011-10-26 Michael Albinus <michael.albinus@gmx.de>
690
691 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 692 tramp.el explicitly. (Bug#7583)
ad74a69e 693
71d4c2a5
SM
6942011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * progmodes/octave-mod.el:
697 * progmodes/octave-inf.el: Update maintainer.
698
b1f6fa26
CY
6992011-10-26 Chong Yidong <cyd@gnu.org>
700
701 * subr.el (with-wrapper-hook): Rewrite doc.
702
3f04efd6
MA
7032011-10-25 Michael Albinus <michael.albinus@gmx.de>
704
705 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 706 filenames "/method:foo:". (Bug#9793)
3f04efd6 707
410488d3
SM
7082011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
711 (bug#9865).
712
c1ebb47e
GM
7132011-10-24 Glenn Morris <rgm@gnu.org>
714
715 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
716
7f5c46c7
MA
7172011-10-24 Michael Albinus <michael.albinus@gmx.de>
718
719 * notifications.el: Add the requirement of a running D-Bus session
720 bus to the Commentary.
721
db2440b6
JL
7222011-10-24 Juri Linkov <juri@jurta.org>
723
724 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
725 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
726 (Bug#9364)
727
feecf435
JL
7282011-10-24 Juri Linkov <juri@jurta.org>
729
730 * info.el (Info-following-node-name-re): Add newline to the list
731 of allowed characters for leading space. (Bug#9824)
732
a3839de2
SM
7332011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
734
acc825c5
SM
735 * progmodes/octave-inf.el (inferior-octave-mode-map):
736 Fix C-c C-h binding.
a3839de2
SM
737 * progmodes/octave-mod.el (octave-help): Remove.
738
09388e76
MA
7392011-10-23 Michael Albinus <michael.albinus@gmx.de>
740
741 Sync with Tramp 2.2.3.
742
743 * net/tramp-cache.el (top): Pacify byte-compiler using
744 `init-file-user' and `site-run-file'.
745
746 * net/trampver.el: Update release number.
747
86c60681
CY
7482011-10-23 Chong Yidong <cyd@gnu.org>
749
750 * files.el (toggle-read-only): Remove obsolete comment about
751 version control.
752
753 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
754 for toggle-read-only. Note that this hasn't called vc-next-action
755 since 2008-05-02, though it wasn't documented at the time.
756
a3839de2
SM
757 * vc/ediff-init.el (ediff-toggle-read-only-function):
758 Use toggle-read-only.
86c60681 759
cd5495ff
AM
7602011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
761
762 Fix bug #9560, sporadic wrong indentation; improve instrumentation
763 of c-parse-state.
764
00b77525 765 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 766 correct faulty logical expression.
cd5495ff
AM
767 (c-parse-state-state, c-record-parse-state-state):
768 (c-replay-parse-state-state): New defvar/defuns.
769 (c-debug-parse-state): Use new functions.
770
42ee24ed
MR
7712011-10-22 Martin Rudalics <rudalics@gmx.at>
772
773 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 774 last fix. Use window-in-direction correctly.
42ee24ed 775
a7dee7e7
CY
7762011-10-21 Chong Yidong <cyd@gnu.org>
777
778 * progmodes/idlwave.el (idlwave-mode):
779 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
780 require-final-newline; that's done in prog-mode.
781 Suggested by Stefan Monnier.
a7dee7e7 782
e07b9a6d
MR
7832011-10-21 Martin Rudalics <rudalics@gmx.at>
784
785 * mouse.el (mouse-drag-window-above)
786 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
787 (mouse-drag-mode-line-1, mouse-drag-header-line)
788 (mouse-drag-vertical-line-rightward-window): Remove.
789 (mouse-drag-line): New function.
790 (mouse-drag-mode-line, mouse-drag-header-line)
791 (mouse-drag-vertical-line): Call mouse-drag-line.
792 * window.el (window-at-side-p, windows-at-side): New functions.
793
7e1361d9
UM
7942011-10-21 Ulrich Mueller <ulm@gentoo.org>
795
796 * tar-mode.el (tar-grind-file-mode):
797 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
798
30fcaf3a
CY
7992011-10-21 Chong Yidong <cyd@gnu.org>
800
801 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
802 * progmodes/vera-mode.el (vera-mode):
803 Use mode-require-final-newline.
30fcaf3a 804
516eddb0
GM
8052011-10-20 Glenn Morris <rgm@gnu.org>
806
db22a3c2 807 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 808
10d5f513
CS
8092011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
810
811 * emulation/cua-base.el (cua-set-mark): Fix case of string.
812
ac6c8639
CY
8132011-10-20 Chong Yidong <cyd@gnu.org>
814
815 * emulation/cua-base.el (cua-mode):
816 * mail/footnote.el (footnote-mode):
817 * mail/mailabbrev.el (mail-abbrevs-mode):
818 * net/xesam.el (xesam-minor-mode):
819 * progmodes/bug-reference.el (bug-reference-mode):
820 * progmodes/cap-words.el (capitalized-words-mode):
821 * progmodes/compile.el (compilation-minor-mode)
822 (compilation-shell-minor-mode):
823 * progmodes/gud.el (gud-tooltip-mode):
824 * progmodes/hideif.el (hide-ifdef-mode):
825 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
826 * progmodes/subword.el (subword-mode):
827 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
828 * progmodes/which-func.el (which-function-mode):
829 * term/tvi970.el (tvi970-set-keypad-mode):
830 * term/vt100.el (vt100-wide-mode):
831 * textmodes/flyspell.el (flyspell-mode):
832 * textmodes/ispell.el (ispell-minor-mode):
833 * textmodes/nroff-mode.el (nroff-electric-mode):
834 * textmodes/paragraphs.el (use-hard-newlines):
835 * textmodes/refill.el (refill-mode):
836 * textmodes/reftex.el (reftex-mode):
837 * textmodes/rst.el (rst-minor-mode):
838 * textmodes/sgml-mode.el (html-autoview-mode)
839 (sgml-electric-tag-pair-mode):
840 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
841 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
842 * emulation/crisp.el (crisp-mode):
843 * emacs-lisp/eldoc.el (eldoc-mode):
844 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
845 minor mode behavior.
846
aa42ab43
JL
8472011-10-19 Juri Linkov <juri@jurta.org>
848
849 * descr-text.el (describe-char): Add #x2010 and #x2011 to
850 the list of hard-coded chars with escape-glyph face.
851
89400f1d
SM
8522011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
855
305c07f6
MA
8562011-10-19 Michael Albinus <michael.albinus@gmx.de>
857
858 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
859 running process.
860
13754b54
GM
8612011-10-19 Glenn Morris <rgm@gnu.org>
862
863 * vc/vc-bzr.el (vc-bzr-after-dir-status):
864 Ignore ignored files. (Bug#9726)
865
06e21633
CY
8662011-10-19 Chong Yidong <cyd@gnu.org>
867
868 Doc fix for minor modes, stating that an omitted argument enables
869 the mode unconditionally when called from Lisp.
870
871 * abbrev.el (abbrev-mode):
872 * allout.el (allout-mode):
873 * autoinsert.el (auto-insert-mode):
874 * autoarg.el (autoarg-mode, autoarg-kp-mode):
875 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
876 (global-auto-revert-mode):
877 * battery.el (display-battery-mode):
878 * composite.el (global-auto-composition-mode)
879 (auto-composition-mode):
880 * delsel.el (delete-selection-mode):
881 * desktop.el (desktop-save-mode):
882 * dired-x.el (dired-omit-mode):
883 * dirtrack.el (dirtrack-mode):
884 * doc-view.el (doc-view-minor-mode):
885 * double.el (double-mode):
886 * electric.el (electric-indent-mode, electric-pair-mode):
887 * emacs-lock.el (emacs-lock-mode):
888 * epa-hook.el (auto-encryption-mode):
889 * follow.el (follow-mode):
890 * font-core.el (font-lock-mode):
891 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
892 * help.el (temp-buffer-resize-mode):
893 * hilit-chg.el (highlight-changes-mode)
894 (highlight-changes-visible-mode):
895 * hi-lock.el (hi-lock-mode):
896 * hl-line.el (hl-line-mode, global-hl-line-mode):
897 * icomplete.el (icomplete-mode):
898 * ido.el (ido-everywhere):
899 * image-file.el (auto-image-file-mode):
900 * image-mode.el (image-minor-mode):
901 * iswitchb.el (iswitchb-mode):
902 * jka-cmpr-hook.el (auto-compression-mode):
903 * linum.el (linum-mode):
904 * longlines.el (longlines-mode):
905 * master.el (master-mode):
906 * mb-depth.el (minibuffer-depth-indicate-mode):
907 * menu-bar.el (menu-bar-mode):
908 * minibuf-eldef.el (minibuffer-electric-default-mode):
909 * mouse-sel.el (mouse-sel-mode):
910 * msb.el (msb-mode):
911 * mwheel.el (mouse-wheel-mode):
912 * outline.el (outline-minor-mode):
913 * paren.el (show-paren-mode):
914 * recentf.el (recentf-mode):
915 * reveal.el (reveal-mode, global-reveal-mode):
916 * rfn-eshadow.el (file-name-shadow-mode):
917 * ruler-mode.el (ruler-mode):
918 * savehist.el (savehist-mode):
919 * scroll-all.el (scroll-all-mode):
920 * scroll-bar.el (scroll-bar-mode):
921 * server.el (server-mode):
922 * shell.el (shell-dirtrack-mode):
923 * simple.el (auto-fill-mode, transient-mark-mode)
924 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
925 (line-number-mode, column-number-mode, size-indication-mode)
926 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
927 * strokes.el (strokes-mode):
928 * time.el (display-time-mode):
929 * t-mouse.el (gpm-mouse-mode):
930 * tool-bar.el (tool-bar-mode):
931 * tooltip.el (tooltip-mode):
932 * type-break.el (type-break-mode-line-message-mode)
933 (type-break-query-mode):
934 * view.el (view-mode):
935 * whitespace.el (whitespace-mode, whitespace-newline-mode)
936 (global-whitespace-mode, global-whitespace-newline-mode):
937 * xt-mouse.el (xterm-mouse-mode): Doc fix.
938
a3839de2
SM
939 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
940 Fix autogenerated docstring.
06e21633 941
5214e501
JL
9422011-10-19 Juri Linkov <juri@jurta.org>
943
944 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
945 by checking environment variables "DESKTOP_SESSION" and
946 "XDG_CURRENT_DESKTOP". (Bug#9779)
947
195f8db9
JL
9482011-10-19 Juri Linkov <juri@jurta.org>
949
950 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
951 (browse-url-chromium-program, browse-url-chromium-arguments):
952 New defcustoms.
953 (browse-url-default-browser): Check for `browse-url-chromium' and
954 call `browse-url-chromium-program'.
955 (browse-url-chromium): New command. (Bug#9779)
956
343a34ff
JB
9572011-10-18 Juanma Barranquero <lekktu@gmail.com>
958
959 * facemenu.el (list-colors-duplicates): On Windows, detect more
960 duplicates by assuming that only colors matching "^System" are
961 special "system colors". (Bug#9722)
962
6978a151
SM
9632011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
966 to distinguish the author from the committer.
967
6a80b297
MA
9682011-10-18 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
971
b31a5677
JK
9722011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
973
974 * international/mule.el (sgml-html-meta-auto-coding-function):
975 Add support for detecting encoding in HTML5 specified only as
976 <meta charset="UTF-8">. Implementation just makes http-equiv and
977 content-type parts from HTML4 encoding string optional. (Bug#9716)
978
80c6d77f
GM
9792011-10-18 Glenn Morris <rgm@gnu.org>
980
981 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
982
08b0fee8
CY
9832011-10-18 Chong Yidong <cyd@gnu.org>
984
985 * faces.el (cursor): Doc fix.
986
67e729a5
CY
9872011-10-17 Chong Yidong <cyd@gnu.org>
988
989 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
990
343a34ff 9912011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
992
993 * dirtrack.el (dirtrack): Support shell buffers with path
994 prefixes, e.g. tramp-based remote shells. (Bug#9647)
995
0bc06380
TZ
9962011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
997
998 * json.el: Bump version to 1.3 and note change in History.
999 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1000
8b79f3e0
SM
10012011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1002
5a7c536b
SM
1003 * comint.el (comint-insert-input, comint-send-input)
1004 (comint-get-old-input-default, comint-backward-matching-input)
1005 (comint-next-prompt): Use nil instead of `input' for field property of
1006 past user input (bug#114).
1007
96a8a0df
SM
1008 * minibuffer.el (completion--replace): Inherit surrounding properties
1009 (bug#114).
1010 (minibuffer-complete-and-exit): Use it.
1011
8b79f3e0
SM
1012 * comint.el (comint--table-subvert): Quote the all-completions output
1013 (bug#9160).
1014
b8f7ff0d
MR
10152011-10-17 Martin Rudalics <rudalics@gmx.at>
1016
8b79f3e0 1017 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1018
b8f7ff0d 1019 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1020 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1021 entries and separate them from frame entries.
1022
c235b555
GM
10232011-10-15 Glenn Morris <rgm@gnu.org>
1024
1025 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1026 Doc fixes.
1027
6bbfa6e1
CY
10282011-10-15 Chong Yidong <cyd@stupidchicken.com>
1029
8b79f3e0
SM
1030 * net/network-stream.el (network-stream-open-starttls):
1031 Improve detection of failure due to lack of TLS support.
ec5c990d 1032
6bbfa6e1
CY
1033 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1034 putting the input text in front and in bold.
1035
98488977
SM
10362011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1037
3d1337be
SM
1038 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1039
ee0b45e4
SM
1040 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1041 empty buffer.
1042
98488977
SM
1043 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1044 unread-command-events rather than pushing yet-another event.
1045
186f4720
EZ
10462011-10-14 Eli Zaretskii <eliz@gnu.org>
1047
1048 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1049 the explanation of the possible choices. Make the options passed
1050 to completing-read shorter.
1051
8b7a997c
AM
10522011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1053
1054 * textmodes/flyspell.el (flyspell-large-region): Make sure
1055 extended character mode is used if defined (Bug#1339).
1056
12587bbb
EZ
10572011-10-13 Eli Zaretskii <eliz@gnu.org>
1058
1059 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1060 character info for LRE, LRO, RLE, and RLO characters by appending
1061 an invisible PDF.
12587bbb 1062
bad41229
SM
10632011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1066 even in case of error; add debug spec; simplify data flow.
1067 (with-timeout-handler): Remove.
1068
28dbc92f
MA
10692011-10-12 Michael Albinus <michael.albinus@gmx.de>
1070
1071 Fix Bug#6019, Bug#9315.
1072
1073 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1074 complete `buffer-file-name', the local file name part could look
1075 remotely (for example on VMS).
1076
1077 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1078 `tramp-run-real-handler'.
1079 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1080 already quoted by '"'.
1081
1082 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1083 Let `file-name-handler-alist' be nil, the local file name part
1084 could look remotely (for example on VMS).
1085
e1b0b23a
SM
10862011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1089 from here...
1090 (flyspell-post-command-hook): ...to here.
1091
a120bde9
SM
10922011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1095 if not needed.
1096 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1097 using completion. Protect against "slow" callers.
1098 Remove the "message hack".
1099
7ce7717b
JL
11002011-10-11 Juri Linkov <juri@jurta.org>
1101
1102 * isearch.el (isearch-lazy-highlight-word): New variable.
1103 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1104 Use it. (Bug#9727)
1105
c02ee9d6
GM
11062011-10-11 Glenn Morris <rgm@gnu.org>
1107
1108 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1109 like f90-previous-statement does.
1110
93e616fd 11112011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1112
1f190e73 1113 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1114 only in interactive use, to avoid error.
1115
af7b6078
SM
11162011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * minibuffer.el (completion-file-name-table): Fix last change,
1119 i.e. ignore normal errors but not the other ones.
1120
0563dae9
MR
11212011-10-10 Martin Rudalics <rudalics@gmx.at>
1122
1123 * window.el (special-display-buffer-names)
1124 (special-display-regexps): Remove some remnants of earlier
1125 changes from doc-strings.
366ca7f3
MR
1126 (quit-windows-on): New function.
1127
1128 * vc/vc.el (vc-revert, vc-rollback):
1129 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1130 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1131 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1132
49677495
MR
11332011-10-09 Martin Rudalics <rudalics@gmx.at>
1134
1135 * window.el (frame-auto-hide-function): Add version tag.
1136 (Bug#9699)
1137
56f2d1e1
MA
11382011-10-09 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1141 condition.
1142
112a6592
LL
11432011-10-09 Leo Liu <sdl.web@gmail.com>
1144
1145 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1146 (Bug#9701)
1147
0812589b
GM
11482011-10-08 Glenn Morris <rgm@gnu.org>
1149
1150 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1151 before the first code statement zero indent. (Bug#9690)
1152
b2b0776e
CY
11532011-10-08 Chong Yidong <cyd@stupidchicken.com>
1154
1155 * simple.el (count-words-region): Always count in the region.
1156 Report the number of lines and characters too.
1157 (count-words): New command, which counts in the buffer if the
1158 region is inactive, as count-words-region used to.
1159 (count-words--message): New function. Handle plurals.
1160 (count-lines-region): Make it an alias for count-words-region.
1161
1162 * bindings.el (esc-map): Replace count-lines-region with
1163 count-words-region.
1164
c557cd6b
MR
11652011-10-08 Martin Rudalics <rudalics@gmx.at>
1166
1167 * window.el (window--delete): Delete dedicated frame
1168 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1169 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1170
61a57ef4 11712011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1172
1173 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1174
c3833279
CY
11752011-10-07 Chong Yidong <cyd@stupidchicken.com>
1176
1177 * bindings.el ([M-left],[M-right]): Bind to left-word and
1178 right-word respectively.
1179
21ce8245
GM
11802011-10-07 Glenn Morris <rgm@gnu.org>
1181
1182 * cus-start.el (debug-on-quit): Fix custom type.
1183
6d823bb2
LMI
11842011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185
0181e193
LMI
1186 * subr.el (define-key-after): Clarify that the function is not
1187 useful for non-menu keymaps.
1188
6d823bb2
LMI
1189 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1190
8e3459ce 11912011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1192
21ce8245 1193 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1194 in current minibuffer (Fix bug with recursive minibuffers).
1195
a1c2d21e
CY
11962011-10-06 Chong Yidong <cyd@stupidchicken.com>
1197
1198 * progmodes/gdb-mi.el (gdb): Doc fix.
1199
5a4cf282
MR
12002011-10-05 Martin Rudalics <rudalics@gmx.at>
1201
1202 * window.el (frame-auto-hide-function): New option replacing
1203 frame-auto-delete. Suggested by Stefan Monnier.
1204 (window--delete): Call frame-auto-hide-function instead of
1205 investigating frame-auto-delete.
c96111ea
MR
1206 (window-point-1, set-window-point-1): New functions.
1207 (window-in-direction, record-window-buffer, window-state-get-1)
1208 (display-buffer-record-window): Use window-point-1 instead of
1209 window-point.
1210 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1211
9854542e
SM
12122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1215
8943cfb0
GM
12162011-10-05 Glenn Morris <rgm@gnu.org>
1217
1218 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1219 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1220
647ab967
LL
12212011-10-05 Leo Liu <sdl.web@gmail.com>
1222
1223 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1224 works with buffer object.
1225
3ddfbced
SM
12262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * mpc.el (mpc-tool-bar-map): Add labels.
1229
bdfa5dd2
GM
12302011-10-04 Glenn Morris <rgm@gnu.org>
1231
1232 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1233
0e2070b5
MR
12342011-10-04 Martin Rudalics <rudalics@gmx.at>
1235
1236 * window.el (window--delete): New function.
1237 (frame-auto-delete): Resuscitate option.
1238 (bury-buffer, replace-buffer-in-windows)
1239 (quit-window): Rewrite using window--delete.
1240 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1241 Pass display-buffer-mark-dedicated to window--display-buffer-2
1242 (Bug#9639).
1243
3dc61a09
SM
12442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1245
915a9b64
SM
1246 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1247 returns a list (bug#9554). Add remote file name completion.
1248 * comint.el (comint--table-subvert): Curry and get quote&unquote
1249 functions as arguments.
1250 (comint--complete-file-name-data): Adjust call accordingly.
1251 * pcomplete.el (pcomplete--table-subvert): Remove.
1252 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1253
3dc61a09
SM
1254 * minibuffer.el (completion-table-case-fold): Use currying.
1255 (completion--styles-type, completion--cycling-threshold-type):
1256 New constants.
1257 (completion-styles, completion-category-overrides)
1258 (completion-cycle-threshold): Use them.
1259 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1260 completion-table-case-fold.
1261
8ea0a993
SB
12622011-10-03 Stephen Berman <stephen.berman@gmx.net>
1263
1264 * minibuffer.el (completion-category-overrides): Fix type of styles
1265 and add more user friendly tags (bug#9660).
1266
8c24b7f6
SM
12672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1270 (mule-input-method-string): New widget.
1271 (default-input-method, language-info-custom-alist): Use it.
1272
428fe61a
SM
12732011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1274
32c1fffd
SM
1275 * pcomplete.el: Require comint.
1276 (pcomplete--common-suffix): Remove.
1277 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1278 (pcomplete--table-subvert): Sync with comint--table-subvert.
1279 (pcomplete--entries): Use comint-completion-file-name-table.
1280 * comint.el (comint-unquote-filename): Simplify.
1281 (comint-completion-file-name-table): New function (bug#9616).
1282 (comint--complete-file-name-data): Use it.
1283
428fe61a
SM
1284 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1285 (pcmpl-gnu-tar-buffer): Remove.
1286 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1287 around. Make sure pcomplete-suffix-list is only changed temporarily.
1288 Don't look inside the tar's file if it's too large.
428fe61a 1289
04c52e2f
CY
12902011-10-01 Chong Yidong <cyd@stupidchicken.com>
1291
ce3cefcc
CY
1292 * cus-edit.el (custom-mode-map):
1293 * epa.el (epa-key-list-mode-map):
1294 * man.el (Man-mode-map):
1295 * startup.el (splash-screen-keymap):
1296 * simple.el (special-mode-map): Use scroll-up-command and
1297 scroll-down-command.
1298
1299 * progmodes/idlw-help.el (idlwave-help-mode-map):
1300 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1301 * net/newst-plainview.el (newsticker-mode-map):
1302 * emulation/ws-mode.el (wordstar-mode-map):
1303 * emulation/vi.el (vi-com-map):
1304 * calc/calc-graph.el (calc-graph-show-dumb):
1305 * term/sun.el (terminal-init-sun):
1306 * term/ns-win.el (global-map):
1307 * progmodes/grep.el (grep-mode-map):
1308 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1309 * mail/rmail.el (rmail-mode-map):
1310 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1311
04c52e2f
CY
1312 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1313 custom-safe-themes as special.
1314
79adf8c8
JD
13152011-10-01 Julien Danjou <julien@danjou.info>
1316
1317 * notifications.el (notifications-notify): Fix docstring.
1318
63bd50d3
PS
13192011-10-01 Per Starbäck <per@starback.se>
1320
1321 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1322
199e4c7e
MR
13232011-09-30 Martin Rudalics <rudalics@gmx.at>
1324
1325 * startup.el (command-line-1): Fix last fix by inserting
1326 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1327 (Bug#9605) and (Bug#9636)
199e4c7e 1328
fe5f08dd
EZ
13292011-09-29 Eli Zaretskii <eliz@gnu.org>
1330
1331 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1332 window is hscrolled, move by logical lines. (Bug#9607)
1333 (line-move-visual): Update the doc string to the above effect.
1334
b5516bbd
MR
13352011-09-29 Martin Rudalics <rudalics@gmx.at>
1336
ccee00c0
MR
1337 * window.el (display-buffer-record-window): When WINDOW is the
1338 selected window use `point' instead of `window-point'. (Bug#9626)
1339
b5516bbd
MR
1340 * startup.el (command-line-1): Use insert-before-markers when
1341 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1342
b5516bbd
MR
1343 * help.el (help-window): Remove variable.
1344
52aa0014
GM
13452011-09-29 Glenn Morris <rgm@gnu.org>
1346
1347 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1348
df9a7357
JB
13492011-09-29 Juanma Barranquero <lekktu@gmail.com>
1350
1351 * descr-text.el (describe-char-categories): Accept category
1352 descriptions more than one line long.
1353
a8406c20
SM
13542011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1355
88d9610c
SM
1356 * simple.el (delete-trailing-whitespace): Fix last change.
1357
a5daf810
SM
1358 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1359 Don't confuse "y => 3" as the beginning of a `y' operation.
1360
a8406c20
SM
1361 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1362 object has more than 4 slots (bug#9613).
1363
a239d4e9
JB
13642011-09-28 Juanma Barranquero <lekktu@gmail.com>
1365
1366 * subr.el (with-output-to-temp-buffer):
1367 * net/quickurl.el (quickurl, quickurl-browse-url):
1368 Fix typos in docstrings.
1369
693fbdb6
EZ
13702011-09-27 Eli Zaretskii <eliz@gnu.org>
1371
1372 * minibuffer.el (completion-styles)
1373 (completion-category-overrides): Cross reference each other in doc
1374 strings.
1375
8b457e28
GM
13762011-09-27 Glenn Morris <rgm@gnu.org>
1377
1378 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1379 to split-string. (Bug#9606)
1380
85a16208
LMI
13812011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1382
1383 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1384 (bug#9615).
1385
502f9ebd
CY
13862011-09-27 Chong Yidong <cyd@stupidchicken.com>
1387
1388 * emacs-lisp/package.el (list-packages): Fix echo area message.
1389
7690bdea
LL
13902011-09-27 Leo Liu <sdl.web@gmail.com>
1391
1392 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1393
e2ee6f30
MA
13942011-09-25 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/dbus.el (dbus-unregister-object): Don't release services for
1397 registered signals. (Bug#9581)
1398
f3f98342
TZ
13992011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1400
1401 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1402 function that picks between cfengine 2 and 3 support
1403 automatically. Update docs accordingly.
1404
dd7aa8dd
KH
14052011-09-22 Kenichi Handa <handa@m17n.org>
1406
1407 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1408 ZERO.
1409 (indian-itrans-v5-table-for-tamil): New variable.
1410 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1411
3f2b07f8
KM
14122011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1413
1414 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1415 that's true if the current command involved collapsing of text.
1416 It's reset to false at the beginning of the next command.
1417 (allout-post-command-business): Move the cursor to the beginning
1418 of entry if the cursor is hidden and collapsing activity just
1419 happened.
1420
371d6a61
CY
14212011-09-24 Chong Yidong <cyd@stupidchicken.com>
1422
1423 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1424 tracking (Bug#9541).
1425
2ac2721a
UJ
14262011-09-24 Ulf Jasper <ulf.jasper@web.de>
1427
1428 * net/newst-reader.el (newsticker-html-renderer)
1429 (newsticker-show-news): Automatically
343a34ff
JB
1430 load html rendering package if newsticker-html-renderer is set.
1431 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1432 let-bound" and the error "Symbol's value as variable is void:
1433 w3m-fill-column".
1434
fac7ae53
MA
14352011-09-24 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1438 Release services only if they are defined. (Bug#9581)
1439
e08b633b
RS
14402011-09-23 Richard Stallman <rms@gnu.org>
1441
e488d29c
RS
1442 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1443 distinguish start of paragraph from start of its text.
1444
19c38752
RS
1445 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1446
e08b633b
RS
1447 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1448 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1449 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1450
0a39f27e
AS
14512011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1452
1453 * international/mule-diag.el (mule-diag): Insert a newline after
1454 each fontset description.
1455
db4e950d
SM
14562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * simple.el (delete-trailing-whitespace):
1459 Document last change; simplify.
1460
eca3f3ea
PW
14612011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1462
d68e189a
PW
1463 * simple.el (delete-trailing-whitespace): Also delete
1464 extra newlines at the end of the buffer.
1465
eca3f3ea
PW
1466 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1467 (picture-newline): Use forward-line so as to ignore fields.
1468
01c157cc
SM
14692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * subr.el (with-wrapper-hook): Fix edebug spec.
1472
022de23e
LMI
14732011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1474
1475 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1476 (bug#4538).
1477
91683089
MA
14782011-09-23 Michael Albinus <michael.albinus@gmx.de>
1479
eca3f3ea
PW
1480 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1481 Fix nasty bug using wrong cached values.
91683089 1482
5bdd6fa4
AM
14832011-09-23 Alan Mackenzie <acm@muc.de>
1484
1485 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1486
97adfb97
CY
14872011-09-23 Chong Yidong <cyd@stupidchicken.com>
1488
1489 * window.el (pop-to-buffer): Ensure right window is selected if we
1490 chose another frame.
1491
d4ef2b50
EZ
14922011-09-22 Eli Zaretskii <eliz@gnu.org>
1493
1494 * simple.el (what-cursor-position): Use get-char-property-change
1495 and next-single-char-property-change, to be able to show display
1496 properties that come from overlays as well as text properties.
1497
72258fe5
CY
14982011-09-22 Chong Yidong <cyd@stupidchicken.com>
1499
1500 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1501
1502 * cmuscheme.el (run-scheme, switch-to-scheme):
1503 * cus-edit.el (customize-group, custom-buffer-create)
1504 (customize-browse):
1505 * info.el (info):
1506 * shell.el (shell):
1507 * mail/sendmail.el (mail):
1508 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1509
8f098516
RS
15102011-09-22 Richard Stallman <rms@gnu.org>
1511
1512 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1513 move back only to line beg, don't move back over blank lines.
1514
e74f1bb6
MA
15152011-09-22 Michael Albinus <michael.albinus@gmx.de>
1516
1517 * files.el (copy-directory): Set directory attributes only in case
1518 they could be retrieved from the source directory. (Bug#9565)
1519
bfeef8b6
DK
15202011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1521
1522 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1523 (hs-find-block-beginning, hs-hide-level-recursive):
1524 Ignore strings as well as comments. (Bug#9502)
1525
7e423bb8
AS
15262011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1527
1528 * progmodes/sql.el (sql-comint-postgres):
1529 Convert port number to a string. (Bug#9566)
1530
b4d72fcf
MR
15312011-09-22 Martin Rudalics <rudalics@gmx.at>
1532
1533 * window.el (quit-window): Undedicate window when switching to
1534 previous buffer. Reported by Thierry Volpiatto
1535 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1536 (special-display-popup-frame): When popping up a new frame reset
1537 its previous buffers to nil. Simplify code.
b4d72fcf 1538
a7b88dc6
MA
15392011-09-21 Michael Albinus <michael.albinus@gmx.de>
1540
1541 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1542 and process filter, as done also in `shell-command'.
1543
cf4eacfd
MR
15442011-09-21 Martin Rudalics <rudalics@gmx.at>
1545
eca3f3ea
PW
1546 * window.el (set-window-buffer-start-and-point):
1547 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1548 Volpiatto <thierry.volpiatto@gmail.com>.
1549 (quit-window): Reword doc-string. Handle new format of
1550 quit-restore parameter. Don't delete window if it has a
1551 previous buffer we can show instead of the present one.
1552 (display-buffer-record-window): Rewrite using a new format for
1553 the quit-restore window parameter
1554 (special-display-popup-frame, display-buffer-same-window)
1555 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1556 (display-buffer-pop-up-window, display-buffer-use-some-window):
1557 Adapt symbol passed to display-buffer-record-window.
1558 * help.el (help-window-setup): Handle new format of quit-restore
1559 parameter.
1560
8d28cb95
SM
15612011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1562
94ab793f
SM
1563 * faces.el (face-list): Fix docstring (bug#9564).
1564
8d28cb95
SM
1565 * window.el (display-buffer--action-function-custom-type):
1566 Don't include internal functions in the Custom interface.
1567
3820edeb
JL
15682011-09-20 Juri Linkov <juri@jurta.org>
1569
1570 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1571 (Info-forward-node, Info-backward-node, Info-next-preorder)
1572 (Info-last-preorder): Use it. (Bug#9528)
1573
5147931d
JL
15742011-09-20 Juri Linkov <juri@jurta.org>
1575
1576 * info.el (Info-last-preorder): Visit last menu item only when
1577 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1578
cf499a1a
JD
15792011-09-20 Julien Danjou <julien@danjou.info>
1580
1581 * password-cache.el (password-cache-remove): Remove entries even if the
1582 value is nil, so that password with a nil value (negative caching) is
1583 possible to invalidate.
1584
f84e2fe2
LM
15852011-09-20 Lawrence Mitchell <wence@gmx.li>
1586
1587 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1588 all whitespace around breakpoint. (Bug#9553)
1589 (f90-find-breakpoint): Only break at whitespace inside a comment.
1590
78054a46
SM
15912011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * minibuffer.el (completion-file-name-table): Keep track of errors.
1594 (completion-table-with-predicate): Handle the case where pred1 is nil.
1595 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1596
345083b2
SM
15972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1598
e24e27be
SM
1599 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1600 (debugger-return-value): Signal an error if the debugging context does
1601 not await any return value.
1602
345083b2
SM
1603 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1604 * image-mode.el (image-toggle-display-text)
1605 (image-toggle-display-image): Stay away from evil `intangible'.
1606
08d355e3
LL
16072011-09-19 Leo Liu <sdl.web@gmail.com>
1608
1609 * replace.el (occur-revert-arguments): Make it permanent-local.
1610 (occur-mode): Don't call font-lock-defontify.
1611
f01da43f
CY
16122011-09-19 Chong Yidong <cyd@stupidchicken.com>
1613
1614 * net/ldap.el (ldap-search-internal): Don't push empty search
1615 result (Bug#9508).
1616
b6072fa6
SM
16172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1620
443d6696
MA
16212011-09-19 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1624 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1625
7cc6e154
JL
16262011-09-18 Juri Linkov <juri@jurta.org>
1627
1628 * buff-menu.el (Buffer-menu-mode-map):
1629 * dired.el (dired-mode-map):
1630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1631 (lisp-interaction-mode-map):
1632 * emacs-lisp/package.el (package-menu-mode-map):
1633 * epa.el (epa-key-list-mode-map):
1634 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1635 (menu-bar-options-menu):
1636 * outline.el (outline-mode-menu-bar-map):
1637 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1638 * vc/vc-dir.el (vc-dir-menu-map):
1639 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1640 Capitalize non-function content words in menu item strings.
1641
1642 * dired.el (dired-mode-map): Add menu item for
1643 `image-dired-dired-toggle-marked-thumbs'.
1644
80302a81
JL
16452011-09-18 Juri Linkov <juri@jurta.org>
1646
1647 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1648 to `isearch-case-fold-search' and restore its original value
1649 after the `isearch-mode' call.
1650
46c5cf66
JL
16512011-09-18 Juri Linkov <juri@jurta.org>
1652
1653 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1654 because `zgrep' returns 1 for successful matches (bug#9226).
1655
d18b513b
JL
16562011-09-18 Juri Linkov <juri@jurta.org>
1657
1658 * info.el (Info-extract-menu-node-name): Check the second match
1659 for empty string (second test-case of bug#9528).
1660 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1661 intermediate nodes to the history (first test-case of bug#9528).
1662
72753f87
JL
16632011-09-18 Juri Linkov <juri@jurta.org>
1664
1665 * info.el (Info-mode-syntax-table): New variable.
1666 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1667
c9384295
JL
16682011-09-18 Juri Linkov <juri@jurta.org>
1669
1670 * info.el (Info-file-supports-index-cookies): Increment
1671 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1672 one more line for long file names (bug#4142).
1673
d473dce8
CY
16742011-09-18 Chong Yidong <cyd@stupidchicken.com>
1675
1676 * newcomment.el (comment-normalize-vars): If prompting for
1677 comment-start, set comment-start-skip too (Bug#8424).
1678
2176854d
JB
16792011-09-18 Johan Bockgård <bojohan@gnu.org>
1680
1681 * icomplete.el: Fix previous fix of Bug#5849.
1682 (icomplete-mode): Don't set completion-show-inline-help.
1683 (icomplete-minibuffer-setup): Set completion-show-inline-help
1684 locally during icompletion.
1685
3aace4e4
CY
16862011-09-18 Chong Yidong <cyd@stupidchicken.com>
1687
c940224f
CY
1688 * woman.el (woman2-process-escapes): Don't delete unrecognized
1689 escapes (Bug#7843).
1690
3aace4e4
CY
1691 * files.el (inhibit-first-line-modes-regexps): Add image files.
1692 (hack-local-variables-prop-line): Return nil for malformed
1693 prop-lines (Bug#9044).
1694
710dec63
MA
16952011-09-18 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/tramp.el (top): Don't require 'shell.
1698 (tramp-methods): Fix docstring.
1699 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1700 Return complete remote file name. Handle "smb" case.
1701 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1702 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1703
1704 * net/tramp-compat.el (top): Require 'shell.
1705
1706 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1707 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1708 `tramp-current-host'.
1709 (tramp-get-remote-tmpdir): Remove.
1710
1711 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1712 `tramp-tmpdir' entries.
1713 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1714 (tramp-smb-handle-file-attributes): Ignore errors.
1715 (tramp-smb-wait-for-output): Check also for process end.
1716
5d5ac8ec
LMI
17172011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1720 when sending QUIT (bug#9312).
1721
8c0f49f0
CY
17222011-09-17 Chong Yidong <cyd@stupidchicken.com>
1723
1724 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1725 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1726 occur-mode-display-occurrence.
1727 (occur-edit-mode): Add usage message.
1728 (occur-cease-edit): New command.
1729 (occur-after-change-function): Use text properties to find the
1730 position of the prefix text.
1731 (occur-engine): Set stickiness of prefix text properties.
1732
8f1383f7
GM
17332011-09-17 Glenn Morris <rgm@gnu.org>
1734
1735 * progmodes/etags.el (complete-tag):
1736 Fix call to completion-in-region. (Bug#9526)
1737
744ba0e3
JL
17382011-09-17 Juri Linkov <juri@jurta.org>
1739
1740 * textmodes/ispell.el (ispell-word): Add to the error message
1741 the word, ispell program name and current dictionary (bug#9121).
1742 (ispell-tex-arg-end): Capitalize "error" in the error message.
1743
d9bbf400
AS
17442011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1745
1746 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1747 check. (Bug#4251)
1748
8da11505
JL
17492011-09-17 Juri Linkov <juri@jurta.org>
1750
1751 * window.el (window-safe-min-height, window-safe-min-width):
1752 Fix typos (followup to bug#9522).
1753
a91adc7e
SJ
17542011-09-17 Sven Joachim <svenjoac@gmx.de>
1755
1756 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1757
064f328a
EZ
17582011-09-16 Eli Zaretskii <eliz@gnu.org>
1759
1760 * simple.el (line-move): If goal-column is set, move by logical
1761 lines, not by display lines. (Bug#971)
1762 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1763 to reflect the above change.
1764
e69df516
SM
17652011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * image.el (imagemagick-register-types): Use regexp-opt.
1768
cbb0f9ab
CY
17692011-09-15 Chong Yidong <cyd@stupidchicken.com>
1770
1771 * window.el (display-buffer-base-action): Rename from
1772 display-buffer-default-action. Make default value empty.
1773 (display-buffer-overriding-action): Convert to defvar.
1774 (display-buffer-fallback-action): New var.
1775
25322144
CY
17762011-09-15 Chong Yidong <cyd@stupidchicken.com>
1777
1778 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1779 declaration.
1780 (package--add-to-archive-contents): If there is a duplicate entry
1781 with an older version, remove it.
1782 (package-menu-mark-delete, package-menu-mark-install)
1783 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1784 (package-menu-mark-obsolete-for-deletion):
1785 Use package-menu-get-status instead of a regexp search.
25322144
CY
1786 (package-menu-get-status): Use tabulated-list-entry.
1787 (package-menu-mark-upgrades): New command.
d770725a 1788 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1789 (package-menu-execute): Do installation before deletion.
1790 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1791 instead of checking major-mode.
1792 (package-menu--find-upgrades): New function.
1793
7520339c
LMI
17942011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1795
1796 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1797 passwords in the log buffer.
65a046c4
LMI
1798 (smtpmail-process-filter): Update the process marker so that the
1799 "broken by peer" status message is inserted in the right place.
7520339c 1800
d3c30954
SM
18012011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1802
3fe48822
SM
1803 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1804 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1805 bibtex-completion-at-point-function.
1806 (bibtex-completion-at-point-function): Use them.
1807
1b8b3954
SM
1808 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1809
d3c30954
SM
1810 * mpc.el (mpc-constraints-tag-lookup): New function.
1811 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1812 also to browser "album|playlist".
1813
72779976
JL
18142011-09-14 Juri Linkov <juri@jurta.org>
1815
1816 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1817 (isearch-edit-string): Use length of `isearch-string' when
1818 `isearch-fail-pos' returns nil.
1819 (isearch-message): Remove duplicate code and call
1820 `isearch-fail-pos' with arg `t'.
1821
a0bf2bcd
CY
18222011-09-14 Chong Yidong <cyd@stupidchicken.com>
1823
17bb0a2d
CY
1824 * replace.el (occur-mode-goto-occurrence): Don't force using other
1825 window (Bug#9499).
1826
a0bf2bcd
CY
1827 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1828
f678e0b6
MR
18292011-09-14 Martin Rudalics <rudalics@gmx.at>
1830
1831 * window.el (display-buffer-window): Remove.
1832 (display-buffer-record-window): Use help-setup window parameter
1833 instead of variable display-buffer-window.
1834 (display-buffer-function, special-display-buffer-names)
1835 (special-display-function): Mention help-setup parameter instead
1836 of display-buffer-window in doc-string.
d3c30954
SM
1837 * help.el (help-window-setup): New argument help-window.
1838 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1839 Reword some messages.
1840 (with-help-window): Pass window used for displaying the buffer
1841 to help-window-setup. Don't set display-buffer-window.
1842
8e39b2e8
GM
18432011-09-13 Glenn Morris <rgm@gnu.org>
1844
1845 * emacs-lisp/debug.el (debugger-make-xrefs):
1846 Preserve point. (Bug#9462)
1847
85e9c04b
CY
18482011-09-13 Chong Yidong <cyd@stupidchicken.com>
1849
1850 * window.el (window-deletable-p): Use next-frame.
1851
1b36ed6a
MR
18522011-09-13 Martin Rudalics <rudalics@gmx.at>
1853
1854 * window.el (window-auto-delete): Remove.
1855 (window-deletable-p): Remove argument FORCE. Don't deal with
1856 dedicatedness and previous buffers.
1857 (switch-to-prev-buffer): Don't delete window.
1858 (delete-windows-on): Delete a window's frame if and only if the
1859 window is dedicated.
1860 (replace-buffer-in-windows): Delete buffer's window or frame if
1861 and only if window is dedicated.
1862 (quit-window): Handle quit-restore as before last change.
4d61f28d 1863 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1864
ef8ef9fb
CY
18652011-09-13 Chong Yidong <cyd@stupidchicken.com>
1866
1867 * window.el (window-deletable-p): Never delete the last frame on a
1868 given terminal.
1869
b2cba41e
GM
18702011-09-13 Glenn Morris <rgm@gnu.org>
1871
1872 * help.el (describe-key-briefly): Copy previous standard-output change.
1873
51553db6 18742011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1875
1876 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1877
b7556719
GM
18782011-09-13 Glenn Morris <rgm@gnu.org>
1879
1880 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1881 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1882
64b51947
CY
18832011-09-12 Chong Yidong <cyd@stupidchicken.com>
1884
1885 * dired-aux.el (dired-mark-read-string): Don't return default
1886 value on empty input (Bug#9361).
1887 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1888 Omit initial minibuffer contents.
1889 (dired-do-chmod): Signal an error on empty input.
1890 (dired-mark-read-string): Don't return default on empty input.
1891
1892 * files.el (file-modes-symbolic-to-number): Doc fix.
1893
393a301e
SM
18942011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * international/mule-cmds.el (ucs-completions): Remove.
1897 (read-char-by-name): Use complete-with-action instead; add metadata.
1898
fa5660f9
CY
18992011-09-11 Chong Yidong <cyd@stupidchicken.com>
1900
1901 * window.el (display-buffer--action-function-custom-type)
1902 (display-buffer--action-custom-type): New vars.
1903 (display-buffer-alist, display-buffer-default-action)
1904 (display-buffer-overriding-action): Add defcustom types.
1905
4a592f66
CY
1906 * frame.el (delete-other-frames): Doc fix (Bug#276).
1907
73d56dbd
LMI
19082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1909
1910 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1911
37ac18a3
CY
19122011-09-11 Chong Yidong <cyd@stupidchicken.com>
1913
1914 Change modes that used same-window-* vars to use switch-to-buffer.
1915
1916 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1917 Use switch-to-buffer.
1918
1919 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1920 (customize-browse, custom-buffer-create-other-window):
1921 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1922
1923 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1924 (Info-prev, Info-up, Info-speedbar-goto-node)
1925 (info-display-manual): Use switch-to-buffer.
1926 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1927
1928 * mail/sendmail.el (mail): Use switch-to-buffer.
1929 (mail-recover): Use switch-to-buffer-other-window.
1930
1931 * cmuscheme.el (run-scheme, switch-to-scheme):
1932 * ielm.el (ielm):
1933 * shell.el (shell):
1934 * net/rlogin.el (rlogin):
1935 * net/telnet.el (telnet, rsh):
1936 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1937
10195bd6
AS
19382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1939
1940 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1941
b322f63a
LMI
19422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1943
39d7fed6
LMI
1944 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1945 so don't mention it (bug#9301).
ba5a81f1 1946 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1947
ee0e9f11
LMI
1948 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1949 match `x', `w32' and `ns', like the manual says (bug#9029).
1950
0b1c89c1 1951 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1952 (process-kill-buffer-query-function): Mention the buffer name in
1953 the query.
0b1c89c1 1954
77549ea8
LMI
1955 * image-mode.el (image-next-line): The line parameter is mandatory
1956 (bug#9258).
1957
803ef892
LMI
1958 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1959 which can be useful (bug#9301).
1960
12980837
LMI
1961 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1962
91054f8f
LMI
1963 * subr.el (match-string): Mention that the current buffer should
1964 be the same as the search was done in (bug#9282).
1965
b322f63a
LMI
1966 * facemenu.el: Disable the remove-* commands if the mark isn't
1967 active (bug#9162).
1968
3199b96f
CY
19692011-09-10 Chong Yidong <cyd@stupidchicken.com>
1970
1971 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1972 of display-buffer.
1973 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1974
1975 * replace.el (occur-mode-goto-occurrence)
1976 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1977 and display-buffer.
1978
1979 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1980 display-buffer.
1981
1982 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1983 special-display and same-window variables.
1984 (mail-other-window): Use switch-to-buffer-other-window.
1985 (mail-other-frame): USe switch-to-buffer-other-frame.
1986
393a301e
SM
1987 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1988 Use display-buffer-other-frame.
3199b96f
CY
1989 (gdb-display-gdb-buffer): Use pop-to-buffer.
1990
1991 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1992
1993 * progmodes/python.el: Don't set same-window-buffer-names.
1994
1995 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1996
1997 * window.el (display-buffer-alist): Add *Python*.
1998
8319e0bf
CY
19992011-09-10 Chong Yidong <cyd@stupidchicken.com>
2000
2001 * window.el (display-buffer-alist): Add entry for buffers
2002 previously handled same-window-*.
2003 (display-buffer-alist, display-buffer-default-action)
2004 (display-buffer-overriding-action): Mark as risky.
2005 (display-buffer-alist): Document action function changes.
2006 (display-buffer--same-window-action)
2007 (display-buffer--other-frame-action): New variables.
2008 (switch-to-buffer, display-buffer-other-frame): Use them.
2009 (display-buffer): Rename reuse-frame entry to reusable-frames.
2010 (display-buffer-reuse-selected-window): Function deleted.
2011 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2012 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2013 (display-buffer-special): New function.
2014 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2015 display-buffer-reuse-or-pop-window. Split off special-display
2016 part into display-buffer-special.
2017 (display-buffer-use-some-window): Don't perform any special
2018 pop-up-frames handling.
2019 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2020 (display-buffer--maybe-same-window): Rename from
0d3ff375 2021 display-buffer-maybe-same-window.
8319e0bf 2022
919a69aa
CY
2023 * info.el: Don't set same-window-regexps.
2024 (info-setup): New function.
2025 (info-other-window, info): Call it.
2026
2027 * cus-edit.el: Don't set same-window-regexps.
2028 (customize-group): New argument.
2029 (customize-group-other-window): Use it.
2030 (customize-face, customize-face-other-window): Likewise.
2031 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2032
8319e0bf
CY
2033 * net/rlogin.el:
2034 * net/telnet.el:
2035 * progmodes/gud.el: Don't set same-window-regexps.
2036
2037 * cmuscheme.el:
2038 * ielm.el:
2039 * shell.el:
2040 * mail/sendmail.el:
2041 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2042
25173000
JL
20432011-09-10 Juri Linkov <juri@jurta.org>
2044
2045 * isearch.el (isearch-edit-string): Remove obsolete mention of
2046 `C-w' (`isearch-yank-word-or-char') from docstring.
2047 (isearch-query-replace): Fix typo in docstring (bug#9466).
2048
056e44ef
JL
20492011-09-10 Juri Linkov <juri@jurta.org>
2050
2051 * paren.el (show-paren-function): Don't show escaped parens.
2052 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2053
c3760c17
EZ
20542011-09-10 Eli Zaretskii <eliz@gnu.org>
2055
2056 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2057 (mm-default-file-encoding): Remove autoload forms, they are
2058 replaced with autoload cookies in mml.el and mm-encode.el.
2059 (mail-add-attachment): New command.
2060 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2061 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2062 the doc string.
2063 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2064
fece895e
RT
20652011-09-10 Reuben Thomas <rrt@sc3d.org>
2066
e69df516
SM
2067 * simple.el (count-words-region): Use buffer if there's no region
2068 (bug#9429).
fece895e 2069
5e68ce4a
JL
20702011-09-09 Juri Linkov <juri@jurta.org>
2071
2072 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2073 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2074 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2075
0a6b9622
AM
20762011-09-09 Alan Mackenzie <acm@muc.de>
2077
2078 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2079 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2080
14a29deb
EZ
20812011-09-09 Eli Zaretskii <eliz@gnu.org>
2082
2083 Fix for Savannah bug#9392.
2084 * simple.el (mail-encode-mml): New defvar.
2085
2086 * mail/rmail.el (mail-encode-mml): Add a defvar.
2087 (rmail-enable-mime-composing): Default to t.
2088 (rmail-forward): Use MIME method of forwarding only if both
2089 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2090 Set mail-encode-mml non-nil if the MIME method was used.
2091
2092 * mail/sendmail.el (mml-to-mime): Add autoload form.
2093 (mail-encode-mml): Add a defvar.
2094 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2095 to nil.
2096 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2097 message through mml-to-mime, and reset mail-encode-mml to nil.
2098
28c45130
GM
20992011-09-09 Glenn Morris <rgm@gnu.org>
2100
2101 * woman.el (woman-if-body): When processing an .el block,
2102 do not delete the next .el block as well. (Bug#9447)
69f4b618 2103 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2104
9b1c252e
MR
21052011-09-08 Martin Rudalics <rudalics@gmx.at>
2106
2107 * window.el (window-deletable-p): Make sure window is live before
2108 invoking window-prev-buffers.
2109
567457e3
LL
21102011-09-08 Leo Liu <sdl.web@gmail.com>
2111
2112 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2113
97f05794
JL
21142011-09-08 Juri Linkov <juri@jurta.org>
2115
2116 * progmodes/compile.el (compilation-environment): Make it
2117 a defcustom (bug#8340).
2118
8b0874b5
MR
21192011-09-08 Martin Rudalics <rudalics@gmx.at>
2120
2121 * window.el (frame-auto-delete): Rename to window-auto-delete.
2122 Make it control auto-deletion of windows and/or frames.
2123 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2124 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2125 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2126 Rewrite handling of case when window/frame can be deleted.
2127 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2128 argument t. (Bug#9456)
8b0874b5 2129
4feb6e73
CY
21302011-09-07 Chong Yidong <cyd@stupidchicken.com>
2131
2132 * help-mode.el (help-mode): Restore autoload.
2133
91ab9c13
JL
21342011-09-07 Juri Linkov <juri@jurta.org>
2135
2136 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2137 `compilation-environment'. Set buffer-local
2138 `compilation-environment' to `thisenv' later after (funcall mode).
2139 (Bug#8340)
2140
2141 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2142 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2143 instead of replacing its value. (Bug#8340)
2144
0527e251
JL
21452011-09-07 Juri Linkov <juri@jurta.org>
2146
2147 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2148 based on text properties put by `grep-filter' instead of matching
2149 escape sequences.
2150 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2151 to the value of `grep-error-screen-columns' (bug#9438).
2152
249f792c
JL
21532011-09-07 Juri Linkov <juri@jurta.org>
2154
2155 * simple.el (next-error-highlight, next-error-highlight-no-select):
2156 Doc fix (bug#9432).
2157
ff7271b9
OT
21582011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2159
2160 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2161 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2162
183fc730
LL
21632011-09-07 Leo Liu <sdl.web@gmail.com>
2164
2165 * net/rcirc.el (rcirc-mode): Conditionally initialize
2166 rcirc-input-ring.
2167
77694924
SM
21682011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/find-func.el (find-function-C-source): Only set
2171 find-function-C-source-directory after checking that we found a source
2172 file there (bug#9440).
2173
d809b8eb
AM
21742011-09-06 Alan Mackenzie <acm@muc.de>
2175
2176 * isearch.el (isearch-other-meta-char): Wherever a key list is
2177 unread, "unread" the prefix arg, too. This fixes bug #8901.
2178
453de99f
OG
21792011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2180
2181 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2182
90439906
JL
21832011-09-05 Juri Linkov <juri@jurta.org>
2184
2185 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2186
f62bd846
JL
21872011-09-05 Juri Linkov <juri@jurta.org>
2188
2189 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2190 keeping point where processing of grep matches begins, and
2191 continue to delete remaining escape sequences from the same point.
2192 (grep-filter): Make leading zero optional in "0?1;31m" because
2193 git-grep emits "\033[1;31m" escape sequences unlike expected
2194 "\033[01;31m" as GNU Grep does (bug#9408).
2195 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2196
045820ec
JL
21972011-09-05 Juri Linkov <juri@jurta.org>
2198
2199 * subr.el (y-or-n-p): Capitalize "yes".
2200
f5e29b9b
MA
22012011-09-04 Michael Albinus <michael.albinus@gmx.de>
2202
2203 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2204 `tramp-cache-unload-hook' where appropriate.
2205 (tramp-methods): Rename `tramp-remote-sh' to
2206 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2207 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2208
2209 * net/tramp-sh.el (top): Don't require 'shell.
2210 (tramp-methods): Add `tramp-remote-shell' and
2211 `tramp-remote-shell-args' entries.
2212 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2213 (tramp-sh-handle-shell-command): Remove.
2214 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2215 Use `tramp-remote-shell'.
2216
2784c434
CY
22172011-09-03 Chong Yidong <cyd@stupidchicken.com>
2218
393a301e 2219 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2220 (sendmail-query-once): Save directly to send-mail-function.
2221 Update message-send-mail-function too.
2222
2223 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2224
464cdf56
CS
22252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2226
2227 * progmodes/python.el (python-mode-map): Use correct function to
2228 start python interpreter from menu-bar (as reported by Geert
2229 Kloosterman).
2230 (inferior-python-mode-map): Fix typo.
393a301e 2231 (python-shell-map): Remove.
464cdf56 2232
d37e5c87
DD
22332011-09-03 Deniz Dogan <deniz@dogan.se>
2234
2235 * net/rcirc.el (rcirc-print): Simplify code for
2236 rcirc-scroll-show-maximum-output. There is no need to walk
2237 through all windows to find the right one.
2238
f3ada0ee
CS
22392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2240
2241 * help.el (help-return-method): Doc fix.
2242
1f3c99ca
MR
22432011-09-03 Martin Rudalics <rudalics@gmx.at>
2244
2245 * window.el (window-deletable-p): Don't return a non-nil value
2246 when there's a buffer that was shown in the window before.
2247 (Bug#9419)
393a301e
SM
2248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2249 Set window's previous buffers to nil.
1f3c99ca 2250
a3cf097f
EZ
22512011-09-03 Eli Zaretskii <eliz@gnu.org>
2252
2253 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2254 newline before and after the tag line, so it doesn't interfere
2255 with determining the paragraph direction of bidirectional text.
2256
3d03de90
LL
22572011-09-03 Leo Liu <sdl.web@gmail.com>
2258
2259 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2260
c3313451
CY
22612011-09-02 Chong Yidong <cyd@stupidchicken.com>
2262
393a301e 2263 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2264 (pop-to-buffer): Change interactive spec. Pass second argument
2265 directly to display-buffer.
2266 (display-buffer): Fix interactive spec. Use functionp to
2267 distinguish between a function and a list of functions.
2268
2269 * abbrev.el (edit-abbrevs):
2270 * arc-mode.el (archive-extract):
2271 * autoinsert.el (auto-insert):
2272 * bookmark.el (bookmark-bmenu-list):
2273 * files.el (find-file):
2274 * view.el (view-buffer):
2275 * progmodes/compile.el (compilation-goto-locus):
2276 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2277
89894cd8
CY
22782011-09-02 Chong Yidong <cyd@stupidchicken.com>
2279
2280 * window.el (display-buffer-alist): Doc fix.
2281 (display-buffer): Add docstring. Don't treat
2282 display-buffer-default specially.
2283 (display-buffer-reuse-selected-window)
2284 (display-buffer-same-window, display-buffer-maybe-same-window)
2285 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2286 (display-buffer-pop-up-window)
2287 (display-buffer-reuse-or-pop-window)
2288 (display-buffer-use-some-window): New functions.
2289 (display-buffer-default-action): Use them.
393a301e 2290 (display-buffer-default): Delete.
89894cd8
CY
2291 (pop-to-buffer-1): Fix choice of actions.
2292
ae0bc9fb
SM
22932011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * minibuffer.el (completion--insert-strings): Don't get confused by
2296 completion entries that end with an LF char.
2297
e9d90883
EZ
22982011-09-01 Eli Zaretskii <eliz@gnu.org>
2299
2300 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2301
437014c8
CY
23022011-09-01 Chong Yidong <cyd@stupidchicken.com>
2303
2304 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2305 (display-buffer-same-window, display-buffer-other-window):
2306 New functions.
437014c8
CY
2307 (pop-to-buffer-1): New function. Use the above.
2308 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2309 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2310
2311 * view.el (view-buffer-other-window, view-buffer-other-frame):
2312 Just use pop-to-buffer.
2313
a5e063d5
TV
23142011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2315
2316 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2317
793d32bb
WH
23182011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2319
2320 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2321
d65e4c15
RS
23222011-08-31 Richard Stallman <rms@gnu.org>
2323
2324 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2325 of the separation of rmail-view-buffer from rmail-buffer.
2326 If you say no to "replace original", the decrypt is in the
2327 view buffer. If you say yes, the decrypt goes into the
2328 rmail buffer also.
2329
f818cd2a
MR
23302011-08-31 Martin Rudalics <rudalics@gmx.at>
2331
2332 * window.el (display-buffer-window): Rewrite doc-string.
2333 (display-buffer-record-window): New function.
2334 (display-buffer-macro-specifiers)
2335 (display-buffer-even-window-sizes, display-buffer-set-height)
2336 (display-buffer-set-width, display-buffer-in-window)
2337 (display-buffer-reuse-window, display-buffer-split-specifiers)
2338 (display-buffer-side-specifiers, display-buffer-split-window-1)
2339 (display-buffer-split-window, display-buffer-split-atom-window)
2340 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2341 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2342 (display-buffer-other-window-means-other-frame)
2343 (display-buffer-normalize-special)
2344 (display-buffer-normalize-default)
2345 (display-buffer-normalize-argument)
2346 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2347 (display-buffer-normalize-specifiers, display-buffer-frame)
2348 (display-buffer-same-window, display-buffer-same-frame)
2349 (display-buffer-other-window)
2350 (display-buffer-same-frame-other-window)
2351 (display-buffer-other-frame, pop-to-buffer-same-window)
2352 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2353 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2354 (switch-to-buffer-same-frame)
2355 (switch-to-buffer-other-window-same-frame)
2356 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2357 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2358 (display-buffer-alist-set): Remove.
2359 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2360 (special-display-regexps, special-display-function):
2361 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2362 parameter.
2363 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2364 (special-display-frame-alist, special-display-popup-frame)
2365 (same-window-buffer-names, same-window-regexps, same-window-p)
2366 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2367 (split-window-preferred-function, split-height-threshold)
2368 (split-width-threshold, window-splittable-p)
2369 (split-window-sensibly, window--try-to-split-window)
2370 (window--frame-usable-p, even-window-heights)
2371 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2372 (window--display-buffer-2, display-buffer-other-frame):
2373 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2374 (display-buffer-default, display-buffer-assq-regexp): New functions.
2375 (display-buffer-alist): Rewrite doc-string.
2376 (display-buffer-default-action)
2377 (display-buffer-overriding-action): New variables.
2378 (display-buffer, switch-to-buffer): Rewrite.
2379 (pop-to-buffer): Restore Emacs 23 behavior but use
2380 window-normalize-buffer-to-display.
2381 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2382 Restore Emacs 23 behavior but use
2383 window-normalize-buffer-to-switch-to.
2384 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2385 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2386 Rewrite using Emacs 23 options.
f818cd2a 2387
5bc3b51d
MA
23882011-08-31 Michael Albinus <michael.albinus@gmx.de>
2389
2390 * net/tramp.el (tramp-root-regexp): Remove.
2391 (tramp-completion-file-name-regexp-unified)
2392 (tramp-completion-file-name-regexp-separate)
2393 (tramp-completion-file-name-regexp-url): Don't use leading volume
2394 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2395 (tramp-drop-volume-letter): Simplify definition.
2396 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2397
b1a4f8e1
SM
23982011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2401 (bug#9356).
2402
5664fa7b
RT
24032011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2404
b1a4f8e1 2405 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2406
9a45d6c3
JL
24072011-08-29 Juri Linkov <juri@jurta.org>
2408
2409 * isearch.el (isearch-done): Don't display message "Mark saved"
2410 when arg `edit' is non-nil to prevent its flicker in the echo area.
2411
fb87e0fb
CY
24122011-08-28 Chong Yidong <cyd@stupidchicken.com>
2413
2414 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2415 obsolete packages for deletion.
2416
09ac1c2a
CS
24172011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2418
2419 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2420 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2421 view-mode from help-mode.
2422 (help-xref-override-view-map): Remove.
2423 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2424 view-mode is not used anymore.
2425
7a1ff57f
CY
24262011-08-28 Chong Yidong <cyd@stupidchicken.com>
2427
2428 * server.el (server-port): Doc fix.
2429
b9696605
CY
2430 * cus-theme.el (custom-theme-choose-mode): Inherit from
2431 special-mode (Bug#9124).
2432 (custom-theme-choose-mode-map): Add special-mode to parent.
2433
ef8cdf8c
AM
24342011-08-28 Alan Mackenzie <acm@muc.de>
2435
2436 * progmodes/cc-fonts.el
2437 (c-make-font-lock-BO-decl-search-function): New function.
2438 (c-basic-matchers-after - "Fontify the clauses after various
2439 keywords"): Extract the three keyword lists for the 3 erroneous
2440 constructs from the list of four, and use the new function above
2441 in place of an old one.
2442
27de4e20
DD
24432011-08-28 Deniz Dogan <deniz@dogan.se>
2444
2445 * net/rcirc.el (rcirc-insert-prev-input)
2446 (rcirc-insert-next-input): Remove unused argument.
2447
356a3681
SM
24482011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2451
3fc9b218
AM
24522011-08-27 Alan Mackenzie <acm@muc.de>
2453
2454 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2455 handle function pointer parameters properly.
2456
538a061c
MR
24572011-08-27 Martin Rudalics <rudalics@gmx.at>
2458
2459 * window.el (display-buffer-reuse-window): Fix case where
2460 selected window was reused with non-nil OTHER-WINDOW argument.
2461 (Bug#9381)
2462
35b1c40c
DD
24632011-08-27 Deniz Dogan <deniz@dogan.se>
2464
2465 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2466 oftc's NickServ messages.
2467
2f6a3e79
GM
24682011-08-27 Glenn Morris <rgm@gnu.org>
2469
2470 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2471
7254299e
CY
24722011-08-26 Chong Yidong <cyd@stupidchicken.com>
2473
2474 * emacs-lisp/package.el (package-install): Call package-initialize
2475 if called interactively.
2476
f8ccf167
LL
24772011-08-26 Leo Liu <sdl.web@gmail.com>
2478
2479 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2480
3e8cd5ce
JL
24812011-08-25 Juri Linkov <juri@jurta.org>
2482
2483 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2484 `search-whitespace-regexp' (bug#9364).
2485
93eb7113
JL
24862011-08-25 Juri Linkov <juri@jurta.org>
2487
2488 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2489 `regexp-search-ring' to their global values to protect from
2490 updating by `read-from-minibuffer' (bug#9185).
2491
f65d1611
JL
24922011-08-25 Juri Linkov <juri@jurta.org>
2493
2494 * textmodes/ispell.el (ispell-command-loop): Add newline
2495 at the end of the "Use option `i'..." line.
2496
f1cf7a31
JL
24972011-08-25 Juri Linkov <juri@jurta.org>
2498
2499 * battery.el (display-battery-mode): If `battery-status-function'
2500 or `battery-mode-line-format' is nil, display the message and set
2501 `display-battery-mode' to nil (bug#9363).
2502
0c95fcf7
EZ
25032011-08-25 Eli Zaretskii <eliz@gnu.org>
2504
2505 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2506 bidi-string-mark-left-to-right; they are unnecessary now.
2507
a2ebe600
DD
25082011-08-25 Deniz Dogan <deniz@dogan.se>
2509
2510 * net/quickurl.el: Documentation typo fixes.
2511
e4ed06f1
CY
25122011-08-25 Chong Yidong <cyd@stupidchicken.com>
2513
2514 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2515
e5f1c99e
GM
25162011-08-25 Glenn Morris <rgm@gnu.org>
2517
b2948976
GM
2518 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2519
e5f1c99e
GM
2520 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2521 (smtpmail-via-smtp): Handle nil response from smtp.
2522
f22f4808
JL
25232011-08-24 Juri Linkov <juri@jurta.org>
2524
2525 * proced.el (proced-marked): Inherit from `error' instead of
2526 `font-lock-warning-face'.
2527
2528 * ibuffer.el (ibuffer-marked-face): Change default face from
2529 `font-lock-warning-face' to `warning'.
2530 (ibuffer-deletion-face): Change default face from
2531 `font-lock-type-face' to `error'.
2532
2533 * battery.el (battery-update): Use the face `error' instead of
2534 `font-lock-warning-face' (bug#6117).
2535
6a93965e
JL
25362011-08-24 Juri Linkov <juri@jurta.org>
2537
2538 * faces.el (success): Change face color from "Green3" to
2539 "ForestGreen" on light background (bug#9353).
2540
1ed43b09
CY
25412011-08-24 Chong Yidong <cyd@stupidchicken.com>
2542
5664fa7b
RT
2543 * window.el (quit-window): Rename from quit-restore-window.
2544 Use same arglist as old quit-window.
1ed43b09
CY
2545 (frame-auto-delete): Doc fix.
2546
2547 * view.el (view-mode-exit): Use quit-window.
2548
11dcdbb2
JL
25492011-08-24 Juri Linkov <juri@jurta.org>
2550
2551 * isearch.el (isearch-ring-adjust1): Start visiting previous
2552 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2553 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2554 for empty search string (when the last search string is reused
2555 automatically) to adjust the isearch ring to the last element and
2556 prepare the correct index for further M-p commands (bug#9185).
2557
de62b4df
KH
25582011-08-24 Kenichi Handa <handa@m17n.org>
2559
2560 * international/ucs-normalize.el: If decomposition property of
2561 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2562 nil.
2563 (nfd, nfkd): Likewise.
2564
963b492b
SM
25652011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2568 from process filters aren't reliably transmitted to the surrounding
2569 accept-process-output.
2570 (mpc-proc-check): New function.
2571 (mpc-proc-sync): Use it (bug#8293)
2572
93b6b5e1
SM
25732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2576 Add compatibility functions (bug#9313).
2577
bca633fb
EZ
25782011-08-23 Eli Zaretskii <eliz@gnu.org>
2579
b177498a
EZ
2580 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2581
bca633fb
EZ
2582 * international/uni-bidi.el: Regenerated.
2583
0902a04e
KH
25842011-08-23 Kenichi Handa <handa@m17n.org>
2585
2586 * international/charprop.el:
2587 * international/uni-bidi.el:
2588 * international/uni-category.el:
2589 * international/uni-combining.el:
2590 * international/uni-comment.el:
2591 * international/uni-decimal.el:
2592 * international/uni-decomposition.el:
2593 * international/uni-digit.el:
2594 * international/uni-lowercase.el:
2595 * international/uni-mirrored.el:
2596 * international/uni-name.el:
2597 * international/uni-numeric.el:
2598 * international/uni-old-name.el:
2599 * international/uni-titlecase.el:
2600 * international/uni-uppercase.el: Regenerate.
2601
3bbf23bc
MR
26022011-08-23 Martin Rudalics <rudalics@gmx.at>
2603
2604 * help.el (help-window-setup): Fix message displayed when other
2605 window is reused. (Bug#9341)
2606
b3fd59bd
SM
26072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2608
1802e444
SM
2609 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2610 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2611
b3fd59bd
SM
2612 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2613 Mark obsolete.
2614 * shell.el (shell-parse-pcomplete-arguments): New function.
2615 (shell-completion-vars): Use it instead (bug#9160).
2616
4eb61348
SM
26172011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2618
867cab74
SM
2619 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2620 strings and comments (bug#9333).
2621
4eb61348
SM
2622 * emacs-lisp/debug.el (debug-arglist): New function.
2623 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2624 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2625
262a1439
JL
26262011-08-22 Juri Linkov <juri@jurta.org>
2627
56ee679c
JL
2628 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2629 Revert regexp that highlights output switches to its old
2630 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2631
262a1439
JL
2632 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2633 to check for empty output (bug#9226).
2634
f13f86fb
CY
26352011-08-22 Chong Yidong <cyd@stupidchicken.com>
2636
2637 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2638 symbol-constituent as the default, as that stops font-lock from
2639 working properly (Bug#8843).
2640
c65c9622
LMI
26412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642
2643 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2644 `coding-system-for-*' around the process open call to avoid
2645 auth-source side effects.
e7f2c178 2646 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2647 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2648 probe hangs.
c65c9622 2649
23a8a5ab
CY
26502011-08-21 Chong Yidong <cyd@stupidchicken.com>
2651
ff98b2dd
CY
2652 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2653
23a8a5ab
CY
2654 * emacs-lisp/find-func.el (find-function-noselect): New arg
2655 lisp-only.
2656
2657 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2658 signal an error for built-in functions (Bug#6664).
2659
f5e3c598
LMI
26602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2663 (smtpmail-try-auth-methods): Use it.
2664
a3f2468a
CY
26652011-08-21 Chong Yidong <cyd@stupidchicken.com>
2666
2c34e8da
CY
2667 * font-lock.el (font-lock-fontify-region)
2668 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2669 (font-lock-default-unfontify-buffer)
2670 (font-lock-default-fontify-region)
2671 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2672
b3fd59bd
SM
2673 * progmodes/compile.el (compilation-error-properties):
2674 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2675 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2676 `ant' regexp.
ee31aabc 2677
a3f2468a
CY
2678 * net/browse-url.el (browse-url-firefox): Don't call
2679 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2680
8e999f70
GM
26812011-08-20 Glenn Morris <rgm@gnu.org>
2682
c21a496a
GM
2683 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2684
59ee0542
GM
2685 * tutorial.el (tutorial--default-keys): Update some default bindings.
2686
8e999f70
GM
2687 * files.el (hack-local-variables): Fully ignore case for "mode:".
2688
e3715033
AM
26892011-08-20 Alan Mackenzie <acm@muc.de>
2690
2691 Resolve invalid use of a regexp in regexp-opt.
2692
4d61f28d
JB
2693 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2694 detection for a java annotation.
e3715033 2695
4d61f28d 2696 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2697 detection for a java annotation.
2698
4d61f28d
JB
2699 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2700 handling for java.
e3715033
AM
2701 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2702
04ed2e9c
CY
27032011-08-20 Chong Yidong <cyd@stupidchicken.com>
2704
2705 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2706 (Bug#9274).
2707
826cee64
AM
27082011-08-20 Alan Mackenzie <acm@muc.de>
2709
58179cce 2710 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
2711 such a construct. Mainly for when jit-lock etc. starts a chunk
2712 here.
2713
58179cce 2714 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 2715 variable.
58179cce 2716 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
2717 c-make-font-lock-search-function.
2718 (c-make-font-lock-search-function): Use the above function.
2719 (c-make-font-lock-context-search-function): New function.
2720 (c-cpp-matchers): Enhance the preprocessor expression case with
2721 the above function
2722 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2723 which takes an expression.
2724
2725 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2726
13009bd8
MR
27272011-08-20 Martin Rudalics <rudalics@gmx.at>
2728
2729 * window.el (display-buffer-reuse-window)
2730 (display-buffer-pop-up-window): Don't reuse or split a side
2731 window.
2732
9234ff7f
GM
27332011-08-19 Glenn Morris <rgm@gnu.org>
2734
2735 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2736 Downcase "Mode:". (Bug#9331)
9234ff7f 2737
f635daa1
CY
27382011-08-18 Chong Yidong <cyd@stupidchicken.com>
2739
2740 * international/characters.el: Add L and R categories.
2741
2742 * subr.el (bidi-string-mark-left-to-right): Rename from
2743 string-mark-left-to-right. Use category search.
2744
2745 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2746
bc987f8b
JL
27472011-08-18 Juri Linkov <juri@jurta.org>
2748
2749 * faces.el (error, warning, success): New faces with definitions
2750 copied from old default values of `font-lock-warning-face',
2751 `compilation-warning', `compilation-info' (bug#6117).
2752
2753 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2754
2755 * progmodes/compile.el (compilation-error): Inherit from `error'.
2756 (compilation-warning): Inherit from `warning'.
2757 (compilation-info): Inherit from `success'.
2758
2759 * dired.el (dired-marked): Inherit from `warning'.
2760 (dired-flagged): Inherit from `error'.
2761
57173b96
LMI
27622011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2763
3e79eb87
LMI
2764 * mail/smtpmail.el (auth-source): Require to avoid problems with
2765 binding variables (bug#9298). Also clean up some unused
2766 autoloads.
2767
b3fd59bd
SM
2768 * net/network-stream.el (network-stream-open-starttls):
2769 Support using starttls.el without using gnutls-cli.
57173b96 2770
02b404de
JL
27712011-08-17 Juri Linkov <juri@jurta.org>
2772
2773 * progmodes/grep.el (rgrep): Handle the case when
2774 `grep-find-command' is a cons cell (bug#9278).
2775
8c9177f2
MR
27762011-08-17 Martin Rudalics <rudalics@gmx.at>
2777
2778 * window.el (display-buffer-pop-up-frame): Run frame creation
2779 function with BUFFER current (as special-display-popup-frame
2780 does). Reported by Drew Adams.
2781
3644a0ab
DU
27822011-08-17 Daiki Ueno <ueno@unixuser.org>
2783
2784 * epa-mail.el: Simplify GnuPG group expansion using
2785 epg-expand-group.
2786 (epa-mail-group-alist, epa-mail-group-modtime)
2787 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2788 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2789 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2790 Remove.
2791
5e617bc2 27922011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2793
2794 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2795
9c4aeabf
AM
27962011-08-16 Alan Mackenzie <acm@muc.de>
2797
2798 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2799 Correct, to avoid the inside of macros.
2800
3a99bf64
RS
28012011-08-16 Richard Stallman <rms@gnu.org>
2802
04963aa8
RS
2803 * epa-mail.el: Handle GnuPG group definitions.
2804 (epa-mail-group-alist, epa-mail-group-modtime)
2805 (epa-mail-gnupg-conf-file): New variables.
2806 (epa-mail-parse-groups, epa-mail-sync-groups)
2807 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2808 (epa-mail-expand-recipients): New functions.
2809 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2810
177549d0
RS
2811 * mail/rmail.el (rmail-epa-decrypt): New command.
2812
fe38beef
RS
2813 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2814 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2815 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2816 (epa-decrypt-armor-in-region): Make error message clearer.
2817
934eacb9
SM
28182011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2821 and "a2b" to "ab" for `prefix'.
2822
d024fb4e
CY
28232011-08-14 Chong Yidong <cyd@stupidchicken.com>
2824
2825 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2826 filter groups.
de148fee
CY
2827 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2828 Fourquet (Bug#8804).
d024fb4e 2829
62f1ca49
JB
28302011-08-12 Juanma Barranquero <lekktu@gmail.com>
2831
2832 * startup.el (argi): Declare as global variable (bug#9275).
2833
9ccaaa4b
CY
28342011-08-12 Chong Yidong <cyd@stupidchicken.com>
2835
2836 * subr.el (string-mark-left-to-right): Search the entire string
2837 for RTL script, not just the terminating character. Doc fix.
2838
a3dae87a
SM
28392011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2840
6cd18349
SM
2841 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2842 New function.
2843 (js--regexp-literal, js-syntax-propertize-function): Remove.
2844 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2845 (js-mode-map): Don't rebind electric keys.
2846 (js-insert-and-indent): Remove.
2847 (js-mode): Setup electric-layout and electric-indent instead.
2848
a3dae87a
SM
2849 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2850
9d5cb631
DU
28512011-08-12 Daiki Ueno <ueno@unixuser.org>
2852
2853 * epa.el (epa-progress-callback-function): Fix the logic of
2854 displaying progress.
2855 * epa-file.el (epa-file-insert-file-contents): Make progress
2856 display more user-friendly.
2857 (epa-file-write-region): Ditto.
2858
3e26a4a2
CY
28592011-08-10 Chong Yidong <cyd@stupidchicken.com>
2860
2861 * subr.el (string-mark-left-to-right): New function.
2862
2863 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2864 Use string-mark-left-to-right.
2865 (list-buffers-noselect): Caller changed.
2866
a3dae87a
SM
2867 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2868 Use string-mark-left-to-right.
3e26a4a2
CY
2869 (tabulated-list-print): Recenter after moving point.
2870
ac8cf6e6
JL
28712011-08-10 Juri Linkov <juri@jurta.org>
2872
2873 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2874 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2875 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2876
8d96c9a4
CY
28772011-08-09 Chong Yidong <cyd@stupidchicken.com>
2878
2879 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2880 (Bug#7554).
2881
7be1c708 28822011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2883
2884 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2885 character. (Bug#6594)
2886
37e11a63
CY
28872011-08-08 Chong Yidong <cyd@stupidchicken.com>
2888
839dde57
CY
2889 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2890 (image-dired--with-db-file): New macro.
2891 (image-dired-write-tags, image-dired-remove-tag)
2892 (image-dired-create-gallery-lists, image-dired-write-comments)
2893 (image-dired-get-comment, image-dired-mark-tagged-files)
2894 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2895 (image-dired-gallery-generate): Use insert-file-contents.
2896
37e11a63
CY
2897 * time.el (display-time-world-list, display-time-world-display):
2898 * time-stamp.el (time-stamp-string):
2899 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2900 set-time-zone-rule (Bug#7337).
2901
0b4946c4
DU
29022011-08-08 Daiki Ueno <ueno@unixuser.org>
2903
2904 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2905 (epg-error-to-string, epg-errors-to-string): New function.
2906 (epg-wait-for-completion): Reverse errors list.
2907 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2908 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2909 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2910 (epg-sign-keys, epg-generate-key-from-file)
2911 (epg-generate-key-from-string): Format errors by using
2912 epg-errors-to-string (bug#9255).
2913 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2914
75bfc667
JL
29152011-08-07 Juri Linkov <juri@jurta.org>
2916
2917 * faces.el (list-faces-display): Remove extra angle bracket
2918 from `help-mode-map'.
2919
2920 * info.el (Info-history-toc-nodes): Doc fix.
2921
2922 * longlines.el (longlines-mode): Doc fix.
2923
673e08bb
SM
29242011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2925
4640dd88
SM
2926 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2927 of statements and in a few more cases (bug#9183).
2928
673e08bb
SM
2929 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2930 New functions.
2931 (cl-transform-lambda): Use them (bug#9239).
2932
89b3f019
MR
29332011-08-05 Martin Rudalics <rudalics@gmx.at>
2934
2935 * window.el (display-buffer-same-window)
2936 (display-buffer-same-frame, display-buffer-other-window)
2937 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2938 (pop-to-buffer-other-window)
2939 (pop-to-buffer-same-frame-other-window)
2940 (pop-to-buffer-other-frame): Make them defuns.
2941 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2942
640c8776
SM
29432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * subr.el (make-composed-keymap): Move from C. Change calling
2946 convention, and improve docstring to bring attention to a subtle point.
2947 * minibuffer.el (completing-read-default): Adjust accordingly.
2948
63648a95
MA
29492011-08-03 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2952 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2953
2954 * net/trampver.el: Update release number.
2955
b796c9b7
SM
29562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2959 "in" (bug#9190).
2960
2239d7d5
LMI
29612011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2962
e07dd7c3
LMI
2963 * mail/sendmail.el (sendmail-query-once): Restore the current
2964 buffer after querying (bug#9074).
2965
0e6a2bd7
LMI
2966 * dired.el (dired-flagged): Use different faces for marked and
2967 flagged files (bug#6117).
2968
ce887515
LMI
2969 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2970 (bug#4433).
2971
92f2affc
LMI
2972 * ido.el (ido-mode): Switch off the message if called
2973 non-interactively.
2974
57d5aff0
LMI
2975 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2976 before 587, since it appears that that's more likely to work for
2977 more people.
2978
98cd6c18
LMI
2979 * cus-edit.el (custom-file): When running under emacs -q, always
2980 refuse to save the customisations, even if the .emacs file doesn't
2981 exist.
2982
b96dec83
LMI
2983 * info.el: Remove the `Info-beginning-of-buffer' function
2984 (bug#8325).
2985
b796c9b7
SM
2986 * net/network-stream.el (network-stream-open-starttls):
2987 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2988
d90e2ea0
MR
29892011-08-01 Martin Rudalics <rudalics@gmx.at>
2990
2991 * window.el (display-buffer-in-window): Don't set dedicated status
2992 of window here (Bug#9215).
2993 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2994 (display-buffer-pop-up-side-window)
b796c9b7 2995 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2996
cca09170
SM
29972011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3000 before binding generated-autoload-file.
3001
027b979c
DD
30022011-08-01 Deniz Dogan <deniz@dogan.se>
3003
3004 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3005
3c7ee4f3
MA
30062011-07-30 Michael Albinus <michael.albinus@gmx.de>
3007
3008 Sync with Tramp 2.2.2.
3009
3010 * net/trampver.el: Update release number.
3011
2cc8e51a
JL
30122011-07-30 Juri Linkov <juri@jurta.org>
3013
3014 * dired-aux.el (dired-touch-initial): Remove function.
3015 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3016 current time, and `default' to the last modification time of the
3017 current marked file (bug#6887).
3018
a514d856
JM
30192011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3020
3021 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3022 numeric argument to read-number (bug#9163).
a514d856 3023
8a7eddd7
MA
30242011-07-27 Michael Albinus <michael.albinus@gmx.de>
3025
3026 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3027 connection process, it could be nil.
3028
1ddd96f5
LL
30292011-07-27 Leo Liu <sdl.web@gmail.com>
3030
3031 Simplify url handling in rcirc-mode.
3032
3033 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3034 (rcirc-browse-url-at-mouse): Remove.
3035 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3036
b248a85d
AM
30372011-07-26 Alan Mackenzie <acm@muc.de>
3038
3039 Fontify bitfield declarations properly.
3040
3041 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3042 (c-symbol-chars): Now exported as a lang variable.
3043 (c-not-primitive-type-keywords): New lang variable.
3044
3045 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3046 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3047 parsed as a bitfield declaration.
b248a85d 3048
b796c9b7
SM
3049 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3050 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3051 (c-punctuation-in): New function.
3052 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3053 declarations properly.
3054
68575ab0
UJ
30552011-07-26 Ulf Jasper <ulf.jasper@web.de>
3056
3057 * calendar/icalendar.el (icalendar--all-events): Take care of
3058 multiple vcalendars in a single file.
b796c9b7 3059 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3060
0f0a88b9
DD
30612011-07-25 Deniz Dogan <deniz@dogan.se>
3062
3063 * image.el (insert-image): Clarifying docstring.
3064
0b3f36df
MA
30652011-07-24 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3068 `tramp-send-command-and-check' if there is no error.
3069 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3070
a9901f61
AM
30712011-07-22 Alan Mackenzie <acm@muc.de>
3072
3073 Prevent cc-langs.elc being loaded at run time.
3074
3075 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3076 cc-langs.
3077
4d61f28d 3078 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3079 "(require 'cc-langs)". Quote a form so it will evaluate at
3080 (cc-mode's) compilation time.
3081
11d074b2
MA
30822011-07-22 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3085 loading. (Bug#9114)
3086
938b94c8
MR
30872011-07-21 Martin Rudalics <rudalics@gmx.at>
3088
3089 * window.el (display-buffer-pop-up-window)
3090 (display-buffer-pop-up-side-window)
3091 (display-buffer-in-side-window): Call display-buffer-set-height
3092 and display-buffer-set-width after setting the new window's
b796c9b7 3093 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3094
bfa4f190
SS
30952011-07-20 Sam Steingold <sds@gnu.org>
3096
3097 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3098 (etags-tags-included-tables): Call `convert-standard-filename' on
3099 the file names contained in TAGS so that windows Emacs can handle
3100 TAGS files created by cygwin ctags.
3101
8ca42262
LMI
31022011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3103
3104 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3105 which apparently didn't work.
3106
5db2afd2 31072011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3108
5db2afd2
RW
3109 * proced.el (proced-send-signal): For *Marked Processes* buffer
3110 put point at beginning of buffer.
3111
92e15d10
SB
31122011-07-19 Stephen Berman <stephen.berman@gmx.net>
3113
3114 * proced.el (proced-format): Make header lines align with the text
3115 (bug#1779).
3116
1bfd59e5
LMI
31172011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3118
3119 * view.el (view-buffer): Allow running in `special' modes if we're
3120 visiting a file (bug#8615).
3121
f5aae37c
MR
31222011-07-19 Martin Rudalics <rudalics@gmx.at>
3123
3124 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3125 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3126 New functions.
f5aae37c
MR
3127 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3128 more accurately.
3129
bf2c1571
AM
31302011-07-18 Alan Mackenzie <acm@muc.de>
3131
3132 Fontify declarators properly when, e.g., a jit-lock chunk begins
3133 inside a declaration.
3134
3135 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3136
b796c9b7
SM
3137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3138 New function.
bf2c1571
AM
3139 (c-complex-decl-matchers): Insert reference to
3140 c-font-lock-enclosing-decls.
3141
3142 * progmodes/cc-engine.el (c-backward-single-comment):
3143 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3144 to nil around calls to (forward-comment -1).
3145
4e190b80
LMI
31462011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3147
12dc863d
LMI
3148 * image.el (put-image): Doc typo fix.
3149
a762e966
LMI
3150 * progmodes/etags.el (tags-search): Doc typo fix.
3151
4e190b80
LMI
3152 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3153 password if we get errors 550 to 554.
3154
f019fb21
LMI
31552011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3156
b796c9b7 3157 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3158
81746738
LMI
3159 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3160 indentation character (bug#6380).
3161
3ee3a1b5
LMI
3162 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3163
c82f64de
LMI
3164 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3165 to clarify what the problem is (bug#4291).
3166
f019fb21
LMI
3167 * simple.el (current-kill): Clarify what
3168 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3169 (auto-fill-mode): Document `auto-fill-function' in relation to
3170 `auto-fill-mode' (bug#2470).
f019fb21 3171
0794775d
LM
31722011-07-16 Lawrence Mitchell <wence@gmx.li>
3173
3174 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3175 method if slot is read-only (bug#9035).
3176
be39b8cc
MR
31772011-07-16 Martin Rudalics <rudalics@gmx.at>
3178
b796c9b7 3179 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3180 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3181 selected before, see discussion of (Bug#8615), (Bug#6954).
3182 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3183
6ccf7859
GM
31842011-07-15 Glenn Morris <rgm@gnu.org>
3185
3186 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3187 Respect help-form.
6ccf7859 3188
87e86684
LM
31892011-07-09 Lawrence Mitchell <wence@gmx.li>
3190
3191 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3192 (gnutls-negotiate): Use it.
3193
d6066239
LMI
31942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195
b796c9b7
SM
3196 * net/gnutls.el (gnutls-negotiate):
3197 Upcase `gnutls-algorithm-priority'.
d6066239 3198
bd23ebc0
GM
31992011-07-15 Glenn Morris <rgm@gnu.org>
3200
c65bca65
GM
3201 * jka-compr.el (jka-compr-verbose): Move from here...
3202 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3203 Add missing :version tag.
3204 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3205
478615cc
LMI
32062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3207
7b41decb
LMI
3208 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3209 (gnutls-negotiate): Use it.
3210
dbc44fcd
LMI
3211 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3212
06789f97
LMI
3213 * info.el (Info-beginning-of-buffer): New command.
3214 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3215 announcing `b' as the key (bug#8325).
ab896c37 3216 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3217
c39da690
LMI
3218 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3219
3aa5f34b
LMI
3220 * international/mule-cmds.el
3221 (describe-specified-language-support): Make the error message
3222 clearer (bug#8905).
3223
4bf0979f
LMI
3224 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3225
478615cc
LMI
3226 * isearch.el (isearch-barrier): Add a doc string, since it's
3227 mentioned in a function doc string (bug#8678).
3228
75c68aa1
MR
32292011-07-15 Martin Rudalics <rudalics@gmx.at>
3230
3231 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3232 buffer argument (Bug#9083) and self-identifying label argument.
3233
a7c33da2
GM
32342011-07-15 Glenn Morris <rgm@gnu.org>
3235
3236 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3237
2f5c6024
LMI
32382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3239
3240 * man.el (Man-fontify-manpage): Fix message when formatting the
3241 man page (bug#7929).
3242
0bb23927 32432011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3244
3245 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3246 argument LRM; if non-nil, append an invisible LRM character to the
3247 buffer name.
3248 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3249 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3250 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3251 paragraph direction.
cce4b0a7 3252
621ef9ab
LMI
32532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3254
d1583c48
LMI
3255 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3256 the man page name (bug#7929).
3257
6a57fb5f
LMI
3258 * image.el (put-image): Mention the `put-image' overlay property
3259 (bug#7834).
3260
d7956b14
LMI
3261 * scroll-bar.el (set-scroll-bar-mode): Mention that
3262 `scroll-bar-mode' lists the values (bug#7772).
3263
5b2d4a66
LMI
3264 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3265 command (bug#7729).
3266
7509a874
LMI
3267 * rect.el (apply-on-rectangle): Return the point after the last
3268 operation.
3269 (string-rectangle): Go to the point after the last operation
3270 (bug#7522).
3271
4fe74b19
LMI
3272 * printing.el (pr-toggle-region): Clarify the documentation
3273 slightly (bug#7493).
3274
b796c9b7
SM
3275 * time.el (display-time-update):
3276 Allow `display-time-mail-function' to return nil (bug#7158).
3277 Fix suggested by Detlev Zundel.
ab283561 3278
fc233c9d
LMI
3279 * vc/diff.el (diff): Clarify the order the file names are read
3280 (bug#7111).
3281
43f5740b
LMI
3282 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3283 the doc string (bug#7015).
3284
f2182a76
LMI
3285 * font-lock.el (font-lock-maximum-decoration): Mention what
3286 numeric levels mean (bug#6935).
3287
621ef9ab
LMI
3288 * startup.el (initial-buffer-choice): Don't mention the `none'
3289 selection, which is against policy.
3290
adc47434
MR
32912011-07-14 Martin Rudalics <rudalics@gmx.at>
3292
b796c9b7
SM
3293 * window.el (display-buffer-normalize-special):
3294 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3295
7e5bfb8f
EZ
32962011-07-14 Eli Zaretskii <eliz@gnu.org>
3297
3298 * subr.el (version<, version<=, version=): Mention "-CVS" and
3299 "-12345" alpha version numbers.
3300
27fa387a
CY
33012011-07-14 Chong Yidong <cyd@stupidchicken.com>
3302
3303 * bindings.el: Add advertised binding for set-mark-command
3304 (Bug#5772).
3305
8bdfa064
CY
33062011-07-14 Chong Yidong <cyd@stupidchicken.com>
3307
3308 * bindings.el (mode-line-other-buffer):
3309 * bookmark.el (bookmark-bmenu-2-window):
3310 * bs.el (bs-cycle-next, bs-cycle-previous):
3311 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3312 switch-to-buffer.
3313
3314 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3315 Delete.
8bdfa064 3316
5eba16a3
JB
33172011-07-14 Juanma Barranquero <lekktu@gmail.com>
3318
3319 * follow.el (follow-debug-message, follow-redisplay):
3320 * jka-cmpr-hook.el (with-auto-compression-mode):
3321 Fix typos in docstrings.
3322
15853710
LMI
33232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
a28e4607
LMI
3325 * subr.el (with-silent-modifications): Clarify somewhat what the
3326 macro inhibits (bug#6525).
3327
15853710
LMI
3328 * simple.el (eval-expression): Note what it does if called
3329 interactively (bug#6495).
3330
bee0fcef
CY
33312011-07-13 Chong Yidong <cyd@stupidchicken.com>
3332
b796c9b7
SM
3333 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3334 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3335
3336 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3337 Remove switch-to-buffer.
3338
58274504
LMI
33392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3340
bd2fcc8d
LMI
3341 * files.el (make-directory): Clarify that an error will be raised
3342 if there's an error (bug#6397).
3343
0f04b32c
LMI
3344 * startup.el (initial-buffer-choice): Add `none' as a choice
3345 (bug#6234).
3346
465c5fc8
LMI
3347 * subr.el (add-hook): Clarify section about buffer-local hooks
3348 (bug#6218).
3349
58274504
LMI
3350 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3351
bead9a43
JB
33522011-07-13 Juanma Barranquero <lekktu@gmail.com>
3353
3354 * tabify.el (untabify): Preserve the current column so that point
3355 doesn't move (bug#6032).
3356
3af98a7b
LMI
33572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3358
b796c9b7
SM
3359 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3360 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3361
6240145a
GM
33622011-07-13 Glenn Morris <rgm@gnu.org>
3363
3364 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3365 (dired-insert-directory): Give a message the first time
3366 if ls is found not to support --dired.
3367
1d8c2ccc
LMI
33682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3369
3370 * simple.el (toggle-truncate-lines): Clarify what is toggled
3371 (bug#5580). Text by Drew Adams.
3372
5fc4038e
CY
33732011-07-13 Chong Yidong <cyd@stupidchicken.com>
3374
3375 * simple.el (blink-matching-open): Make the error message from the
3376 last change less verbose.
3377
bf6012e5
DN
33782011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3379
3380 * font-lock.el (font-lock-comment-face): Use the high contrast
3381 "yellow" color for font-lock-comment-face on low color terminals
3382 using a dark background color (bug#4221).
3383
343c3b5a
LMI
33842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3385
7e9505c5
LMI
3386 * dired.el (dired-insert-set-properties): Make the doc string
3387 reflect what it does now (bug#5325).
3388
c26fdcf5
LMI
3389 * simple.el (blink-matching-open): Say that we were unable to find
3390 the match within the limit, if we're limited (bug#5122).
3391
bb388cc5
LMI
3392 * international/mule-cmds.el (prefer-coding-system): Add an
3393 example (bug#4869).
3394
343c3b5a
LMI
3395 * progmodes/etags.el (tags-search): Document `file-list-form'
3396 (bug#4731).
3397
2a517d45
LM
33982011-07-13 Lawrence Mitchell <wence@gmx.li>
3399
3400 * net/browse-url.el (browse-url-default-browser)
3401 (browse-url-browser-function): Make the default browser choice a
3402 bit more logical (bug#4300). Also clean up the doc string.
3403
b6c78ef2
JB
34042011-07-13 Juanma Barranquero <lekktu@gmail.com>
3405
3406 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3407 binary endings (bug#4440).
3408
1c4dd947
LMI
34092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3410
a2014063
LMI
3411 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3412 which can be pretty annoying (bug#8971).
3413
9c9c2d88
LMI
3414 * jka-compr.el (jka-compr-verbose): New variable, and use
3415 throughout (bug#8971).
3416
1c4dd947
LMI
3417 * info.el (Info-find-file): Fall back on the installation
3418 directory if we can't find the info node anywhere else.
3419
a1c9f41b
SO
34202011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3421
3422 * vc/vc.el (vc-revert-file):
3423 Don't set file time-stamp in the past. (Bug#5181)
3424
536f3d36
LMI
34252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3426
7152b011
LMI
3427 * files.el (after-find-file): Give a better error message when
3428 trying to find a symlink that points to a file that doesn't exist
3429 (bug#4398).
3430
536f3d36
LMI
3431 * progmodes/cc-vars.el: Remove (probably) misleading comment
3432 (bug#4396).
3433
460c0fba
JB
34342011-07-12 Johan Bockgård <bojohan@gnu.org>
3435
3436 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3437
7a6bda45
CY
34382011-07-12 Chong Yidong <cyd@stupidchicken.com>
3439
3440 * mouse-sel.el: Hack restoring functionality, while keeping
3441 compatibility with 2010-07-03 changes to mouse selection.
3442 (mouse-sel-primary-overlay): New var.
3443 (mouse-sel-selection-alist): Use it.
3444 (mouse-sel-mode): Doc fix; remove points that are default features
3445 of mouse.el.
3446
c79598ef
JB
34472011-07-12 Johan Bockgård <bojohan@gnu.org>
3448
3449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3450 Fix previous fix (bug#2490).
3451
ff8be6ef
RW
34522011-07-12 Roland Winkler <winkler@gnu.org>
3453
b796c9b7
SM
3454 * textmodes/bibtex.el (bibtex-initialize):
3455 Use pop-to-buffer-same-window.
ff8be6ef
RW
3456 (bibtex-search-entries): Fix interactive call.
3457
296ba3ee
LMI
34582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3459
f5242a02 3460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3461 Fontise bytecomp Error lines more correctly (bug#2490).
3462 Fix suggested by Johan Bockgård.
f5242a02 3463
296ba3ee
LMI
3464 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3465
3466 * dired-x.el (dired-guess-default): Use `delete-dups'.
3467
f69fd0d2
CY
34682011-07-12 Chong Yidong <cyd@stupidchicken.com>
3469
3470 * dired.el (dired-mark-prompt):
3471 * dired-aux.el (dired-read-shell-command): Doc fix.
3472
eab5dc07
LMI
34732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3474
b796c9b7
SM
3475 * mail/sendmail.el (sendmail-query-once):
3476 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3477 emacs -Q.
3478
3479 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3480
eab5dc07
LMI
3481 * cus-edit.el (custom-file): Take an optional no-error variable.
3482 (customize-save-variable): Set the variable, and give a warning if
3483 running under "emacs -q".
3484
a1e65d42
JB
34852011-07-11 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * loadhist.el (unload-feature-special-hooks):
3488 Add `auto-coding-functions', `fill-nobreak-predicate' and
3489 `find-directory-functions' (bug#5327).
3490
1d52da10
LMI
34912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3492
be958f1d
LMI
3493 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3494
5bedb26c
LMI
3495 * cus-edit.el (custom-guess-name-alist): -alist variables should
3496 use the `alist' type (bug#3120). Suggested by Drew Adams.
3497
1d52da10
LMI
3498 * printing.el: Add documentation to all the `pr-toggle-' commands.
3499
481a51b6
LL
35002011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3501
3502 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3503 backends where it makes sense (bug#2623).
3504
dcc88d8a
LMI
35052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3506
c3de9feb
LMI
3507 * dired-x.el (dired-guess-default): Remove duplicate shell command
3508 entries (bug#2028).
8a93078b 3509 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3510 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3511
dcc88d8a
LMI
3512 * subr.el (remove-duplicates): New conveniency function.
3513
505e3645
LMI
35142011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3515
3516 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3517 (bug#1526).
3518
35192011-07-10 Martin Rudalics <rudalics@gmx.at>
3520
3521 * window.el (display-buffer-normalize-default): Don't invert
3522 meaning of even-window-heights. Reported by Eli Zaretskii
3523 <eliz@gnu.org>.
3524
455e4fa1
BR
35252011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3526
3527 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3528
8e0bc3e9
CY
35292011-07-10 Chong Yidong <cyd@stupidchicken.com>
3530
3531 * window.el (display-buffer): Fix arguments to
3532 display-buffer-reuse-window in last change.
3533
fa7c3228
CY
3534 * faces.el (link): Use a less saturated blue on light backgrounds.
3535
3536 * startup.el (fancy-startup-text, fancy-about-text)
3537 (fancy-startup-tail): Use font-lock faces, for background safety.
3538
c0a7f300
BN
35392011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3540
b796c9b7
SM
3541 * emulation/viper-cmd.el (viper-change-state-to-vi):
3542 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3543
4dc2a129
MR
35442011-07-09 Martin Rudalics <rudalics@gmx.at>
3545
3546 * window.el (display-buffer-default-specifiers): Remove.
3547 (display-buffer-macro-specifiers): Remove default specifiers.
3548 (display-buffer-alist): Default to nil.
b796c9b7 3549 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3550 (display-buffer-pop-up-window): Allow splitting internal
3551 windows. Check whether a live window was created.
3552 (display-buffer-other-window-means-other-frame)
3553 (display-buffer-normalize-arguments): Rename to
3554 display-buffer-normalize-argument and rewrite. Set the
3555 other-window specifier.
3556 (display-buffer-normalize-special): New function.
3557 (display-buffer-normalize-options): Rename to
3558 display-buffer-normalize-default and rewrite.
3559 (display-buffer-normalize-options-inhibit): Remove.
3560 (display-buffer-normalize-specifiers): Rewrite.
3561 (display-buffer): Process other-window specifier and call
3562 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3563 more faithfully.
b796c9b7 3564 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3565 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3566 (display-buffer-in-window, display-buffer-alist-set):
3567 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3568 <tassilo@member.fsf.org>.
3569
2d43b8c9
LL
35702011-07-09 Leo Liu <sdl.web@gmail.com>
3571
3572 * register.el (insert-register): Restore accidental change on
3573 2011-06-26. (Bug#9028)
3574
7f9b7c53
GM
35752011-07-09 Glenn Morris <rgm@gnu.org>
3576
3577 * subr.el (remq): Handle the empty list. (Bug#9024)
3578
f042cfd8
AS
35792011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3580
3581 * mail/sendmail.el (send-mail-function): No longer delay custom
3582 initialization.
3583 * custom.el (custom-initialize-delay): Doc fix.
3584
856b2f11
SM
35852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3588
afae1d68
MA
35892011-07-08 Michael Albinus <michael.albinus@gmx.de>
3590
3591 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3592 human-friendly prompt.
3593
0757af94
SM
35942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3597 provided by a particular plugin.
3598
d760b731
LMI
35992011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3600
3601 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3602 save customizations (with "emacs -Q"), just set the variable
3603 instead of erroring out.
3604
3605 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3606
cd79ce90
JL
36072011-07-08 Juri Linkov <juri@jurta.org>
3608
3609 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3610 (archive-zip-update-case): Use 7z if found by `executable-find'.
3611 The order of searching the available programs is the same as in
3612 `archive-zip-extract' (bug#8968).
3613
14cc04aa
CY
36142011-07-07 Chong Yidong <cyd@stupidchicken.com>
3615
3616 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3617 (menu-bar-options-menu): Tweak descriptions.
3618
0a1848ec
LMI
36192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3620
3621 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3622 menu items into verb phrases (bug#1421). Also refill to fit under
3623 80 columns.
3624
f5bd0689
CY
36252011-07-07 Chong Yidong <cyd@stupidchicken.com>
3626
538e85c6
CY
3627 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3628 (Info-read-node-name): Doc fix (Bug#1084).
3629
f5bd0689
CY
3630 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3631 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3632 (end-of-sexp, beginning-of-sexp)
3633 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3634 (forward-symbol, forward-same-syntax, word-at-point)
3635 (sentence-at-point): Doc fix (Bug#1144).
3636
56ec5115
LMI
36372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3638
f3f8e37f
LMI
3639 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3640 should cover it (bug#1281).
3641
0757af94 3642 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3643
12b9eb35
LMI
3644 * net/network-stream.el (network-stream-open-starttls): If gnutls
3645 negotiation fails, then possibly try again with a non-encrypted
3646 connection (bug#9017).
3647
56ec5115
LMI
3648 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3649 be used.
3650
c2f9aec8
RS
36512011-07-07 Richard Stallman <rms@gnu.org>
3652
3653 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3654 property, and handle its changed format.
3655 Look for the correct line number.
3656 Use file's line contents (but not past first =) to find
3657 correct line in message.
3658
ef7b981d 36592011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3660
3661 * international/characters.el (build-unicode-category-table):
3662 Delete it.
0757af94 3663 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3664
0757af94 3665 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3666 to src/chartab.c.
3667 (get-char-code-property): Call unicode-property-table-internal to
3668 load a file. Call get-unicode-property-internal where necessary.
3669 (put-char-code-property): Call unicode-property-table-internal to
3670 load a file. Call put-unicode-property-internal where necessary.
3671 put-unicode-property-internal where necessary.
0757af94
SM
3672 (char-code-property-description):
3673 Call unicode-property-table-internal to load a file.
c805dec0
KH
3674
3675 * international/charprop.el:
3676 * international/uni-bidi.el:
3677 * international/uni-category.el:
3678 * international/uni-combining.el:
3679 * international/uni-comment.el:
3680 * international/uni-decimal.el:
3681 * international/uni-decomposition.el:
3682 * international/uni-digit.el:
3683 * international/uni-lowercase.el:
3684 * international/uni-mirrored.el:
3685 * international/uni-name.el:
3686 * international/uni-numeric.el:
3687 * international/uni-old-name.el:
3688 * international/uni-titlecase.el:
3689 * international/uni-uppercase.el: Regenerate.
3690
3691 * loadup.el: Load international/charprop.el before
3692 international/characters.
3693
e14b388a
CY
36942011-07-07 Chong Yidong <cyd@stupidchicken.com>
3695
3696 * window.el (next-buffer, previous-buffer): Signal an error if
3697 called from a minibuffer window.
3698
3699 * bindings.el: Revert 2011-07-04 change.
3700
354cf0ba
RS
37012011-07-06 Richard Stallman <rms@gnu.org>
3702
3703 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3704 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3705 Treat markers like ints.
3706 (rmail-mime-entity): Doc fix.
3707
a48868a7
LMI
37082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709
4906cd3d
LMI
3710 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3711 defcustom again for backwards compatibility.
3712
e0457abe
LMI
3713 * simple.el (shell-command-on-region): Fill.
3714
d67f7e1f
LMI
3715 * dired-aux.el (dired-kill-line): Add a doc string.
3716
fe204702
LMI
3717 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3718 to "\\sw\\|\\s_" (bug#358).
3719
a48868a7
LMI
3720 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3721 (dired-unmark-backward): Ditto.
3722 (dired-flag-backup-files): Ditto.
3723
3724 * dired-x.el (dired-mark-sexp): Ditto.
3725
aa8a705c
RS
37262011-07-06 Richard Stallman <rms@gnu.org>
3727
3728 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3729 (rmail-mime-entity): New arg TRUNCATED.
3730 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3731 New functions.
3732 (rmail-mime-save): Warn if entity is truncated.
3733 (rmail-mime-toggle-hidden): Likewise, for showing.
3734 (rmail-mime-process-multipart): Record when an entity is truncated.
3735
a9a936b9
RS
3736 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3737 if ENTITY is a string.
3738
1f2b92cb
LMI
37392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3740
f4f73198 3741 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3742 of faces when `M-C-x'-ing their definitions (bug#8378).
3743 Also clean up the code slightly.
f4f73198 3744
12b16734 3745 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 3746 because that makes the colors go away.
12b16734 3747
f0691d22
LMI
3748 * mail/sendmail.el (send-mail-function): Change the default to
3749 `sendmail-query-once'.
9e87df06 3750 (sendmail-query-once): Add an autoload cookie.
f0691d22 3751
1f2b92cb
LMI
3752 * net/network-stream.el (network-stream-open-starttls): Try using
3753 a plain connection even if the server offered STARTTLS, and we
3754 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3755 capability. This should make smtpmail.el work in slightly more
3756 configurations.
3757
1cdd2a1b
MA
37582011-07-06 Michael Albinus <michael.albinus@gmx.de>
3759
3760 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3761 New defun.
3762 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3763
fbcc67e2
MM
37642011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3765
3766 * progmodes/sql.el: Version 3.0
0757af94 3767 (sql-product-alist): Add product :completion-object,
fbcc67e2 3768 :completion-column, and :statement attributes.
0757af94 3769 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3770 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3771 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3772 ansi keywords.
3773 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3774 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3775 (sql-oracle-show-reserved-words): New function for development.
3776 (sql-product-font-lock): Simplify for source code buffers.
3777 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3778 New functions.
3779 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3780 (sql-mode-map): Add statement movement functions.
3781 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3782 New variable.
fbcc67e2
MM
3783 (sql-statement-regexp, sql-beginning-of-statement)
3784 (sql-end-of-statement, sql-signum): New functions.
0757af94 3785 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3786 (sql-show-sqli-buffer): Bug fix.
3787 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3788 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3789 with sql-interactive-mode.
3790 (sql-save-connection): Save buffer local settings.
0757af94 3791 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3792 (sql-product-interactive): Bug fix.
3793 (sql-preoutput-hold): New variable.
3794 (sql-interactive-remove-continuation-prompt): Bug fixes.
3795 (sql-debug-redirect): New variable.
3796 (sql-str-literal): New function.
3797 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3798 Redesign.
fbcc67e2
MM
3799 (sql-oracle-save-settings, sql-oracle-restore-settings)
3800 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3801 (sql-completion-object, sql-completion-column)
3802 (sql-completion-sqlbuf): New variables.
3803 (sql-build-completions-1, sql-build-completions)
3804 (sql-try-completion): New functions.
3805 (sql-read-table-name): Use them.
3806 (sql-contains-names): New buffer local variable.
3807 (sql-list-all, sql-list-table): Use it.
3808 (sql-oracle-completion-types): New variable.
3809 (sql-oracle-completion-object, sql-sqlite-completion-object)
3810 (sql-postgres-completion-object): New functions.
3811
d4eaeab1
GM
38122011-07-06 Glenn Morris <rgm@gnu.org>
3813
3814 * window.el (pop-to-buffer): Doc fix.
3815
322b7dab 38162011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3817
3818 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3819
322b7dab 38202011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3821
322b7dab 3822 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3823
322b7dab 3824 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3825
605dd5bf
CY
38262011-07-05 Chong Yidong <cyd@stupidchicken.com>
3827
3828 * button.el (button): Inherit from link face. Suggested by Dan
3829 Nicolaescu.
3830
7dbfa719
SM
38312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3db614b0
SM
3833 * progmodes/gdb-mi.el: Fit in 80 columns.
3834 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3835 switch-to-buffer.
3836
7dbfa719
SM
3837 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3838 if imenu is simply not configured (bug#8941).
3839
919d884a
KM
38402011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3841
3842 * allout.el (allout-post-undo-hook): New allout outline-change
3843 event hook to signal undo activity.
3844 (allout-post-command-business): Run allout-post-undo-hook if an
3845 undo just occurred.
7dbfa719
SM
3846 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3847 * allout-widgets.el (allout-widgets-after-undo-function):
3848 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3849 in the vicinity of an undo.
3850 (allout-widgets-mode): Include allout-widgets-after-undo-function
3851 on the new allout-post-undo-hook.
3852
450a0f09
SM
38532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3856 Let define-derived-mode define it.
3857 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3858 cycles of abbrev-table inheritance (bug#8998).
3859
2de69e00
RW
38602011-07-05 Roland Winkler <winkler@gnu.org>
3861
3862 * textmodes/bibtex.el: Add support for biblatex.
3863 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3864 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3865 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3866 (bibtex-entry-alist, bibtex-field-alist): New variables.
3867 (bibtex-entry-field-alist): Obsolete alias for
3868 bibtex-BibTeX-entry-alist.
3869 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3870 (bibtex-set-dialect): New command.
3871 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3872 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3873 Bind via bibtex-set-dialect.
2de69e00
RW
3874 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3875 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3876 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3877 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3878 Define via bibtex-set-dialect.
450a0f09
SM
3879 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3880 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3881 (bibtex-vec-push, bibtex-vec-incr): New functions.
3882 (bibtex-format-entry, bibtex-field-list)
3883 (bibtex-print-help-message, bibtex-validate)
3884 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3885
2dcdbdd9
SM
38862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * progmodes/compile.el (compilation-goto-locus):
3889 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3890 * bs.el (bs-cycle-next, bs-cycle-previous):
3891 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3892 * bindings.el (mode-line-other-buffer):
3893 * autoinsert.el (auto-insert):
3894 * arc-mode.el (archive-extract):
3895 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3896
b27640fe
JB
38972011-07-05 Juanma Barranquero <lekktu@gmail.com>
3898
3899 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3900 Fix check of `emacs-lock-unlockable-modes'.
3901 Coerce true values of `emacs-lock--try-unlocking' to t.
3902
53bbe3ad
JB
39032011-07-05 Juanma Barranquero <lekktu@gmail.com>
3904
3905 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3906 * emacs-lock.el: New file.
3907
1d3cdbc7
JD
39082011-07-05 Julien Danjou <julien@danjou.info>
3909
3910 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3911 than `boundp' to check if face is set.
3912
9173deec
JB
39132011-07-05 Juanma Barranquero <lekktu@gmail.com>
3914
3915 * register.el (registerv-make):
3916 * window.el (window-min-height): Fix typos in docstrings.
3917
869795d6
JD
39182011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3919
9173deec 3920 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3921 Update doc string.
3922
b768cdcd
JB
39232011-07-04 Juanma Barranquero <lekktu@gmail.com>
3924
3925 * server.el (server-execute): Catch quit and call
3926 `server-return-error' to pass the error back to emacsclient and
3927 close the connection (bug#8942).
3928
13aa217b
KM
39292011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3930
3931 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3932 insecure exception for current topic. Also note that auto-saves
3933 are handled differently.
3934
3935 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3936 State variables for tracking auto-save inhibition situation.
3937
3938 (allout-write-contents-hook-handler): Rename from
3939 'allout-write-file-hook-handler', and describe how it depends on
3940 write-contents-functions sensitivity to non-nil value to prevent
3941 file write.
3942
3943 (allout-auto-save-hook-handler): Remove. auto-save does not check
3944 this in individual buffers, only in the starting buffer, so this
3945 is not the right way for us to inhibit auto-save in a buffer
3946 according to its condition.
3947
3948 (allout-mode): Use new allout-write-contents-hook-handler, and
3949 only with write-contents-functions. Remove auto-save provisions -
3950 they're implemented elsewhere.
3951
3952 (allout-before-change-handler): If undo is in progress, note that
3953 for attention of allout-post-command-business.
3954
3955 (allout-post-command-business): If the command we're following was
3956 an undo, check for change in the status of encrypted items and
3957 adjust auto-save inhibitions accordingly.
3958
3959 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3960 according to whether there are or aren't any plain-text topics
3961 pending encryption.
3962
2dcdbdd9
SM
3963 (allout-inhibit-auto-save-info-for-decryption):
3964 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3965 there are plain-text topics pending encryption.
3966
3967 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3968 buffer-saved-size and some allout state to not inhibit auto-saves
3969 if there are no longer any plain-text topics pending encryption.
3970
0757af94
SM
3971 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3972 No longer provide for exemption of the current topic.
13aa217b 3973
ac89b32c
JL
39742011-07-04 Juri Linkov <juri@jurta.org>
3975
3976 Add 7z operations to delete and save changed members (bug#8968).
3977 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3978 New defcustoms.
3979 (archive-7z-write-file-member): New function.
3980 (archive-7z-summarize): Fix the number of dashes in the
3981 listing output.
3982
8fa39615
SM
39832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3986 (bug#8958).
3987
2f11b3f1
CY
39882011-07-04 Chong Yidong <cyd@stupidchicken.com>
3989
d66fef2b
CY
3990 * bindings.el: Ignore next-buffer and previous-buffer in
3991 minibuffer-local-map.
3992
2f11b3f1
CY
3993 * font-lock.el (font-lock-builtin-face): Change light background
3994 color to dark slate blue (Bug#6693).
3995
f932a347
WD
39962011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3997
3998 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3999
c8af70e1
SM
40002011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4004 Add switch-to-buffer.
4005
f158badc
LMI
40062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4007
4008 * isearch.el (isearch-search-fun-function): Clarify further the
4009 meaning of the function returned.
4010
6d95bd46
MA
40112011-07-04 Michael Albinus <michael.albinus@gmx.de>
4012
4013 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4014
4015 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4016 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4017 Use it.
4018 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4019 `tramp-default-remote-path' does not exist.
4020 (tramp-send-command-and-read): New optional argument NOERROR.
4021 (tramp-open-connection-setup-interactive-shell)
4022 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4023 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4024 (tramp-process-sentinel): Flush also process' connection property.
4025 (tramp-sh-handle-start-file-process): Do not set process
4026 sentinel. It is done now ...
4027 (tramp-maybe-open-connection): ... here. (Bug#8929)
4028
909e6b67
MK
40292011-07-04 MON KEY <monkey@sandpframing.com>
4030
4031 * play/animate.el (animate-string): Doc fixes and allow changing
4032 the buffer name (bug#5417).
4033
40342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4035
c8af70e1 4036 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4037
f34755dc
PE
40382011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4039
396cec72
PE
4040 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4041 This is simpler and helps future-proof the code.
4042 (timer-until): Use time-subtract and float-time.
08235028 4043 (timer--time-less-p): Use time-less-p.
f34755dc 4044
56e6cc31
JB
40452011-07-04 Juanma Barranquero <lekktu@gmail.com>
4046
3abb79e5
JB
4047 * type-break.el (timep): Use the value of `float-time' to avoid a
4048 byte-compiler warning.
4049
56e6cc31
JB
4050 * server.el (server-eval-and-print): Return any result, even nil.
4051
7b9430b4
PE
40522011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4053
4054 * type-break.el: Accept time formats that the builtins accept.
4055 (timep, type-break-time-difference): Accept any format that
4056 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4057 This is simpler and helps future-proof the code.
4058 (type-break-time-difference): Round rather than ignoring
4059 subseconds components.
4060
3034e9e7
LMI
40612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4062
4063 * info.el (Info-apropos-matches): Make non-interactive, since it
4064 doesn't seem to do anything useful as a command (bug#8829).
4065
1485f4c0
CY
40662011-07-03 Chong Yidong <cyd@stupidchicken.com>
4067
4068 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4069 Move from faces.el.
1485f4c0
CY
4070 (frame-default-terminal-background): New function.
4071
4072 * custom.el (custom-push-theme): Don't record faces in `changed'
4073 theme; this doesn't work correctly for per-frame face settings.
4074 (disable-theme): Use face-set-after-frame-default to reset faces.
4075 (custom--frame-color-default): New function.
4076
9fa3dd45
LMI
40772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4078
c8af70e1 4079 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4080 (bug#8769).
4081
6cbbc20c
KR
40822011-03-29 Kevin Ryde <user42@zip.com.au>
4083
4084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4085 `perl-Test2' extend to match possible "fail #N" rep count
4086 (bug#8377).
4087
c7f98048
LMI
40882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
65676592
LMI
4090 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4091 `smtpmail-via-smtp' now returns the error instead of nil.
4092
c7f98048
LMI
4093 * isearch.el (isearch-search-fun-function): Clarify the doc string
4094 (bug#8101).
4095
56e6cc31 40962011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4097
4098 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4099 unnecessary spaces (bug#8987).
4100
2b216704
LMI
41012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102
4103 * net/network-stream.el (open-network-stream): Use the
4104 :end-of-capability command thoughout.
4105
41062011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4107
4108 * net/network-stream.el (open-network-stream): Add the
4109 :end-of-capability command parameter, used by pop3.el.
4110
36adf6ce
LMI
41112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4112
1ca0da0e
LMI
4113 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4114
fc00f69c
LMI
4115 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4116 for list)" (bug#6475).
4117
28fd8759 4118 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4119 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4120 an error (bug#6297).
4121
0dd8b6da
LMI
4122 * man.el (Man-reference-regexp): Allow matching possible
4123 word-wrapped references (bug#6289).
4124
ce1438d6
LMI
4125 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4126 for consistency with the other vc buffers (bug#6197).
4127 (vc-checkin): Ditto.
4128
4129 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4130
36adf6ce
LMI
4131 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4132
e83cc1f7
LMI
41332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4134
8a20ca4c
LMI
4135 * custom.el (defcustom): Clarify that :set is only used in the
4136 Customize user interface (bug#6089).
4137
83319045
LMI
4138 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4139 associated with a file, refuse to run instead of erroring out
4140 (bug#6084).
4141
a8392169
LMI
4142 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4143 the doc string, since it appears that using `fill-column' always
4144 controls the width (bug#7845).
4145
e83cc1f7
LMI
4146 * simple.el (shell-command-on-region): Say where the error output
4147 went if `shell-command-default-error-buffer' is set (bug#6857).
4148
e47ca23b
KM
41492011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4150
4151 * allout.el (allout-yank-processing): Adjust cursor position for
4152 backwards-deleted space.
4153
4154 (allout-rebullet-heading): Register changes with
4155 allout-exposure-changed-hook, so the modified topic is properly
4156 decorated.
4157
5cf56143
LMI
41582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4159
08549772
LMI
4160 * minibuffer.el (completion-in-region): Document PREDICATE
4161 (bug#7136).
4162
48e96771
LMI
4163 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4164 of keyword/argument pairs (bug#6904).
4165
c8af70e1
SM
4166 * replace.el (multi-occur):
4167 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4168
e17d05e2
LMI
41692011-07-02 Drew Adams <drew.adams@oracle.com>
4170
4171 * dired.el (dired-mark-if): Make the message about whether it's
4172 marking or unmarking clearer (bug#8523).
4173
063b0e45
LMI
41742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4175
4176 * disp-table.el (display-table-print-array): New function.
4177 (describe-display-table): Use it to print the vectors more pretty
4178 (Bug#8859).
4179
28545e04
MR
41802011-07-02 Martin Rudalics <rudalics@gmx.at>
4181
4182 * window.el (window-state-get-1): Don't assign clone numbers.
4183 Add clone-of item to list of window parameters.
4184 (window-state-put-2): Don't process clone numbers.
4185 (display-buffer-alist): Fix doc-string.
4186
3349e122
SM
41872011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * subr.el (remq): Don't allocate if it's not needed.
4190 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4191 (keymap--merge-bindings): New functions.
4192 (keymap-canonicalize): Use them to refine the canonicalization.
4193 * minibuffer.el (minibuffer-local-completion-map)
4194 (minibuffer-local-must-match-map): Move initialization from C.
4195 (minibuffer-local-filename-completion-map): Move initialization from C;
4196 don't inherit from anything here.
4197 (minibuffer-local-filename-must-match-map): Make obsolete.
4198 (completing-read-default): Use make-composed-keymap to combine
4199 minibuffer-local-filename-completion-map with either
4200 minibuffer-local-must-match-map or
4201 minibuffer-local-filename-completion-map.
4202
d224ac83
GM
42032011-07-01 Glenn Morris <rgm@gnu.org>
4204
3de63bf8
GM
4205 * type-break.el (type-break-time-sum): Use dolist.
4206
d224ac83
GM
4207 * textmodes/flyspell.el (flyspell-word-search-backward):
4208 Replace CL function.
4209
1a1e3f32
SM
42102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4211
fe3f64d5
SM
4212 * mouse.el (mouse--strip-first-event): New function.
4213 (function-key-map): Use it to map fringe clicks to normal clicks
4214 by default.
4215
eb604e34
SM
4216 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4217 (vc-bzr-revision-completion-table): Add support for annotate and date.
4218
1a1e3f32
SM
4219 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4220 inherit from parent.
4221
5bd35902
LMI
42222011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4223
ace6c69c 4224 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4225 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4226
191e2bed
LMI
4227 * dired.el (dired-mode): Fix up the doc string as suggested by
4228 Drew Adams (bug#8817).
4229
5bd35902
LMI
4230 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4231 cookie, since the manual says that it should be possible to add
4232 this function to `find-file-hook' (bug#8709).
4233
eee8207a
TZ
42342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4235
4236 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4237 here. Noted Ted Zlatanov as the maintainer.
4238 (cfengine-common-settings, cfengine-common-syntax): New functions
4239 to set up common things between `cfengine-mode' and
4240 `cfengine3-mode'.
4241 (cfengine3-mode): New mode.
4242 (cfengine3-defuns cfengine3-defuns-regex
4243 (cfengine3-class-selector-regex cfengine3-category-regex)
4244 (cfengine3-vartypes cfengine3-font-lock-keywords)
4245 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4246 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4247
36b148cf
MA
42482011-07-01 Michael Albinus <michael.albinus@gmx.de>
4249
4250 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4251
4252 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4253
0bf4ba9a
MR
42542011-07-01 Martin Rudalics <rudalics@gmx.at>
4255
4256 * window.el (same-window-buffer-names, same-window-regexps)
4257 (same-window-p, special-display-frame-alist)
4258 (special-display-popup-frame, special-display-function)
4259 (special-display-buffer-names, special-display-regexps)
4260 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4261 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4262 (split-window-preferred-function, split-height-threshold)
4263 (split-width-threshold, even-window-heights)
4264 (display-buffer-mark-dedicated, window-splittable-p)
4265 (split-window-sensibly, window-safely-shrinkable-p):
4266 Un-obsolete.
4267 (display-buffer): Don't spread args with function specifier
4268 because special-display-popup-frame won't like it.
4269
35837f51
PE
42702011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4271
d0672f86
PE
4272 Time-stamp simplifications and fixes.
4273 These improve accuracy slightly, and future-proof the code
4274 against some potential changes to current-time format.
4275
b9444d97
PE
4276 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4277 by using time-since and float-time.
4278
0ef923dc
PE
4279 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4280 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4281 + NNN microseconds".
4282
2f81380d
PE
4283 * type-break.el (type-break-time-sum): Rewrite using time-add.
4284
845b5c3e
PE
4285 * play/hanoi.el (hanoi-current-time-float): Remove.
4286 All uses replaced by float-time.
4287
ee6f1be0
PE
4288 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4289 This yields a more-accurate answer.
4290 (rng-time-to-float): Remove; no longer needed.
4291
fe955043
PE
4292 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4293
5777162a
PE
4294 * calendar/timeclock.el (timeclock-seconds-to-time):
4295 Defalias to seconds-to-time, since they're the same thing.
4296
3103f8b6 4297 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4298 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4299 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4300
0e61a35f
SM
43012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * window.el (bury-buffer): Don't iconify the only frame.
4304 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4305 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4306
ddd63a1e
CY
43072011-07-01 Chong Yidong <cyd@stupidchicken.com>
4308
0e61a35f
SM
4309 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4310 Add mouse-yank-primary.
ddd63a1e 4311
055f4923
TZ
43122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4313
4314 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4315
6a2fb145
SM
43162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4319 (find-library-name): Use it to find relative load names when provided
4320 absolute file name (bug#8803).
4321
fd4983f2
LMI
43222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4323
887d14ad
LMI
4324 * textmodes/flyspell.el (flyspell-word): Consider words that
4325 differ only in case as potential doublons (bug#5687).
4326
c53dc7fc
LMI
4327 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4328 Remove two rather uninteresting debugging-like messages to make
4329 debbugs.el more silent.
4330
fd4983f2
LMI
4331 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4332 a password-like phrase.
4333
b14c0c55
AM
43342011-06-30 Mastake YAMATO <yamato@redhat.com>
4335
4336 * progmodes/cc-guess.el: New file.
4337
6a2fb145 4338 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4339
4340 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4341 derived from `c-basic-common-init'.
4342
4343 * progmodes/cc-mode.el (top-level): Require cc-guess.
4344 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4345
1fa280a3
LM
43462011-06-30 Lawrence Mitchell <wence@gmx.li>
4347
4348 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4349
e6597158
AM
43502011-06-30 Alan Mackenzie <acm@muc.de>
4351
1fa280a3
LM
4352 * progmodes/cc-engine.el (c-guess-continued-construct):
4353 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4354 lock is disabled. Name this case as "CASE G".
4355
68ba37fb
KM
43562011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4357
4358 * allout.el (allout-yank-processing): Fix injection of extra space
4359 between bullet and non-whitespace character in first topic when
4360 pasting, ensuring that the actual spacing in the pasted topic
4361 following the bullet char is preserved. This extra space was
4362 causing pasted encrypted topics to get a decrypted status even
4363 when the content was actually still encrypted. Now the decryption
4364 status from before the paste is preserved.
4365
4366 (allout-flag-region): Set all allout overlays so they evaporate
4367 when reduced to zero length (evanescent), to prevent overlay
4368 leakage.
4369
887a0b34
GM
43702011-06-30 Glenn Morris <rgm@gnu.org>
4371
94b9acce
GM
4372 * w32-fns.el (w32-charset-info-alist): Declare.
4373
1d9b46d4
GM
4374 * find-dired.el (find-grep-options): Simplify.
4375
cc232200
GM
4376 * term/ns-win.el (ns-set-resource): Declare.
4377
28e77c46
GM
4378 * ses.el (row, col): Declare dynamic variables honestly.
4379
887a0b34
GM
4380 * textmodes/reftex-parse.el (index-tags): Declare.
4381
658d8eb8
CY
43822011-06-30 Chong Yidong <cyd@stupidchicken.com>
4383
4384 * cus-edit.el (customize-push-and-save): New function.
4385
4386 * files.el (hack-local-variables-confirm): Use it.
4387
1fa280a3
LM
4388 * custom.el (load-theme): New arg NO-CONFIRM.
4389 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4390 (custom-enabled-themes): Doc fix.
4391
4392 * cus-theme.el (customize-create-theme)
4393 (custom-theme-merge-theme): Callers to load-theme changed.
4394
bb617717
LMI
43952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4396
d61bdd5d
LMI
4397 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4398 short URLs have at least one dot in them (bug #7614).
4399
bb617717
LMI
4400 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4401 nil, because using a pty is apparently too slow (bug #895).
4402
2f31f37a
LMI
44032011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4404
4405 * mail/sendmail.el (sendmail-query-once): New function.
4406 (sendmail-query-once-function): New variable.
4407
3076b24e
GM
44082011-06-29 Glenn Morris <rgm@gnu.org>
4409
faf2a174
GM
4410 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4411
3076b24e
GM
4412 * ses.el (top-level): Require cl when compiling.
4413 (ses-set-localvars): Fix error statement.
4414 Call it at compile time to silence a storm of warnings.
4415
5386012d
MR
44162011-06-29 Martin Rudalics <rudalics@gmx.at>
4417
4418 * window.el (normalize-live-buffer): Rename to
4419 window-normalize-buffer.
4420 (normalize-live-frame): Rename to window-normalize-frame.
4421 (normalize-any-window): Rename to window-normalize-any-window.
4422 (normalize-live-window): Rename to window-normalize-live-window.
4423 (make-window-atom): Rename to window-make-atom.
4424 (window-resize-reset): Rename to window--resize-reset.
4425 (window-resize-reset-1): Rename to window--resize-reset-1.
4426 (resize-mini-window): Rename to window--resize-mini-window.
4427 (resize-subwindows-skip-p): Rename to
4428 window--resize-subwindows-skip-p.
4429 (resize-subwindows-normal): Rename to
4430 window--resize-subwindows-normal.
4431 (resize-subwindows): Rename to window--resize-subwindows.
4432 (resize-other-windows): Rename to window--resize-siblings.
4433 (resize-this-window): Rename to window--resize-this-window.
4434 (resize-root-window): Rename to window--resize-root-window.
4435 (resize-root-window-vertically): Rename to
4436 window--resize-root-window-vertically.
4437 (normalize-buffer-to-display): Rename to
4438 window-normalize-buffer-to-display.
4439 (normalize-buffer-to-switch-to): Rename to
4440 window-normalize-buffer-to-switch-to.
4441 Correspondingly update all callers of the functions listed
4442 above.
4443 (display-buffer-alist, display-buffer-normalize-arguments)
4444 (display-buffer-normalize-options, display-buffer)
4445 (display-buffer-alist-set): Use "function" instead of
4446 "fun-with-args".
4447
1176868d
CY
44482011-06-28 Chong Yidong <cyd@stupidchicken.com>
4449
4450 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4451 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4452 debbugs.gnu.org. Mention acknowledgment email.
4453
20a7a65f
LMI
44542011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4455
4456 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4457 buffer multibyteness, since it shouldn't matter.
4458
5f45cca5
MR
44592011-06-28 Martin Rudalics <rudalics@gmx.at>
4460
4461 * window.el (display-buffer-in-side-window): Handle dedicated
4462 windows as in display-buffer-reuse-window.
4463 (display-buffer-normalize-alist): Use value of override
4464 specifier.
4465 (display-buffer-normalize-specifiers): Use value of
4466 other-window-means-other-frame specifier.
4467 (display-buffer-alist): Rewrite some texts in widgets.
4468 (display-buffer): Spread arguments when calling function
4469 specified by fun-with-args.
4470
ad85fe1f
DD
44712011-06-28 Deniz Dogan <deniz@dogan.se>
4472
1fa280a3
LM
4473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4474 Unnest `let'.
da68c4c8 4475
ad85fe1f
DD
4476 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4477 selectors (Bug#5732).
ec49bd31 4478 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4479
a08cc025
JA
44802011-06-27 Jari Aalto <jari.aalto@cante.net>
4481
4482 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4483 (eshell-ls-date-format): New defcustom.
4484 (eshell-ls-file): Use it.
4485
e2b551c5
SM
44862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4489
8982b231
KY
44902011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4491
4492 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4493 (ange-ftp-make-tmp-name): New arg.
4494 (ange-ftp-file-local-copy): Use it.
4495
36c9fa27
J
44962011-06-27 Jambunathan K <kjambunathan@gmail.com>
4497
4498 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4499 no-conversion (Bug#8870).
4500
d68443dc
MR
45012011-06-27 Martin Rudalics <rudalics@gmx.at>
4502
4503 * window.el (window-right, window-left, window-child)
4504 (window-child-count, window-last-child)
4505 (window-iso-combination-p, walk-window-tree-1)
4506 (window-atom-check-1, window-tree-1, delete-window)
4507 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4508 new naming conventions - window-vchild, window-hchild,
4509 window-next and window-prev are now called window-top-child,
4510 window-left-child, window-next-sibling and window-prev-sibling
4511 respectively.
d615d6d2
MR
4512 (resize-window-reset): Rename to window-resize-reset.
4513 (resize-window-reset-1): Rename to window-resize-reset-1.
4514 (resize-window): Rename to window-resize.
4515 (window-min-height, window-min-width)
4516 (resize-mini-window, resize-this-window, resize-root-window)
4517 (resize-root-window-vertically, adjust-window-trailing-edge)
4518 (enlarge-window, shrink-window, maximize-window)
4519 (minimize-window, delete-window, quit-restore-window)
4520 (split-window, balance-windows, balance-windows-area-adjust)
4521 (balance-windows-area, window-state-put-2)
4522 (display-buffer-even-window-sizes, display-buffer-set-height)
4523 (display-buffer-set-width, set-window-text-height)
4524 (fit-window-to-buffer): Rename all "resize-window" prefixed
4525 calls to use the "window-resize" prefix convention.
4526 (display-buffer-alist): Fix symbol for label specifier.
4527 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4528 corresponding specifier.
4529 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4530
b6458526
VB
45312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4532
4533 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4534 convention.
4535 (ses-call-printer): Does not pass an empty string to formatter when the
4536 cell is empty to keep from barking printer Calc math-format-value.
4537
d31fd9ac
RS
45382011-06-27 Richard Stallman <rms@gnu.org>
4539
43d5bf84
RS
4540 * battery.el (battery-mode-line-limit): New variable.
4541 (battery-update): Handle it.
4542
d31fd9ac
RS
4543 * mail/rmailmm.el (rmail-mime-process-multipart):
4544 Handle truncated messages.
4545
819a6054
GM
45462011-06-27 Glenn Morris <rgm@gnu.org>
4547
4548 * progmodes/flymake.el (flymake-err-line-patterns):
4549 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4550
cedc73f2
VB
45512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4552
819a6054 4553 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4554 (ses--clean-!, ses--clean-_): New functions.
4555 (ses-range): Add configurability of readout order, and conversion
4556 to Calc vector.
4557
5e5d49b6
VB
4558 * ses.el (ses-repair-cell-reference-all): New function.
4559 (ses-cell-symbol): Set macro as safe, so that it can be used in
4560 formulas.
4561
56e6cc31 4562 * ses.el: Update cycle detection algorithm.
90ca8b49 4563 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4564 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4565 (ses-set-localvars): New function.
4566 (ses-make-cell): Add property-list as a cell element.
4567 (ses-cell-property-get-fun, ses-cell-property-get)
4568 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4569 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4570 New functions.
90ca8b49
VB
4571 (ses-cell-property-set, ses-cell-property-pop)
4572 (ses-cell-property-get-handle): New macro.
4573 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4574 New aliases, used for code readability.
4575 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4576 cycle detection.
4577 (ses-self-reference-early-detection): New defcustom.
4578 (ses-formula-references): Robustify against self-refering cells.
4579 (ses-mode): Use ses-set-localvars.
4580 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4581 before lauching the update processing.
4582 (ses-initialize-Dijkstra-attempt): New function.
4583 (ses-recalculate-cell): Update for cycle detection based on
4584 Dijkstra algorithm.
4585
2bb63e81
VB
4586 * ses.el: Fix commenting and indenting convention.
4587
c9d29fb8
SM
45882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * bs.el (bs-cycle-next): Complete last change.
4591
d8e4b68b
JB
45922011-06-27 Drew Adams <drew.adams@oracle.com>
4593
4594 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4595
40098786
LMI
45962011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
c9d29fb8
SM
4598 * net/network-stream.el (network-stream-open-starttls):
4599 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4600 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4601
40098786
LMI
4602 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4603 to binary to possibly avoid line encoding issues on Windows (among
4604 other things).
4605
468d09d4
LMI
46062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4607
4608 * net/network-stream.el (open-network-stream): Return an :error
4609 saying what the problem was, if possible.
4610
4611 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4612 server.
4613
4614 * net/network-stream.el (network-stream-open-starttls): If we
4615 wanted to use STARTTLS, and the server offered it, but we weren't
4616 able to because we had no STARTTLS support, then close the connection.
4617 (open-network-stream): Return an :error element, if present.
4618
16f07dd7
CY
46192011-06-26 Chong Yidong <cyd@stupidchicken.com>
4620
88821ca0
CY
4621 * hl-line.el (hl-line-sticky-flag): Doc fix.
4622 (global-hl-line-sticky-flag): New option (Bug#8323).
4623 (global-hl-line-highlight): Obey it.
4624
16f07dd7
CY
4625 * vc/vc.el (vc-revert-show-diff): Default to t.
4626
6b5ccddf
KM
46272011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4628
c9d29fb8
SM
4629 * allout-widgets.el (allout-widgets-post-command-business):
4630 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4631 undecorated when an isearch is continued past, and isearch
4632 automatically collapses them. This leads to "widget leaks", where
4633 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4634 hidden widgets can slow down cursor travel, substantially.
4635 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4636 so we're doing without this nicety.
4637
4638 (allout-widgets-tally-string): Don't try to do a hash-table-count
4639 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4640 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4641 *Messages* when allout-widgets-maintain-tally is t.
4642
355f2e07
MR
46432011-06-26 Martin Rudalics <rudalics@gmx.at>
4644
4645 * window.el (display-buffer-normalize-argument): Rename to
4646 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4647 LABEL argument. Respect special-display-function when popping up
4648 a new frame. Fix code searching for a window showing the buffer
4649 on another frame.
c9d29fb8
SM
4650 (display-buffer-normalize-specifiers):
4651 Call display-buffer-normalize-arguments.
355f2e07
MR
4652 (display-buffer-in-window): Don't undedicate the window if its
4653 buffer remains the same.
4654 Reported by Drew Adams <drew.adams@oracle.com>.
4655 (display-buffer-alist): Add choice for same-window macro
4656 specfier.
4657 (display-buffer): Mention special meaning of LABEL argument in
4658 doc-string. Fix quoting. Don't pop up a new frame even as
4659 fallback.
4660
7ca8fc42
JB
46612011-06-26 Juanma Barranquero <lekktu@gmail.com>
4662
4663 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4664 avoid deleting the current window in some cases (bug#8911).
4665
bc312254
AS
46662011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4667
4668 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4669 (Bug#8934)
4670
2db18f3f
LMI
46712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4672
c9d29fb8
SM
4673 * net/network-stream.el (network-stream-open-starttls):
4674 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4675 (network-stream-open-tls): Ditto.
4676
6302e0d3
LL
46772011-06-26 Leo Liu <sdl.web@gmail.com>
4678
4679 * register.el (registerv): New struct.
4680 (registerv-make): New function.
c9d29fb8
SM
4681 (jump-to-register, describe-register-1, insert-register):
4682 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4683 struct. (Bug#8415)
4684
5fdd4046
CY
46852011-06-26 Chong Yidong <cyd@stupidchicken.com>
4686
2afef60a
CY
4687 * vc/vc.el (vc-revert-show-diff): New defcustom.
4688 (vc-diff-internal): New arg specifying diff buffer.
4689 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4690 reuse an existing *vc-diff* buffer (Bug#8927).
4691
5fdd4046
CY
4692 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4693
e93db24a
GM
46942011-06-26 Glenn Morris <rgm@gnu.org>
4695
4696 * progmodes/f90.el (f90-critical-indent): New option.
4697 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4698 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4699 (f90-mode): Doc fix.
4700 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4701 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4702 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4703 (f90-match-end): Handle block, critical.
4704
eefff499
GM
47052011-06-25 Glenn Morris <rgm@gnu.org>
4706
f6ba4cc9
GM
4707 * calendar/diary-lib.el (diary-included-files): Doc fix.
4708 (diary-include-files): New function, extracted from
4709 diary-include-other-diary-files and diary-mark-included-diary-files.
4710 (diary-include-other-diary-files, diary-mark-included-diary-files):
4711 Just call diary-include-files.
4712 (diary-mark-entries): Reset diary-included-files on first call.
4713
16712304
GM
4714 * calendar/diary-lib.el (diary-mark-entries)
4715 (diary-mark-included-diary-files):
4716 Visit included diary-files in temp buffers.
4717
5d8e0d43
GM
4718 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4719 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4720 (f90-start-block-re, f90-imenu-generic-expression)
4721 (f90-looking-at-program-block-start, f90-no-block-limit):
4722 Add support for submodules.
4723
ccf7a5d5
GM
4724 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4725 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4726
11fdef7d 47272011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4728
4729 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4730 buffer-file-type before setting its value, to avoid disastrous
eefff499 4731 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4732
74f53697
JB
47332011-06-25 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4736
4737 * ses.el (ses-unload-function):
4738 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4739
4740 * proced.el (proced-unload-function):
4741 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4742
18a4ce5e
AR
47432011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4744
4745 * server.el (server-create-window-system-frame): Add parameters arg.
4746 (server-process-filter): Doc fix. Handle frame-parameters.
4747
519d22cc
JB
47482011-06-25 Juanma Barranquero <lekktu@gmail.com>
4749
4750 Fix bug#8730, bug#8781.
4751
4752 * loadhist.el (unload--set-major-mode): New function.
4753 (unload-feature): Use it.
4754
4755 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4756 (python-unload-function): New function.
4757
c206f5b0
SM
47582011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4761
f9ad64f3
GS
47622011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4763
4764 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4765 the candidates list.
4766
7d0da90e
JB
47672011-06-24 Juanma Barranquero <lekktu@gmail.com>
4768
4769 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4770
14b4e83d
RS
47712011-06-23 Richard Stallman <rms@gnu.org>
4772
4773 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4774 (rmail-variables): Set next-error-move-function.
4775 (rmail-what-message): Take argument POS.
4776 (rmail-next-error-move): New function.
4777
273d2baf
SM
47782011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4781 messages for adjacent non-terminals.
4782
56c2cc9a
RS
47832011-06-23 Richard Stallman <rms@gnu.org>
4784
4785 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4786 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4787 (rmail-start-mail): Don't specify use of rmail-mail-return;
4788 that's done by mail-bury now.
4789 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4790
d59eb518
MA
47912011-06-23 Michael Albinus <michael.albinus@gmx.de>
4792
4793 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4794 SIZE is a number.
4795
02cfc6d6
MR
47962011-06-23 Martin Rudalics <rudalics@gmx.at>
4797
4798 * window.el (get-lru-window, get-mru-window)
4799 (get-largest-window): Never return a minibuffer window.
4800 (display-buffer-pop-up-window): Fix a bug that could lead to
4801 reusing the minibuffer window.
4802 (display-buffer): Pass original specifier argument to
4803 display-buffer-function instead of the normalized one.
4804 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4805
4e323265
LL
48062011-06-22 Leo Liu <sdl.web@gmail.com>
4807
4808 * minibuffer.el (completing-read-function)
4809 (completing-read-default): Move from minibuf.c
4810
7a70468f
RS
48112011-06-22 Richard Stallman <rms@gnu.org>
4812
50718fc2
RS
4813 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4814 to Rmail even if not started by a special Rmail command.
4815
7a70468f
RS
4816 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4817 Copy the buffer currently showing just one message.
4818
297dde5a
RW
48192011-06-22 Roland Winkler <winkler@gnu.org>
4820
4821 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4822 (bibtex-clean-entry): First delete the old key so that a
4823 customized algorithm for generating the new key does not get
4824 confused by the old key.
4825 (bibtex-url): Obey regexp of first step.
4826 (bibtex-search-entries): Do not use add-to-list with local
4827 list-var.
4828
97bb1093
LMI
48292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4830
4831 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4832 stored a user name, then query for the password first, instead of
4833 waiting for SMTP to give an error message and the trying again.
4834
1c0f1a19
JD
48352011-06-22 Lawrence Mitchell <wence@gmx.li>
4836
4837 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4838 BUFFER in call-process.
4839
396f7c9d
LMI
48402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4841
4842 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4843 QUIT twice.
ddb7ffee
LMI
4844 (smtpmail-try-auth-methods): Require user name and password from
4845 auth-source.
396f7c9d 4846
8998d1b3
MR
48472011-06-22 Martin Rudalics <rudalics@gmx.at>
4848
4849 * window.el (display-buffer-default-specifiers)
4850 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4851 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4852 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4853
4854 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4855 (special-display-frame-alist, special-display-popup-frame):
4856 Remove duplicate declarations. These are now in window.el.
4857
4ea31e07
LMI
48582011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4859
c9d29fb8
SM
4860 * mail/smtpmail.el (smtpmail-via-smtp):
4861 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4862 server supports it. SMTP servers that support STARTTLS commonly
4863 require it.
4864
4865 * net/network-stream.el (network-stream-open-starttls): Support
4866 upgrading to STARTTLS always, even if we don't have built-in support.
4867 (open-network-stream): Add the :always-query-capabilies keyword.
4868
95f41d9a
LMI
4869 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4870 upgrades with `open-network-stream', and rely solely on
4871 auth-source for all credentials. Big changes throughout the file,
4872 but in particular:
c9d29fb8
SM
4873 (smtpmail-auth-credentials): Remove.
4874 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4875 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4876 MAIL FROM, too.
95f41d9a 4877
c9d29fb8
SM
4878 * net/network-stream.el (network-stream-open-starttls):
4879 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4880 STARTTLS.
4881 (auth-source): Require.
4882 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4883 (network-stream-certificate): Change cert-cert to cert and
4884 cert-key to key.
4ea31e07 4885
065ec2c7
MA
48862011-06-21 Michael Albinus <michael.albinus@gmx.de>
4887
4888 * net/tramp-cache.el (top): Don't load the persistency file when
4889 "emacs -Q" has been called.
4890
cd93b359
DR
48912011-06-21 Tim Harper <timcharper@gmail.com>
4892
d8e4b68b
JB
4893 * term/ns-win.el (ns-initialize-window-system):
4894 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4895 resource to NO as it is not yet supported by the NS port.
4896
ae9c0411
JB
48972011-06-21 Juanma Barranquero <lekktu@gmail.com>
4898
4899 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4900 (list-dynamic-libraries): ...not here.
4901
7f3f739f
LL
49022011-06-21 Leo Liu <sdl.web@gmail.com>
4903
4904 * subr.el (sha1): Implement sha1 using secure-hash.
4905
327c8fb1
MR
49062011-06-21 Martin Rudalics <rudalics@gmx.at>
4907
4908 * window.el (display-buffer-alist): In default value do not
4909 enforce searching a window on any but the selected frame.
4910 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4911 (display-buffer-select-window): Remove function.
4912 (display-buffer-in-window): When a window on another frame gets
4913 reused, do not select it any more but just raise its frame if
4914 necessary (Bug#8851) and (Bug#8856).
4915 (display-buffer-normalize-options): Handle pop-up-frames related
4916 options more faithfully.
4917 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4918 window if it is on another frame.
c9d29fb8
SM
4919 (display-buffer-alist, display-buffer-default-specifiers):
4920 Don't make new frame unsplittable by default.
9e9de014
MR
4921 (display-buffer-normalize-argument): Fix doc-string typo and use
4922 'same-frame-other-window instead of 'other-window when associating
4923 with display-buffer-macro-specifiers.
327c8fb1 4924
7cf3f556
VB
49252011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4926
4927 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4928 New functions.
4929 (5x5-mode-map, 5x5-mode-menu): Bind them.
4930 (5x5-draw-grid): Tweak the solver's rendering.
4931
60a406cf
SM
49322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4935 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4936
d8e4b68b 49372011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4938
4939 * menu-bar.el: Use function variable instead of switch-to-buffer.
4940 (menu-bar-select-buffer-function): New variable.
60a406cf 4941 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4942
478d6f95
SM
49432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4946 variable's status.
4947
ca530739
JD
49482011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4949
4950 * x-dnd.el (x-dnd-version-from-flags)
4951 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4952 and long as number (Bug#8899).
4953 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4954
bcd70d97
SM
49552011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4956
60a406cf 4957 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4958 (completion-try-completion, completion-all-completions): Compute the
4959 metadata argument if it's missing; make it optional (bug#8795).
4960
60a406cf 4961 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4962 (widget-complete): Use new :completion-function property.
4963 (widget-completions-at-point): New function.
4964 (default): Use :completion-function instead of :complete.
60a406cf
SM
4965 (widget-default-completions): Rename from widget-default-complete;
4966 Rewrite.
bcd70d97
SM
4967 (widget-string-complete, widget-file-complete, widget-color-complete):
4968 Remove functions.
4969 (file, symbol, function, variable, coding-system, color):
4970 * international/mule-cmds.el (default-input-method, charset)
4971 (language-info-custom-alist):
4972 * cus-edit.el (face): Use new property :completions.
4973
4974 * progmodes/pascal.el (pascal-completions-at-point): New function.
4975 (pascal-mode): Use it.
4976 (pascal-mode-map): Use completion-at-point.
4977 (pascal-toggle-completions): Make obsolete.
4978 (pascal-complete-word, pascal-show-completions):
4979 * progmodes/octave-mod.el (octave-complete-symbol):
4980 Redefine as obsolete alias.
4981 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4982 Signal absence of completion info for old Octave,
4983 (inferior-octave-complete): Redefine as obsolete alias.
4984 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4985 (meta-completions-at-point): Rename from meta-complete-symbol and
4986 adapt it for use on completion-at-point-functions.
4987 (meta-common-mode): Use it.
4988 (meta-looking-at-backward, meta-match-buffer): Remove.
4989 (meta-complete-symbol): Redefine as obsolete alias.
4990 (meta-common-mode-map): Use completion-at-point.
4991 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4992 (makefile-mode-map): Use completion-at-point.
4993 (makefile-completions-at-point): Rename from makefile-complete and
4994 adapt it for use on completion-at-point-functions.
4995 (makefile-mode): Use it.
4996 (makefile-complete): Redefine as obsolete alias.
4997
aebf69c8
DD
49982011-06-20 Deniz Dogan <deniz@dogan.se>
4999
5000 * net/rcirc.el: Delete trailing whitespaces once and for all.
5001
bfbbb27d
DC
50022011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5003
5004 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5005
d264a46b
CY
50062011-06-19 Chong Yidong <cyd@stupidchicken.com>
5007
4ca009e5
CY
5008 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5009
d264a46b
CY
5010 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5011
fbf5b3ce
MR
50122011-06-19 Martin Rudalics <rudalics@gmx.at>
5013
5014 * window.el (display-buffer-other-window-means-other-frame):
5015 Call display-buffer-normalize-alist.
5016 (display-buffer-normalize-specifiers-1): Rename to
5017 display-buffer-normalize-argument. New argument other-frame.
5018 Rewrite.
5019 (display-buffer-normalize-specifiers-2): Rename to
5020 display-buffer-normalize-options.
5021 (display-buffer-normalize-alist-1): New function.
5022 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5023 display-buffer-normalize-alist.
5024 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5025 (display-buffer-normalize-options-inhibit): New variable.
5026 (display-buffer-normalize-specifiers): Rewrite calling
5027 display-buffer-normalize-alist,
5028 display-buffer-normalize-argument, and
5029 display-buffer-normalize-options. Don't call the latter if
5030 display-buffer-normalize-options-inhibit is non-nil.
5031 (frame-auto-delete): New option.
5032 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5033 (window-list-no-nils, window-state-ignored-parameters)
5034 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5035 (window-state-put-1, window-state-put-2, window-state-put):
5036 New functions.
9a028c23
MR
5037 (display-buffer-normalize-options): Move special-display-p group
5038 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5039
6d10d800
CY
50402011-06-18 Chong Yidong <cyd@stupidchicken.com>
5041
6420d28b
CY
5042 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5043 groups (Bug#8776).
5044 (rx-submatch-n): New function.
5045 (rx): Document it.
5046
ddb8b596
CY
5047 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5048 (Bug#8768).
5049
5050 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5051
77080289
CY
5052 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5053
61dfb316
CY
5054 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5055 anytime existing face settings are present (Bug#8889).
5056
6d10d800
CY
5057 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5058 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5059 Remove unused argument.
5060
be3fb2b8
MR
50612011-06-18 Martin Rudalics <rudalics@gmx.at>
5062
bcd70d97
SM
5063 * window.el (display-buffer-default-specifiers):
5064 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5065 pop-up-window-min-width, and another reuse-window specifier
5066 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5067 (display-buffer-normalize-specifiers-2):
5068 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5069 pop-up-windows is unset. Add a reuse-window specifier for the
5070 case popping up a new window fails.
5071 (special-display-popup-frame): Remove double quoting.
28dec25a 5072 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5073
1c6d8c76
SM
50742011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5077 according to comint-completion-addsuffix.
5078
5079 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5080 (pcomplete-suffix-list): Mark as obsolete.
5081 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5082 pcomplete-seen in the closure.
5083 (pcomplete-comint-setup): Setup completion-at-point as well.
5084 (pcomplete--entries): New function.
5085 (pcomplete--env-regexp): New var.
5086 (pcomplete-entries): Rewrite to work with partial-completion and
5087 without relying on pcomplete-suffix-list.
5088 (pcomplete-pare-list): Remove, unused.
5089
25aef8b8
MR
50902011-06-17 Martin Rudalics <rudalics@gmx.at>
5091
5092 * window.el (display-buffer-alist): Set pop-up-window-min-height
5093 and pop-up-window-min-width in default value. Reported by
5094 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5095 other-window-means-other-frame.
5096 (display-buffer-macro-specifiers): Comment out entry for
5097 other-window specifier.
5098 (display-buffer-other-window-means-other-frame): New function.
5099 (display-buffer-normalize-specifiers-1): New arguments
5100 buffer-name and label. Treat other-window case specially.
5101 (display-buffer-normalize-specifiers-2): Treat other-window case
5102 specially.
5103 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5104 (display-buffer-normalize-specifiers):
5105 Call display-buffer-normalize-specifiers-3.
25aef8b8 5106
dbad4f69
MR
51072011-06-17 Martin Rudalics <rudalics@gmx.at>
5108
5109 * window.el (same-window-p): Fix two typos introduced when
5110 adding with-no-warnings.
d1067961
MR
5111 (display-buffer-normalize-specifiers-1): Don't check
5112 pop-up-frames for 'unset initialization.
5113 (display-buffer-normalize-specifiers-2): Major rewrite using
5114 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5115 (pop-up-frames, display-buffer-reuse-frames)
5116 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5117 Suggested by David Engster <deng@randomsample.de>.
5118 (even-window-heights): Initialize to 'unset.
5119 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5120 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5121 other window case.
dbad4f69 5122
9b9c9e3a
MR
51232011-06-16 Martin Rudalics <rudalics@gmx.at>
5124
bcd70d97
SM
5125 * window.el (display-buffer-normalize-specifiers-1):
5126 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5127 second argument of display-buffer (Bug#8865).
981d5c09
MR
5128 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5129 (switch-to-buffer-other-window-same-frame)
5130 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5131 Adams (Bug#8875).
9c2755e9
MR
5132 (display-buffer): Don't check noninteractive when calling
5133 display-buffer-pop-up-frame.
5134 (display-buffer-pop-up-frame): Never pop up a frame in
5135 noninteractive mode (Bug#8857).
67222e1d
MR
5136 (enlarge-window, shrink-window): Don't report an error when the
5137 window can't be resized as requested (Bug#8862).
9b9c9e3a 5138
2b75be67
SM
51392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5140
9ffdd3ba
SM
5141 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5142
cb581a67
SM
5143 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5144
2b75be67
SM
5145 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5146
8c0e3589
AM
51472011-06-15 Alan Mackenzie <acm@muc.de>
5148
cb581a67
SM
5149 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5150 for declarators, disable knr checking to speed up for normal files.
5151 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5152
b96e6cde
LMI
51532011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5154
4bba86e6
LMI
5155 * net/network-stream.el (open-network-stream): Add the keyword
5156 :always-query-capabilities for the case where you want to force a
5157 `plain' network connection, but the protocol still requires the
5158 capabilitiy command (i.e., SMTP and EHLO).
5159
2b75be67 5160 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5161 consistency with other `-live-p' functions.
5162
efdcdbf8
SM
51632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * window.el (same-window-buffer-names, same-window-regexps)
5166 (special-display-frame-alist, special-display-popup-frame)
5167 (special-display-function, special-display-buffer-names)
5168 (special-display-regexps, pop-up-frame-alist)
5169 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5170 (pop-up-windows, split-window-preferred-function)
5171 (split-height-threshold, split-width-threshold, even-window-heights)
5172 (display-buffer-mark-dedicated): Don't encourage the use of
5173 display-buffer-alist from Elisp code.
5174
c5cde042
DN
51752011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5176
5177 * progmodes/python.el (python-mode): Derive from prog-mode.
5178 * progmodes/ps-mode.el (ps-mode):
5179 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5180 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5181 * progmodes/ld-script.el (ld-script-mode): Likewise.
5182
baa1c9ab
MR
51832011-06-15 Martin Rudalics <rudalics@gmx.at>
5184
5185 * window.el (display-buffer-alist): Trim default value to avoid
5186 popping up a new frame (Bug#8857) or reusing an arbitrary window
5187 on another frame.
5188 (display-buffer): Do not fall back on popping up a new frame in
5189 batch mode (Bug#8857).
5190
c5dd5a51
CY
51912011-06-14 Chong Yidong <cyd@stupidchicken.com>
5192
5193 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5194 (custom-theme-summary): New function.
5195 (customize-themes): Use it.
5196
d647b7c4
GM
51972011-06-13 Glenn Morris <rgm@gnu.org>
5198
5199 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5200
9481c002
MR
52012011-06-13 Martin Rudalics <rudalics@gmx.at>
5202
357f93d2
MR
5203 * help.el (help-window): Remove variable.
5204 (help-window-point-marker, temp-buffer-max-height)
5205 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5206 (help-print-return-message): Don't set help-window.
5207 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5208 (help-window-setup-finish): Remove.
5209 (help-window-display-message, help-window-setup)
5210 (with-help-window): Major rewrite based on new
5211 display-buffer-window variable.
5212
5213 * help-mode.el (help-mode-finish): Remove help-window related
5214 code.
5215
5216 * view.el (view-exits-all-viewing-windows): Remove reference to
5217 view-return-to-alist in doc-string.
5218 (view-return-to-alist): Make obsolete.
5219 (view-buffer): Call pop-to-buffer-same-window and remove
5220 undo-window code.
5221 (view-buffer-other-window): Call pop-to-buffer-other-window and
5222 simplify code. Ignore second argument.
5223 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5224 simplify code. Ignore second argument.
5225 (view-return-to-alist-update): Make obsolete.
5226 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5227 Rewrite using quit-restore window parameters.
2b75be67
SM
5228 (view-mode-exit): Rename second argument to EXIT-ONLY.
5229 Rewrite using quit-restore-window.
357f93d2
MR
5230 (View-exit, View-exit-and-edit, View-leave, View-quit)
5231 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5232 appropriate arguments.
5233 (view-end-message): Use quit-restore window parameter.
5234
9481c002
MR
5235 * window.el (display-buffer-function): Rewrite doc-string.
5236 (display-buffer-window, display-buffer-alist): New variables.
5237 (display-buffer-split-specifiers)
5238 (display-buffer-side-specifiers)
5239 (display-buffer-macro-specifiers): New constants.
5240 (display-buffer-even-window-sizes, display-buffer-set-height)
5241 (display-buffer-set-width, display-buffer-select-window)
5242 (display-buffer-in-window, display-buffer-reuse-window)
5243 (display-buffer-split-window-1, display-buffer-split-window)
5244 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5245 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5246 (display-buffer-in-side-window, normalize-buffer-to-display)
5247 (display-buffer-normalize-specifiers-1)
5248 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5249 (display-buffer-normalize-specifiers, display-buffer-frame):
5250 New functions.
9481c002
MR
5251 (display-buffer): Major rewrite.
5252 (display-buffer-other-window, display-buffer-other-frame)
5253 (pop-to-buffer, switch-to-buffer-other-window)
5254 (switch-to-buffer-other-frame): Rewrite.
5255 (display-buffer-same-window, display-buffer-same-frame)
5256 (display-buffer-same-frame-other-window)
5257 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5258 (pop-to-buffer-other-window)
5259 (pop-to-buffer-same-frame-other-window)
5260 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5261 (switch-to-buffer-other-window-same-frame): New functions.
5262 (same-window-p, special-display-p): Rewrite disabling warnings.
5263 Make obsolete.
5264 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5265 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5266 Make obsolete
5267 (same-window-buffer-names, same-window-regexps)
5268 (special-display-frame-alist, special-display-popup-frame)
5269 (special-display-function, special-display-buffer-names)
5270 (special-display-regexps, pop-up-frame-alist)
5271 (pop-up-frame-function, split-window-preferred-function)
5272 (split-height-threshold, split-width-threshold)
5273 (even-window-heights): Make obsolete.
5274
9db51aca
GM
52752011-06-12 Glenn Morris <rgm@gnu.org>
5276
5277 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5278 Misc simplifications.
9db51aca 5279
39cffb44
MR
52802011-06-12 Martin Rudalics <rudalics@gmx.at>
5281
5282 * window.el (window-safely-shrinkable-p): Restore function which
5283 was inadvertently removed in change from 2011-06-11. Declare as
5284 obsolete.
5285
2b75be67
SM
5286 * calendar/calendar.el (calendar-generate-window):
5287 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5288 window-safely-shrinkable-p.
5289
a8955be7
GM
52902011-06-12 Glenn Morris <rgm@gnu.org>
5291
5292 * progmodes/fortran.el (fortran-mode-syntax-table):
5293 * progmodes/f90.el (f90-mode-syntax-table):
5294 Set % to punctuation. (Bug#8820)
5295 (f90-find-tag-default): Remove, no longer needed.
5296
f0d4059d
DC
52972011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5298
5299 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5300
1100a63c
CY
53012011-06-11 Chong Yidong <cyd@stupidchicken.com>
5302
5303 * image.el (image-animated-p): Return animation delay in seconds.
5304 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5305 (image-animate-timeout): Remove DELAY argument. Don't assume
5306 every subimage has the same delay; get it from image-animated-p.
5307 (image-animate): Caller changed.
5308
def722bf
MA
53092011-06-11 Michael Albinus <michael.albinus@gmx.de>
5310
5311 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5312 to ignored backtrace functions.
5313
0a2bb1a9
GM
53142011-06-11 Glenn Morris <rgm@gnu.org>
5315
5316 * calendar/appt.el (appt-disp-window-function): Doc fix.
5317 (appt-check): Handle overlapping appointments. (Bug#8337)
5318
6198ccd0
MR
53192011-06-11 Martin Rudalics <rudalics@gmx.at>
5320
5321 * window.el (window-tree-1, window-tree): New functions, moving
5322 the latter to window.el.
5323 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5324 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5325 (bw-refresh-edges): Remove.
5326 (balance-windows-1, balance-windows-2): New functions.
5327 (balance-windows): Rewrite in terms of window tree functions,
5328 balance-windows-1 and balance-windows-2.
5329 (bw-adjust-window): Remove.
5330 (balance-windows-area-adjust): New function with functionality of
5331 bw-adjust-window but using resize-window.
2b75be67
SM
5332 (set-window-text-height): Rewrite doc-string.
5333 Use normalize-live-window and resize-window.
5334 (enlarge-window-horizontally, shrink-window-horizontally):
5335 Rename argument to DELTA.
6198ccd0
MR
5336 (window-buffer-height): New function.
5337 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5338 Rewrite using new window resize routines.
2b75be67
SM
5339 (kill-buffer-and-window, mouse-autoselect-window-select):
5340 Use ignore-errors instead of condition-case.
6198ccd0
MR
5341 (quit-window): Call delete-frame instead of delete-windows-on
5342 for the only buffer on frame.
5343
9397e56f
MR
53442011-06-10 Martin Rudalics <rudalics@gmx.at>
5345
5346 * loadup.el (top-level): Load window before files for the sake
5347 of replace-buffer-in-windows.
5348
5349 * files.el (read-buffer-to-switch)
5350 (switch-to-buffer-other-window)
2b75be67
SM
5351 (switch-to-buffer-other-frame, display-buffer-other-frame):
5352 Move to window.el.
9397e56f
MR
5353
5354 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5355 (previous-buffer): Move to window.el.
5356
5357 * bindings.el (unbury-buffer): Move to window.el.
5358
5359 * window.el (delete-other-windows-vertically): Move after
5360 definition of delete-other-windows.
5361 (other-window, delete-windows-on, replace-buffer-in-windows):
5362 Move here from window.c.
5363 (record-window-buffer, unrecord-window-buffer)
5364 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5365 (switch-to-next-buffer): New functions.
5366 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5367 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5368 (previous-buffer): Move here from simple.el.
5369 Call switch-to-prev-buffer.
9397e56f
MR
5370 (bury-buffer): Move here from buffer.c. Switch to previous
5371 buffer when window cannot be deleted.
5372 (unbury-buffer): Move here from bindings.el.
5373 (ctl-x-map): Move binding for other-window from window.c to
5374 here.
5375 (read-buffer-to-switch, switch-to-buffer-other-window)
5376 (switch-to-buffer-other-frame): Move here from files.el.
5377 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5378 (switch-to-buffer): Move here from buffer.c.
5379 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5380
562dd5e9
MR
53812011-06-10 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (window-min-height, window-min-width): Move here
5384 from window.c. Add defcustoms and rewrite doc-strings.
5385 (resize-mini-window, resize-window): New functions.
5386 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5387 Move here from window.c.
5388 (maximize-window, minimize-window): New functions.
5389 (delete-window, delete-other-windows, split-window): Move here
5390 from window.c.
5391 (window-split-min-size): New function.
5392 (split-window-keep-point): Mention split-window-above-each-other
5393 instead of split-window-vertically.
2b75be67
SM
5394 (split-window-above-each-other, split-window-vertically):
5395 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5396 provide defalias for old definition.
5397 (split-window-side-by-side, split-window-horizontally): Rename
5398 split-window-horizontally to split-window-side-by-side and provide
5399 defalias for the old definition.
5400 (ctl-x-map): Move bindings for delete-window,
5401 delete-other-windows and enlarge-window here from window.c.
5402 Replace bindings for split-window-vertically and
5403 split-window-horizontally by bindings for
5404 split-window-above-each-other and split-window-side-by-side.
5405
5406 * cus-start.el (all): Remove entries for window-min-height and
5407 window-min-width. Add entries for window-splits and
5408 window-nest.
5409
f0da764a
GM
54102011-06-09 Glenn Morris <rgm@gnu.org>
5411
80675c21
GM
5412 * calendar/appt.el (appt-mode-line): New function.
5413 (appt-check, appt-disp-window): Use it.
5414
f0da764a
GM
5415 * files.el (hack-one-local-variable-eval-safep):
5416 Allow minor-modes with explicit +/-1 arguments.
5417
59f623b7
TZ
54182011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5419
5420 * term/xterm.el (xterm): Add defgroup.
5421 (xterm-extra-capabilities): Add defcustom to supply known xterm
5422 capabilities, skip querying them, or query them (default).
5423 (terminal-init-xterm): Use it.
5424 (terminal-init-xterm-modify-other-keys): New function to set up
5425 modifyOtherKeys support to simplify `terminal-init-xterm'.
5426
9aab8e0d
MR
54272011-06-09 Martin Rudalics <rudalics@gmx.at>
5428
5429 * window.el (resize-window-reset, resize-window-reset-1)
5430 (resize-subwindows-skip-p, resize-subwindows-normal)
5431 (resize-subwindows, resize-other-windows, resize-this-window)
5432 (resize-root-window, resize-root-window-vertically)
5433 (window-deletable-p, window-or-subwindow-p)
5434 (frame-root-window-p): New functions.
5435
e8b08aee
GM
54362011-06-09 Glenn Morris <rgm@gnu.org>
5437
5438 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5439 (ange-ftp-get-files): Use it.
5440
254c37a5
AK
54412011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5442
5443 * mail/sendmail.el (mail-recover-1, mail-recover):
5444 * files.el (recover-file, recover-session):
5445 Handle dired-listing-switches not being just a single short option.
5446
35d7dbd3
GM
54472011-06-09 Glenn Morris <rgm@gnu.org>
5448
5449 * calendar/appt.el (appt-display-message, appt-disp-window):
5450 Handle lists of appointments.
5451
387522b2
MR
54522011-06-08 Martin Rudalics <rudalics@gmx.at>
5453
2b75be67
SM
5454 * window.el (one-window-p): Move down in code.
5455 Rewrite doc-string.
5456 (window-current-scroll-bars): Rewrite doc-string.
5457 Normalize live window argument.
387522b2
MR
5458 (walk-windows, get-window-with-predicate, count-windows):
5459 Rewrite doc-string. Use window-list-1.
5460 (window-in-direction-2, window-in-direction, get-mru-window):
5461 New functions.
5462
d8e4b68b 54632011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5464
5465 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5466 Doc fix (Bug#8713).
5467
54682011-06-08 Chong Yidong <cyd@stupidchicken.com>
5469
5470 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5471
54722011-06-08 Juanma Barranquero <lekktu@gmail.com>
5473
5474 * loadhist.el (unload-feature-special-hooks):
5475 Add `comint-output-filter-functions'.
5476
0de12c52
IK
54772011-06-08 Ivan Kanis <gnu@kanis.fr>
5478
5479 * calendar/appt.el (appt-check): Move some initializations into the let.
5480
f3d1777e
MR
54812011-06-08 Martin Rudalics <rudalics@gmx.at>
5482
5483 * window.el (window-height): Defalias to window-total-height.
5484 (window-width): Defalias to window-body-width.
5485
18af70d0
CY
54862011-06-07 Chong Yidong <cyd@stupidchicken.com>
5487
5488 * image-mode.el (image-toggle-animation): New command.
5489 (image-mode-map): Bind it to RET.
5490 (image-mode): Update message.
5491 (image-toggle-display-image): Avoid a spurious cache flush.
5492 (image-transform-rotation): Doc fix.
5493 (image-transform-properties): Return quickly in the normal case.
5494 (image-animate-loop): Rename from image-animate-max-time.
5495
2b75be67 5496 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5497 (create-animated-image): Remove unnecessary function.
5498 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5499 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5500 (image-animate-timer): Use car-safe.
5501 (image-animate-timeout): Rename argument.
5502
190b47e6
MR
55032011-06-07 Martin Rudalics <rudalics@gmx.at>
5504
5505 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5506 window.c. Rename first argument to ALL-FRAMES.
5507 Rephrase doc-strings.
5508 (get-buffer-window-list): Rewrite using window-list-1.
5509 Rephrase doc-string.
a1511caf
MR
5510 (window-safe-min-height, window-safe-min-width): New constants.
5511 (window-size-ignore, window-min-size, window-min-size-1)
5512 (window-sizable, window-sizable-p, window-size-fixed-1)
5513 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5514 (window-max-delta-1, window-max-delta, window-resizable)
5515 (window-resizable-p, window-total-height, window-total-width)
5516 (window-body-width): New functions.
5517 (window-full-height-p, window-full-width-p): Rewrite using
5518 window-total-size.
5519 (window-body-height): Rewrite using window-body-size.
190b47e6 5520
85cc1f11
MR
55212011-06-06 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (window-right, window-left, window-child)
5524 (window-child-count, window-last-child, window-any-p)
5525 (normalize-live-buffer, normalize-live-frame)
5526 (normalize-any-window, normalize-live-window)
5527 (window-iso-combination-p, window-iso-combined-p)
5528 (window-iso-combinations)
5529 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5530 (windows-with-parameter, window-with-parameter)
5531 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5532 (window-atom-check, window-side-check, window-check):
5533 New functions.
85cc1f11
MR
5534 (ignore-window-parameters, window-sides, window-sides-vertical)
5535 (window-sides-slots): New variables.
5536 (window-size-fixed): Move down in code. Minor doc-string fix.
5537
e7156492
AS
55382011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5539
5540 * comint.el (comint-dynamic-complete-as-filename)
5541 (comint-dynamic-complete-filename): Correctly call
5542 completion-in-region.
5543
7e821d0d
DD
55442011-06-05 Deniz Dogan <deniz@dogan.se>
5545
5546 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5547 in last change.
5548
ac09b8a1
DD
55492011-06-05 Deniz Dogan <deniz@dogan.se>
5550
5551 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5552 (rcirc): Use it to prompt for encryption.
5553
34699b85
RW
55542011-06-05 Roland Winkler <winkler@gnu.org>
5555
5556 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5557 (bibtex-search-entries): New command bound to C-c C-a.
5558 (bibtex-display-entries): New function.
5559
004dedd3
RW
55602011-06-05 Roland Winkler <winkler@gnu.org>
5561
5562 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5563 (bibtex-insert-kill): After yanking insert newline if necessary.
5564 (bibtex-initialize): Call bibtex-string-files-init only once.
5565 (bibtex-mode): Do not call easy-menu-add.
5566 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5567 (bibtex-yank): Set arg properly if nil.
5568
022fe7ce
RW
55692011-06-05 Roland Winkler <winkler@gnu.org>
5570
2b75be67
SM
5571 * textmodes/bibtex.el (bibtex-search-entry-globally):
5572 New variable.
022fe7ce
RW
5573 (bibtex-search-entry): Use it.
5574
b7c3692a
RW
55752011-06-05 Roland Winkler <winkler@gnu.org>
5576
5577 * textmodes/bibtex.el (bibtex-entry-format): New option
5578 sort-fields.
5579 (bibtex-format-entry, bibtex-reformat): Honor this option.
5580 (bibtex-parse-entry): Return fields in proper order.
5581
8eda563d
JB
55822011-06-05 Juanma Barranquero <lekktu@gmail.com>
5583
5584 * doc-view.el (doc-view-remove-if): Move computation of result out
5585 of `dolist' to silence misleading lexical-binding warning.
5586
7dbe3dbc
CY
55872011-06-04 Chong Yidong <cyd@stupidchicken.com>
5588
5589 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5590 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5591
0c33dd17
MA
55922011-06-04 Michael Albinus <michael.albinus@gmx.de>
5593
5594 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5595 "SunOS 5.10".
5596
f8f91c2b
MA
55972011-06-04 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5600 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5601 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5602 (tramp-parse-putty):
5603 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5604 (tramp-completion-function-alist-ssh)
5605 (tramp-completion-function-alist-telnet)
5606 (tramp-completion-function-alist-su)
5607 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5608 cookie.
5609
5610 * net/tramp-ftp.el:
5611 * net/tramp-sh.el:
5612 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5613 load "tramp.el" `tramp-set-completion-function'.
5614
e17d9003
SM
56152011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * shell.el: Require and use pcomplete.
5618 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5619 (shell-completion-vars): Set pcomplete-default-completion-function.
5620
6c4cab03
DD
56212011-06-04 Deniz Dogan <deniz@dogan.se>
5622
5623 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5624 `memq' (Bug#8799).
5625
ea9fafe0
SM
56262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5629
b3e945d3
JB
56302011-06-02 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5633 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5634 * vc/log-view.el (log-view-beginning-of-defun):
5635 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5636 (smerge-refine-forward, smerge-refine-chopup-region):
5637 Silence warning for unused `dotimes' counter variables.
5638
7d520089
SM
56392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * net/tramp.el (tramp-with-progress-reporter): Rename from
5642 with-progress-reporter. Use `declare'.
5643 * net/tramp-smb.el:
5644 * net/tramp-sh.el:
5645 * net/tramp-gvfs.el: Update all uses.
5646
a1c2400f
JB
56472011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5648
5649 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5650 buffer isn't killed before making it current.
5651
2403c841
SM
56522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 Silence various byte-compiler warnings.
5655 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5656 `access-type' and new obsolescence format.
5657 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5658 new format.
5659 (byte-compile-check-variable): New `access-type' argument.
5660 Only warn if the access-type is obsolete.
5661 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5662 (byte-compile-variable-set): Adjust callers.
5663 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5664 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5665 setting it as obsolete.
5666 * simple.el (minibuffer-completing-symbol):
5667 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5668 access as obsolete.
5669 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5670 obsolete yet.
5671 * international/quail.el (quail-mouse-choose-completion): Remove unused
5672 code referring to obsolete var.
5673 (quail-choose-completion-string): Remove.
5674 * server.el (server-clients-with, server-kill-buffer-query-function)
5675 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5676 * proced.el (proced-send-signal):
5677 * emacs-lisp/lisp.el (lisp-complete-symbol):
5678 Replace completion-annotate-function with completion-extra-properties.
5679
2462470b
SM
56802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5681
fb5b2591
SM
5682 * simple.el (goto-line): Use read-number.
5683 (overriding-map-is-bound): Remove.
5684 (saved-overriding-map): Change default.
5685 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5686 Take the map as argument.
5687 (universal-argument, negative-argument, digit-argument): Use it.
5688 (restore-overriding-map): Adjust.
5689 (do-auto-fill): Use fill-forward-paragraph.
5690 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5691
fd6fa53f
SM
5692 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5693 (minibuffer-inactive-mode): New major mode.
5694 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5695 the *Messages* buffer" hack.
5696 (mouse-popup-menubar): Don't burp if the event is a normal key.
5697
2462470b
SM
5698 Miscellaneous tweaks.
5699 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5700 lexical scoping as in subr.el's dolist and dotimes.
5701 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5702 Silence compiler warning.
5703 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5704 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5705 * international/ccl.el (ccl-compile): Trivial simplification.
5706 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5707 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5708 `printflag' argument.
5709 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5710 Purecopy the whole obsolescence data.
5711
108bf785
LL
57122011-06-01 Leo Liu <sdl.web@gmail.com>
5713
5714 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5715 improve doc-string as suggested by Marco Pessotto
5716 <melmothx@gmail.com>.
5717 (rcirc-print): Fix last change.
5718
30a23501
SM
57192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * minibuffer.el (complete-with-action): Return nil for the metadata and
5722 boundaries of non-functional tables.
5723 (completion-table-dynamic): Return nil for the metadata.
5724 (completion-table-with-terminator): Add default case, using
5725 complete-with-action.
5726 (completion--metadata): New function.
5727 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5728 to try and avoid pathological performance problems.
5729 (completion--embedded-envvar-table): Return `category' metadata.
5730
bcd54f83
LMI
57312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5732
5733 * subr.el (process-alive-p): New tiny convenience function.
5734
e227544d
SM
57352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5738 content but also its previous major mode.
5739
e8296fdc
HE
57402011-05-31 Helmut Eller <eller.helmut@gmail.com>
5741
4d61f28d 5742 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5743 *Backtrace* buffer when we exit with C-M-c.
5744
620c53a6
SM
57452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * minibuffer.el: Add metadata method to completion tables.
5748 (completion-category-overrides): New defcustom.
5749 (completion-metadata, completion--field-metadata)
5750 (completion-metadata-get, completion--styles)
5751 (completion--cycle-threshold): New functions.
5752 (completion-try-completion, completion-all-completions):
5753 Add `metadata' argument to choose completion-styles.
5754 (completion--do-completion): Use metadata to choose cycling.
5755 (completion-all-sorted-completions): Use metadata for sorting.
5756 Remove :completion-cycle-penalty which is not needed any more.
5757 (completion--try-word-completion): Add `metadata' argument.
5758 (minibuffer-completion-help): Check metadata for annotation function
5759 and sorting.
5760 (completion-file-name-table): Return `category' metadata.
5761 (minibuffer-completing-file-name): Make obsolete.
5762 * simple.el (minibuffer-completing-symbol): Make obsolete.
5763 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5764 completion-try-completion.
5765
1257e755
SM
57662011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5769
3767e706
LL
57702011-05-30 Leo Liu <sdl.web@gmail.com>
5771
5772 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5773 (rcirc-print): Decode all incoming messages (bug#8744).
5774 (rcirc-decode-coding-system): Allow value nil for automatic coding
5775 system detection.
3767e706 5776
d1a5d56a
GM
57772011-06-01 Glenn Morris <rgm@gnu.org>
5778
5779 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5780
e8cbec34
CY
57812011-05-29 Chong Yidong <cyd@stupidchicken.com>
5782
5783 * image.el (image-animate-max-time): Allow nil and t values.
5784 Default to nil.
5785 (create-animated-image): Doc fix.
5786 (image-animate-start): Remove second arg; just use
5787 image-animate-max-time.
5788 (image-animate-timeout): Doc fix. Args changed.
5789
5790 * image-mode.el (image-toggle-display-image): Ensure that the
5791 image spec passed to the animate timer is the same object as in
58179cce 5792 the buffer's display property (Bug#6981).
e8cbec34
CY
5793 (image-transform-properties): Doc fix.
5794
5795 * image.el (image-animate-max-time): Default to nil.
5796
159daf87
MR
57972011-05-29 Martin Rudalics <rudalics@gmx.at>
5798
5799 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5800 entire buffer list (Bug#8184).
5801
d66c4c7c
CY
58022011-05-29 Chong Yidong <cyd@stupidchicken.com>
5803
5804 * image.el (imagemagick-types-inhibit)
5805 (imagemagick-register-types): Doc fix.
5806
80aec780
DD
58072011-05-29 Deniz Dogan <deniz@dogan.se>
5808
5809 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5810 default.
5811
1dd3c2d9
CY
58122011-05-29 Chong Yidong <cyd@stupidchicken.com>
5813
5814 * select.el: Don't perform clipboard-manager saving in hooks;
5815 leave the hooks empty.
5816
60e56523
LL
58172011-05-28 Leo Liu <sdl.web@gmail.com>
5818
5819 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5820 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5821 (occur-edit-mode): New major mode (Bug#8463).
5822 (occur-after-change-function): New function.
5823 (occur-engine): Give Occur tags a read-only property.
5824
2b1e1a22
KR
58252011-05-28 Kevin Ryde <user42@zip.com.au>
5826
5827 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5828
5d344e88
CY
58292011-05-28 Chong Yidong <cyd@stupidchicken.com>
5830
8e6ca83d
CY
5831 * bindings.el (help-echo): Make the initial non-indicator dash
5832 empty on graphical terminals (Bug#7295).
5833
5d344e88
CY
5834 * files.el (auto-mode-alist): Move config rule after the
5835 in-stripping one (Bug#8547).
5836
bfbbace7
CY
5837 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5838
fbeba6e2
CY
5839 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5840 setting (Bug#8740).
5841
60ed8c72
AA
58422011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5843
4ac619f0
AA
5844 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5845 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5846 (Bug#8539).
60ed8c72 5847
23db196e
CY
58482011-05-28 Chong Yidong <cyd@stupidchicken.com>
5849
5850 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5851
5012f24c
DK
58522011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5853
5854 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5855 (hs-hide-block-at-point, hs-find-block-beginning)
5856 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5857 (Bug#8279).
5858
6a639b16
GM
58592011-05-28 Glenn Morris <rgm@gnu.org>
5860
5861 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5862
d43eaf2c
CY
58632011-05-28 Chong Yidong <cyd@stupidchicken.com>
5864
5199bde1
CY
5865 * help-fns.el (describe-function-1): If the function is a derived
5866 major mode, print the parent mode.
5867
d43eaf2c
CY
5868 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5869 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5870
423428a8
SM
58712011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5872
0ff8e1ba 5873 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 5874 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
5875 * progmodes/etags.el (tags-completion-at-point-function):
5876 * info-look.el (info-lookup-completions-at-point): Mark as
5877 non-exclusive.
5878 (info-complete): Adjust accordingly.
5879
423428a8
SM
5880 * info-look.el: Convert to lexical-binding and completion-at-point.
5881 (info-lookup-completions-at-point): New function.
5882 (info-complete): Use it and completion-in-region.
5883
b74aa22b
DA
58842011-05-28 Drew Adams <drew.adams@oracle.com>
5885
5886 * isearch.el: Let M-e start with point at the first mismatched char.
5887 (isearch-fail-pos): New function.
5888 (isearch-edit-string): Use it.
5889
66e2e71d
DK
58902011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5891
5892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5893
eb95d01d
TC
58942009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5895
5896 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5897 traversal functions for avl-trees.
5898 (avl-tree--stack): New struct.
5899 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5900 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5901 (avl-tree--do-enter): Add optional `updatefun' arg.
5902 Change return value.
eb95d01d 5903 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5904 (avl-tree--do-delete): Add `test' and `nilflag' args.
5905 Change return value.
eb95d01d
TC
5906 (avl-tree-member): Add optional `nilflag'
5907 (avl-tree-member-p): New function.
5908 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5909 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5910 (avl-tree-stack-empty-p): New functions.
5911
3769ddcf
TC
59122009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5913
5914 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5915 avl-tree--del-balance1 and make it work both ways.
5916 (avl-tree--del-balance2): Remove.
5917 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5918 make it work both ways.
5919 (avl-tree--enter-balance2): Remove.
5920 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5921 New macros.
5922 (avl-tree--mapc, avl-tree-map): Add direction argument.
5923
eb95d01d 59242011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5925
5926 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5927
a9f737ee
CY
59282011-05-27 Chong Yidong <cyd@stupidchicken.com>
5929
5930 * select.el: Support clipboard managers with built-in function
5931 x-clipboard-manager-save, via delete-frame-functions and
5932 kill-emacs-hook.
5933 (xselect-convert-to-targets): Add MULTIPLE target to list.
5934 (xselect-convert-to-save-targets): New function.
5935
c92a1e54
KH
59362011-05-27 Kenichi Handa <handa@m17n.org>
5937
5938 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5939 let-binding rfc2047-encode-encoded-words to nil.
5940
e145f188
GM
59412011-05-27 Glenn Morris <rgm@gnu.org>
5942
5ec8a862
GM
5943 * mail/emacsbug.el: Don't require url-util.
5944
4b29d9fb
GM
5945 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5946
e145f188
GM
5947 * files.el (set-auto-mode):
5948 Also respect mode: entries at the end of the file. (Bug#8586)
5949
7d15102b
GM
59502011-05-26 Glenn Morris <rgm@gnu.org>
5951
98f593b8
GM
5952 * files.el (hack-local-variables-prop-line, hack-local-variables):
5953 Downcase mode names, as seems to be traditional.
27b48e63 5954 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5955
7d15102b
GM
5956 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5957 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5958
51d5b4ec
JD
59592011-05-25 Julien Danjou <julien@danjou.info>
5960
5961 * textmodes/rst.el (rst-define-level-faces): Do not define face
5962 symbol if it is already defined.
5963
91513f63
VB
59642011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5965
5966 * play/5x5.el (5x5-new-game, 5x5-randomize):
5967 Reset 5x5-solver-output to nil when a new grid is cast.
5968 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5969 these debugging traces, as defmacro breaks the compiled code.
5970
4d90d6d0
DK
59712011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5972
5973 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5974
e1b90ef6
LL
59752011-05-24 Leo Liu <sdl.web@gmail.com>
5976
5977 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5978 (vc-bzr-sha1): Adapt.
5979
d8e4b68b 5980 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5981
5982 * bindings.el: Provide sha1 feature.
5983
db0406bb 59842011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5985
5986 * mail/sendmail.el: Require `rfc2047'.
5987 (mail-insert-from-field): Do not perform RFC2047 encoding.
5988 (mail-encode-header): New function.
5989 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5990 buffer to the return value of select-message-coding-system.
5991 Call mail-encode-header.
b8d747b9
KH
5992
5993 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5994
db0406bb 59952011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5996
4d90d6d0
DK
5997 * mail/supercite.el (sc-default-cite-frame):
5998 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5999
eb8a5e9b
GM
60002011-05-24 Glenn Morris <rgm@gnu.org>
6001
f8630703
GM
6002 * progmodes/python.el (brm-menu): Declare.
6003
8831bbed
GM
6004 * emulation/viper.el (viper-set-hooks): Declare.
6005
eb8a5e9b
GM
6006 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6007 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6008 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6009 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6010 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6011 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6012
a2a25d24
SM
60132011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 Add an :exit-function for completion-at-point.
6016
6017 * minibuffer.el (completion--done): New fun.
6018 (completion--do-completion): Use it. New arg `expect-exact'.
6019 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6020 since completion--do-completion does it for us now.
6021 (minibuffer-force-complete): Use completion--done and
6022 completion--replace. Handle sole-completion case with more care.
6023 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6024 (completion-extra-properties): New var.
6025 (completion-annotate-function): Make obsolete.
6026 (minibuffer-completion-help): Adjust accordingly.
6027 Use completion-list-insert-choice-function.
6028 (completion-at-point, completion-help-at-point):
6029 Bind completion-extra-properties.
6030 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6031 * simple.el (completion-list-insert-choice-function): New var.
6032 (completion-setup-function): Preserve it.
6033 (choose-completion): Pay attention to it, shuffle the code a bit.
6034 (choose-completion-string): New arg `insert-function'.
6035
6036 * textmodes/bibtex.el: Convert to lexical binding.
6037 (bibtex-mode-map): Use completion-at-point.
6038 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6039 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6040 (bibtex-complete): Define as obsolete alias.
6041 (bibtex-complete-internal): Remove.
6042 (bibtex-format-entry): Remove unused sub-group in regexp.
6043 * shell.el (shell--command-completion-data)
6044 (shell-environment-variable-completion):
6045 * pcomplete.el (pcomplete-completions-at-point):
6046 * comint.el (comint--complete-file-name-data): Use :exit-function
6047 instead of completion-table-with-terminator so it also works for
6048 choose-completion.
6049
e44e373d
SM
60502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6051
4f91a816
SM
6052 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6053
782fc819
SM
6054 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6055 (bug#8710).
6056
e44e373d
SM
6057 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6058
381987c3
KM
60592011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6060
6061 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6062 customization variable and implement: If non-nil, auto-fill will
6063 be inhibited while on topic's header line.
6064
b776bc70
VB
60652011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6066
6067 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6068 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6069 always have a solution in grid size = 5 cases.
6070 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6071 (5x5-solver-output, 5x5-log-buffer): New vars.
6072 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6073 Make these variables buffer local to achieve 5x5 multi-session-ness.
6074 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6075 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6076 (5x5-solve-suggest): New funs.
6077 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6078 randomize a grid so that we ensure that there is always a solution.
6079 (5x5-make-random-grid): Allow other movement than flipping.
6080
7de88b6e
KR
60812011-05-23 Kevin Ryde <user42@zip.com.au>
6082
6083 * emacs-lisp/advice.el (ad-read-advised-function):
6084 Use `function-called-at-point' as the default default, if it has
6085 advice and passes PREDICATE.
6086
b1ef1257
SM
60872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6088
bbca48fe
SM
6089 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6090 byte-compile-lambda if it's actually a lambda.
6091
b1ef1257
SM
6092 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6093 Fix function quoting. Use backquote better.
6094
92a9cc65
YS
60952011-05-22 Yuanle Song <sylecn@gmail.com>
6096
6097 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6098 matching (Bug#8516).
6099
f0fb8059
JA
61002011-01-22 Jari Aalto <jari.aalto@cante.net>
6101
6102 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6103 different face (Bug#8178).
6104
d5b44c93
CY
61052011-05-22 Chong Yidong <cyd@stupidchicken.com>
6106
6107 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6108 defface (Bug#8144).
6109
79106a44
SM
61102011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6111
9c848d8a
SM
6112 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6113 funcall as well (bug#8712). Warn when performing those conversions.
6114 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6115
79106a44
SM
6116 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6117
88dfa756
GM
61182011-05-22 Glenn Morris <rgm@gnu.org>
6119
6120 * files.el (hack-local-variables-prop-line): Small simplifications.
6121 (hack-local-variables, hack-local-variables-prop-line):
6122 If MODE-ONLY, return the mode, rather than just `t'.
6123
b7cf2c79
SM
61242011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6127
3f1a8558
GM
61282011-05-21 Glenn Morris <rgm@gnu.org>
6129
7e4ccca3
GM
6130 * files.el (hack-local-variables-prop-line, hack-local-variables):
6131 If only interested in the mode, don't bother doing the other stuff.
6132
637d46ca
GM
6133 * image-mode.el (image-after-revert-hook):
6134 Redraw all frames on which the image is visible. (Bug#8567)
6135
973d955b
GM
6136 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6137
3f1a8558
GM
6138 * wid-edit.el (widget-checklist-match-inline):
6139 Fix 2011-04-19 change. (Bug#8649)
6140
96479927
SM
61412011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6142
1dcf791f
SM
6143 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6144 Also allow singlespace after single-letter capitals followed by a dot.
6145
96479927
SM
6146 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6147 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6148
35fd0881
N
61492011-05-20 Nix <nix@esperi.org.uk>
6150
6151 * files.el (basic-save-buffer-2):
6152 Fix handling of break-hardlink-on-save with non-existent files.
6153
82745640
DD
61542011-05-19 Deniz Dogan <deniz@dogan.se>
6155
6156 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6157 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6158
4a720484
GM
61592011-05-19 Glenn Morris <rgm@gnu.org>
6160
d1f21341
GM
6161 * progmodes/f90.el (f90-type-def-re):
6162 Handle "type, bind(c)". (Bug#8691)
6163
4a720484
GM
6164 * emacs-lisp/autoload.el (batch-update-autoloads):
6165 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6166
2fb0a219
MA
61672011-05-18 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6170 property for the correct connection in case of multihops.
6171
e565dd37
GM
61722011-05-18 Glenn Morris <rgm@gnu.org>
6173
c2571358 6174 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6175 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6176
e565dd37
GM
6177 Rationalize calendar handling of day and month abbrev-arrays.
6178 * calendar/calendar.el (calendar-customized-p): New function.
6179 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6180 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6181 Add :set function.
6182 (calendar-abbrev-length, calendar-day-abbrev-array)
6183 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6184 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6185 Elements may no longer be nil.
6186 (calendar-day-name, calendar-month-name):
6187 Update for changed nature of abbrev arrays.
6188 * calendar/diary-lib.el (diary-name-pattern):
6189 Update for changed nature of abbrev arrays.
6190 (diary-mark-entries-1): Update calendar-make-alist calls.
6191 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6192 * calendar/cal-html.el (cal-html-day-abbrev-array):
6193 Simply inherit from calendar-day-abbrev-array.
6194
1d99a745
SM
61952011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * progmodes/grep.el (grep-mode): Disable default
6198 compilation-directory-matcher setting (bug#8684).
6199
7c1d9aa0
MA
62002011-05-17 Michael Albinus <michael.albinus@gmx.de>
6201
6202 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6203 instead of "head" and "tail". There were problems with SunOS 5.9,
6204 and it performs better.
6205
3952e9d8
GM
62062011-05-17 Glenn Morris <rgm@gnu.org>
6207
2dd12e7f
GM
6208 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6209
e4157b9c
GM
6210 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6211 Replace obsolete function.
6212
8e249bbd
GM
6213 * shell.el (pcomplete-parse-arguments-function): Declare.
6214
3952e9d8
GM
6215 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6216 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6217 (appt-check): Doc fixes.
6218 (appt-disp-window-function, appt-delete-window-function):
6219 Remove needless special case in custom :type.
6220 (appt-display-count): Default to 0, not nil.
6221 (appt-check): Reset appt-display-count to 0, not nil.
6222
c71a0d48 62232011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6224
c71a0d48
GM
6225 * progmodes/python.el (python-font-lock-keywords):
6226 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6227
31d55be9
SM
62282011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6231
3bfacb2f
KR
62322011-05-16 Kevin Ryde <user42@zip.com.au>
6233
6234 * info-look.el (makefile-automake-mode): New setups, looking in
6235 automake manual, then makefile-mode.
6236 (makefile-mode): Remove automake manual, have it just in
6237 makefile-automake-mode since there's various things different or
6238 not relevant to plain make.
6239 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6240 believe a hypothetical automake-mode would go to makefile-mode,
6241 not the other way around.
6242
c8e83751
CY
62432011-05-15 Chong Yidong <cyd@stupidchicken.com>
6244
5e9e35cd
CY
6245 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6246 hunk-end tags (Bug#8672).
6247
c8e83751
CY
6248 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6249 vc-annotate-show-diff-revision-at-line (Bug#8671).
6250
50b23e5a
GM
62512011-05-14 Glenn Morris <rgm@gnu.org>
6252
7210a739
GM
6253 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6254 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6255 (change-log-font-lock-keywords): Also handle multiple author lines
6256 with leading tabs. (Bug#8644)
7210a739 6257
4691905a
GM
6258 * calendar/appt.el (appt-check): Rename some local variables.
6259 Some simplification/reordering.
6260
50b23e5a
GM
6261 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6262 (feedmail-sendmail-f-doesnt-sell-me-out)
6263 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6264 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6265 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6266 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6267 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6268 (feedmail-binmail-gnulinuxish-template):
6269 Rename from feedmail-binmail-linuxish-template.
6270 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6271 Use insert-buffer-substring.
6272
215cda7c
BC
62732011-05-14 Bill Carpenter <bill@carpenter.org>
6274
6275 * mail/feedmail.el (feedmail-patch-level): Increase.
6276 (feedmail-debug): New custom group.
6277 (feedmail-confirm-outgoing-timeout)
6278 (feedmail-sendmail-f-doesnt-sell-me-out)
6279 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6280 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6281 (feedmail-sender-line, feedmail-from-line)
6282 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6283 (feedmail-spray-this-address)
215cda7c
BC
6284 (feedmail-spray-address-fiddle-plex-list)
6285 (feedmail-queue-use-send-time-for-date)
6286 (feedmail-queue-use-send-time-for-message-id)
6287 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6288 (feedmail-buffer-eating-function):
6289 Doc fixes.
6290 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6291 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6292 (feedmail-message-action-scroll-down): New functions.
6293 (feedmail-queue-directory, feedmail-queue-draft-directory):
6294 Use expand-file-name.
6295 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6296 Remove C-v help entry.
6297 (feedmail-queue-buffer-file-name): New variable.
6298 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6299 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6300 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6301 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6302 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6303 (feedmail-message-action-toggle-spray)
6304 (feedmail-run-the-queue-no-prompts)
6305 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6306 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6307 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6308 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6309 (feedmail-envelope-deducer, feedmail-fiddle-from)
6310 (feedmail-fiddle-sender, feedmail-default-date-generator)
6311 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6312 (feedmail-fiddle-spray-address)
6313 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6314 (feedmail-fiddle-list-of-fiddle-plexes)
6315 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6316 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6317 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6318 Change default. Doc fix.
6319 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6320 (feedmail-binmail-linuxish-template): New constant.
6321 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6322 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6323 (feedmail-send-it): Add debug call.
6324 Use feedmail-queue-buffer-file-name, and
6325 feedmail-send-it-immediately-wrapper.
6326 (feedmail-message-action-send): Add debug call.
6327 Use feedmail-send-it-immediately-wrapper.
6328 (feedmail-queue-express-to-queue): Add debug call.
6329 Run feedmail-queue-express-hook.
6330 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6331 (feedmail-message-action-help-blat):
6332 Rename from feedmail-queue-send-edit-prompt-help-first.
6333 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6334 Check line-endings. Handle errors better.
6335 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6336 Doc fix. Add debug call.
6337 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6338 Use feedmail-queue-send-edit-prompt-inner.
6339 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6340 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6341 from feedmail-queue-send-edit-prompt.
6342 (feedmail-queue-send-edit-prompt-help)
6343 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6344 (feedmail-tidy-up-slug): Add debug call.
6345 Respect feedmail-queue-slug-suspect-regexp.
6346 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6347 (feedmail-dump-message-to-queue): Add debug call.
6348 Expand queue-directory.
6349 (feedmail-dump-message-to-queue): Change message slightly.
6350 Use feedmail-say-chatter.
6351 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6352 (feedmail-send-it-immediately-wrapper): New function.
6353 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6354 Insert empty string rather than newline. Handle full-frame case.
6355 Use catch/throw. Use feedmail-say-chatter.
6356 (feedmail-fiddle-from): Try mail-host-address.
6357 (feedmail-default-message-id-generator): Doc fix.
6358 Bind system-time-locale. Handle missing end.
6359 (feedmail-fiddle-x-mailer): Add debug call.
6360 Handle feedmail-x-mailer-line being nil.
6361 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6362 Add debug call. Use buffer-substring-no-properties.
6363 (feedmail-say-debug, feedmail-say-chatter): New functions.
6364 (feedmail-find-eoh): Give an explicit error.
6365
42c7e61e
UJ
63662011-05-13 Ulf Jasper <ulf.jasper@web.de>
6367
c2571358 6368 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6369 family from helvetica to sans.
c2571358 6370 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6371 etc/images/newsticker.
6372
c2571358 6373 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6374 family from helvetica to sans.
6375
6376 * net/newst-plainview.el (newsticker-new-item-face)
6377 (newsticker-old-item-face, newsticker-immortal-item-face)
6378 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6379 (newsticker-statistics-face): Change default family from
42c7e61e 6380 helvetica to sans.
c2571358 6381 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6382 etc/images/newsticker.
6383
6384 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6385 (newsticker--process-auto-mark-filter-match): : Tell user about
6386 auto-marking.
6387
8497a297
DV
63882011-05-13 Didier Verna <didier@xemacs.org>
6389
6390 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6391 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6392 TODO entries.
8497a297
DV
6393 (lisp-lambda-list-keyword-parameter-indentation)
6394 (lisp-lambda-list-keyword-parameter-alignment)
6395 (lisp-lambda-list-keyword-alignment): New customizable user options.
6396 (lisp-indent-defun-method): Improve docstring.
6397 (extended-loop-p): Fix comment.
6398 (lisp-indent-lambda-list-keywords-regexp): New variable.
6399 (lisp-indent-lambda-list): New function.
6400 (lisp-indent-259): Use it.
6401 (lisp-indent-defmethod): Support for more than one
6402 method qualifier and properly indent methods lambda-lists.
6403 (defgeneric): Provide a missing common-lisp-indent-function property.
6404
f278f87f
SM
64052011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6408 bounds for the empty string (bug#8667).
6409
5233edd7
GM
64102011-05-13 Glenn Morris <rgm@gnu.org>
6411
5237a44f
GM
6412 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6413
8340026c 6414 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6415 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6416
5233edd7 6417 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6418 (appt-time-msg-list): Doc fix.
a5464014 6419 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6420
92d10796
AS
64212011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6422
6423 * progmodes/ld-script.el (ld-script-keywords)
6424 (ld-script-builtins): Update keywords list.
6425
914a0ae1
SM
64262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6427
c89be45f
SM
6428 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6429
914a0ae1
SM
6430 * shell.el (shell-completion-vars): New function.
6431 (shell-mode):
6432 * simple.el (read-shell-command): Use it.
6433 (blink-matching-open): No need for " [...]" in minibuffer-message.
6434
98dc3df3
GM
64352011-05-12 Glenn Morris <rgm@gnu.org>
6436
6437 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6438 (appt-check): Simplify.
6439
d2fc7e3d 64402011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6441
4d61f28d 6442 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6443 literal "/dev/null".
6444
d2fc7e3d 64452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6446
6447 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6448 Fix typo.
6449
d2fc7e3d 64502011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6451
3f254caa
SM
6452 * progmodes/which-func.el (which-function):
6453 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6454 which might not be defined (Bug#8260).
6455
d45885f7
GM
64562011-05-12 Glenn Morris <rgm@gnu.org>
6457
6458 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6459 Let byte-compile-initial-macro-environment always take precedence.
6460
488086f4
SM
64612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6462
6463 * net/rcirc.el: Add support for SSL/TLS connections.
6464 (rcirc-server-alist): New field `encryption'.
6465 (rcirc): Check `encryption' settings.
6466 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6467 Merge make-local-variable into `set'.
6468 (rcirc--connection-open-p): New function.
6469 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6470 the process is not a network process (e.g. running gnutls-cli).
6471 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6472 Make rcirc-(en|de)code-coding-system local here.
6473 (rcirc-mode): Merge make-local-variable into `set'.
6474 (rcirc-parent-buffer): Make permanent buffer-local.
6475 (rcirc-multiline-minor-mode): Don't do it here.
6476 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6477 there's no server buffer.
6478
7d3b9d44
GM
64792011-05-11 Glenn Morris <rgm@gnu.org>
6480
f64049c6
GM
6481 * newcomment.el (comment-kill): Prefix "unused" local.
6482
93c9df73
GM
6483 * term/w32console.el (get-screen-color): Declare.
6484
7d3b9d44
GM
6485 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6486 Handle symbol elements of byte-compile-initial-macro-environment.
6487
9e2dd53f
LL
64882011-05-10 Leo Liu <sdl.web@gmail.com>
6489
488086f4
SM
6490 * bookmark.el (bookmark-bmenu-mode-map):
6491 Bind bookmark-bmenu-search to `/'.
8b340240 6492
9e2dd53f 6493 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6494 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6495 (Footnote-unicode): New function.
6496 (footnote-style-alist): Add unicode style to the list.
6497 (footnote-style): Doc fix.
9e2dd53f 6498
79b70037
GM
64992011-05-10 Jim Meyering <meyering@redhat.com>
6500
6501 Fix doubled-word typos.
6502 * international/quail.el (quail-insert-kbd-layout): and and -> and
6503 * kermit.el: and and -> and
6504 * net/ldap.el (ldap-search-internal): to to -> to
6505 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6506 * progmodes/js.el (js-mode): and and -> and
6507 * textmodes/artist.el (artist-move-to-xy): at at -> at
6508 (artist-draw-region-trim-line-endings): if if -> if
6509 And Safetyc -> Safety.
6510 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6511
b8f82dc1 65122011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6513 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6514
6515 * files.el (hack-one-local-variable-eval-safep):
6516 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6517
4f99f44b
GM
65182011-05-10 Glenn Morris <rgm@gnu.org>
6519
6520 * calendar/diary-lib.el (diary-list-entries-hook)
6521 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6522 (diary-nongregorian-marking-hook, diary-list-entries)
6523 (diary-include-other-diary-files, diary-mark-entries)
6524 (diary-mark-included-diary-files): Doc fixes.
6525
84f29e6b
JB
65262011-05-09 Juanma Barranquero <lekktu@gmail.com>
6527
6528 * misc.el: Require tabulated-list.el during compilation.
6529
9bedd73a
CY
65302011-05-09 Chong Yidong <cyd@stupidchicken.com>
6531
488086f4
SM
6532 * progmodes/compile.el (compilation-start):
6533 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6534 (compilation-filter-hook): Doc fix.
6535
797c735c
DD
65362011-05-09 Deniz Dogan <deniz@dogan.se>
6537
6538 * wdired.el: Remove outdated installation comment. Fix usage
6539 comment.
6540
5f4b1dfe
JB
65412011-05-09 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * misc.el: Implement new command `list-dynamic-libraries'.
6544 (list-dynamic-libraries--loaded-only-p): New variable.
6545 (list-dynamic-libraries--refresh): New function.
6546 (list-dynamic-libraries): New command.
6547
4c44026c
CY
65482011-05-09 Chong Yidong <cyd@stupidchicken.com>
6549
488086f4
SM
6550 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6551 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6552 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6553 higher priority to avoid clobbering by gnu.
6554
027f966d
CY
65552011-05-08 Chong Yidong <cyd@stupidchicken.com>
6556
6557 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6558 if the face has existing theme settings (Bug#8454).
6559
085f5d7d
CY
65602011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6561
488086f4
SM
6562 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6563 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6564
2a86a00c
RS
6565 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6566 special file names `.' and `..' (Bug#8259).
6567
d9c54a06
CY
65682011-05-08 Chong Yidong <cyd@stupidchicken.com>
6569
488086f4
SM
6570 * progmodes/grep.el (grep-mode-font-lock-keywords):
6571 Remove buffer-changing entries.
d9c54a06
CY
6572 (grep-filter): New function.
6573 (grep-mode): Add it to compilation-filter-hook.
6574
6575 * progmodes/compile.el (compilation-filter-hook)
6576 (compilation-filter-start): New defvars.
6577 (compilation-filter): Call compilation-filter-hook prior to
6578 updating the process mark.
6579
c4662635
SM
65802011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6583
b0512a1d
EZ
65842011-05-07 Eli Zaretskii <eliz@gnu.org>
6585
605c9376
EZ
6586 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6587 mailclient-send-it even if window-system is nil. (Bug#8595)
6588
c4662635
SM
6589 * term/w32console.el (terminal-init-w32console):
6590 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6591 background-mode. (Bug#8597)
6592
d1dc2cc2
SM
65932011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6596 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6597 New functions.
6598 (defgeneric, eieio--defmethod): Use them.
6599 (eieio-defgeneric): Remove.
6600 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6601
915d1300
GM
66022011-05-07 Glenn Morris <rgm@gnu.org>
6603
a3961c3e
GM
6604 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6605 Use let rather than let*.
6606 (timeclock-find-discrep): Remove unused local.
6607
314347b9
GM
6608 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6609
915d1300
GM
6610 * calendar/appt.el (appt-time-msg-list): Doc fix.
6611
275b59b0
NF
66122011-05-06 Noah Friedman <friedman@splode.com>
6613
6614 * apropos.el (apropos-print-doc): Only use
6615 emacs-lisp-docstring-fill-column when it is bound to an integer,
6616 per that variable's documentation.
6617
6c19f744
SM
66182011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6621 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6622
60f884b2
GM
66232011-05-06 Glenn Morris <rgm@gnu.org>
6624
5006e634
GM
6625 * calendar/appt.el (appt-message-warning-time): Doc fix.
6626 (appt-warning-time-regexp): New option.
6627 (appt-make-list): Respect appt-message-warning-time.
6628
548d0a63
GM
6629 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6630 New options.
6631 (diary-add-to-list): Strip comments from the displayed string.
6632 (diary-mode): Set comment-start and comment-end.
6633
60f884b2
GM
6634 * vc/diff-mode.el (smerge-refine-subst): Declare.
6635 (diff-refine-hunk): Don't require smerge-mode when compiling.
6636
989681bb
JB
66372011-05-06 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * simple.el (list-processes): Return nil as the docstring says.
6640
a6bc05e1
MA
66412011-05-05 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6644 to "".
6645 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6646 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6647 determining of binary transfer. (Bug#7383)
6648
23c22e9a
MA
66492011-05-05 Michael Albinus <michael.albinus@gmx.de>
6650
c4662635
SM
6651 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6652 Fix port computation bug. (Bug#8618)
23c22e9a 6653
0bff894f
GM
66542011-05-05 Glenn Morris <rgm@gnu.org>
6655
b8296902
GM
6656 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6657
1f522ce8
GM
6658 * simple.el (shell-dynamic-complete-functions)
6659 (comint-dynamic-complete-functions): Declare.
6660
cf5bee67
GM
6661 * net/network-stream.el (gnutls-negotiate):
6662 * simple.el (tabulated-list-print): Fix declarations.
6663
6664 * progmodes/gud.el (syntax-symbol, syntax-point):
6665 Remove unnecessary and incorrect declarations.
6666
0bff894f
GM
6667 * emacs-lisp/check-declare.el (check-declare-scan):
6668 Handle byte-compile-initial-macro-environment in bytecomp.el
6669
9869b3ae
SM
66702011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 Fix earlier half-done eieio-defmethod change (bug#8338).
6673 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6674 Streamline and change calling convention.
6675 (defmethod): Adjust accordingly and simplify.
6676 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6677 new eieio--defmethod.
6678 (slot-boundp): Minor CSE simplification.
6679
9c1d5ac5
MZ
66802011-05-05 Milan Zamazal <pdm@zamazal.org>
6681
6682 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6683 (glasses-make-readable): Use glasses-separate-capital-groups.
6684
455c834e
JB
66852011-05-05 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6688 (warning-series): Doc fix.
6689 (display-warning): Don't try to create the buffer if we just found it.
6690
9ed7c8cb
CY
66912011-05-04 Chong Yidong <cyd@stupidchicken.com>
6692
6693 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6694 (autoload-find-generated-file): New function.
6695 (generate-file-autoloads): Bind generated-autoload-file to
6696 buffer-file-name.
9869b3ae
SM
6697 (update-file-autoloads, update-directory-autoloads):
6698 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6699 output file (Bug#7989).
6700 (batch-update-autoloads): Doc fix.
6701
0898ca10
JB
67022011-05-04 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6705
31dfb76c
GM
67062011-05-04 Glenn Morris <rgm@gnu.org>
6707
f330b642
GM
6708 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6709 function, so it follows changes in calendar-date-style.
6710 (diary-fancy-date-matcher): New function.
6711 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6712 (diary-fancy-font-lock-fontify-region-function):
6713 Use diary-fancy-date-pattern as a function.
6714
31dfb76c
GM
6715 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6716 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6717
48e79d6a
TZ
67182011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6719
6720 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6721 instead of positional arguments. Allow :keylist and :crlfiles
6722 arguments.
6723 (open-gnutls-stream): Call it.
6724
6725 * net/network-stream.el (network-stream-open-starttls): Adjust to
6726 call `gnutls-negotiate' with :process and :hostname arguments.
6727
dd5a5ee0
SM
67282011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6729
ef80fc09
SM
6730 * minibuffer.el (completion--message): New function.
6731 (completion--do-completion, minibuffer-complete)
6732 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6733 (completion--do-completion): Don't ignore completion-auto-help when in
6734 icomplete-mode.
6735
dd5a5ee0
SM
6736 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6737 internal encoding (e.g. tibetan zero is not whitespace).
6738 (global-whitespace-mode): Prefer save-current-buffer.
6739 (whitespace-trailing-regexp): Remove useless save-match-data.
6740 (whitespace-empty-at-bob-regexp): Minor simplification.
6741
b7d22a83
CY
67422011-05-03 Chong Yidong <cyd@stupidchicken.com>
6743
6744 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6745
5192af46
AM
67462011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6747
6748 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6749 Use `concat' to create string for insertion.
5192af46 6750
5767d190
SM
67512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6754 Avoid open-line which runs post-self-insert-hook.
6755 (bibtex-fill-entry): Remove unused `end' var.
6756
bf242939
AM
67572011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6758
5767d190
SM
6759 * textmodes/ispell.el (ispell-add-per-file-word-list):
6760 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6761
25666126
LL
67622011-05-03 Leo Liu <sdl.web@gmail.com>
6763
6764 * isearch.el (isearch-yank-pop): New command.
5767d190 6765 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6766 (isearch-forward): Mention it.
6767
52d3c2d0
SM
67682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6769
1bcace58
SM
6770 * simple.el (minibuffer-complete-shell-command): Remove.
6771 (minibuffer-local-shell-command-map): Use completion-at-point.
6772 (read-shell-command): Setup completion vars here instead.
6773 (read-expression-map): Bind TAB to symbol completion.
6774
52d3c2d0
SM
6775 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6776 error directly rather via storing it into `results'.
6777
35813471
LL
67782011-05-02 Leo Liu <sdl.web@gmail.com>
6779
6780 * vc/diff.el: Fix description.
6781
e793a940
LMI
67822011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
6784 * server.el (server-eval-at): New function.
6785
8de66e05
LMI
67862011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6787
6788 * net/network-stream.el (open-network-stream): Take a :nowait
6789 parameter and pass it on to `make-network-process'.
6790 (network-stream-open-plain): Ditto.
6791
dcb79f20
AS
67922011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6793
6794 * faces.el (face-spec-set-match-display): Don't match toolkit
6795 options on terminal frames.
6796
14a7fbd8
SM
67972011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6798
7eabc1be
SM
6799 * progmodes/pascal.el: Use lexical binding.
6800 (pascal-mode-map): Remove author preferences.
6801
14a7fbd8
SM
6802 * pcomplete.el (pcomplete-std-complete): Don't abuse
6803 completion-at-point.
6804
50f84510
JB
68052011-04-28 Juanma Barranquero <lekktu@gmail.com>
6806
6e087a44
JB
6807 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6808 removing code that has been dead since 1991 or so.
6809
50f84510
JB
6810 * startup.el (command-line): When warning about "_emacs", use a
6811 delayed warning to allow the user to filter it out.
6812
0ba690bd
DD
68132011-04-28 Deniz Dogan <deniz@dogan.se>
6814
6815 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6816 user has not joined.
6817
08abfaad
SM
68182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6821 aren't any completions at point.
6822
638f053a
JB
68232011-04-28 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * subr.el (display-delayed-warnings): New function.
6826 (delayed-warnings-hook): New variable.
6827
8fff8daa
SM
68282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6829
08abfaad
SM
6830 * minibuffer.el (completion-at-point, completion-help-at-point):
6831 Don't presume that a given completion-at-point-function will always
6832 use the same calling convention.
6833
8fff8daa
SM
6834 * pcomplete.el (pcomplete-completions-at-point):
6835 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6836 pcomplete-seen is non-nil.
6837 (pcomplete-comint-setup): Also recognize the new comint/shell
6838 completion functions.
6839 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6840 pcomplete-seen is non-nil.
6841
841a1577 68422011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6843
841a1577 6844 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6845 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6846 the first character in the entry. This allows for code to add its
211ec907
UJ
6847 own uid to the entry.
6848 (icalendar--convert-float-to-ical): Add export of
6849 `diary-float'-entries save for those with the optional DAY
6850 argument.
6851
2a782793
DC
68522011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6853
6854 * subr.el (shell-quote-argument): Use alternate escaping strategy
6855 when we spot a variable reference in a string.
6856
0438ce91
DC
68572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6858
6859 * cus-start.el (all): Define customization for debug-on-event.
6860
841a1577 68612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6862
6863 * subr.el (shell-quote-argument): Escape correctly under Windows.
6864
d090ed6c
SM
68652011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6868
bfd31217
MA
68692011-04-25 Michael Albinus <michael.albinus@gmx.de>
6870
d090ed6c
SM
6871 * net/tramp.el (tramp-process-actions): Add POS argument.
6872 Delete region between POS and (pos).
bfd31217 6873
d090ed6c
SM
6874 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6875 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6876 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6877
6878 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6879 position in `tramp-process-actions' call.
6880
6881 * net/trampver.el: Update release number.
6882
e92f3bd3
SM
68832011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6884
850256b5
SM
6885 * custom.el (defcustom): Obey lexical-binding.
6886
e92f3bd3
SM
6887 Fix octave-inf completion problems reported by Alexander Klimov.
6888 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6889 Inherit from octave-mode-syntax-table.
6890 (inferior-octave-mode): Set info-lookup-mode.
6891 (inferior-octave-completion-at-point): New function.
6892 (inferior-octave-complete): Use it and completion-in-region.
6893 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6894 comint-filename-completion.
6895 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6896 symbol elements which shouldn't be word elements.
6897 (octave-font-lock-keywords, octave-beginning-of-defun)
6898 (octave-function-header-regexp): Adjust regexps accordingly.
6899 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6900
cd22b309
JB
69012011-04-25 Juanma Barranquero <lekktu@gmail.com>
6902
6903 * net/gnutls.el (gnutls-errorp): Declare before first use.
6904
8b492194
TZ
69052011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6906
6907 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6908 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6909 default trustfile exists before going to use it. Add missing
6910 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6911 Reported by Claudio Bley <claudio.bley@gmail.com>.
6912 (open-gnutls-stream): Add usage example.
6913
6914 * net/network-stream.el (network-stream-open-starttls): Give host
6915 parameter to `gnutls-negotiate'.
6916 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6917 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6918
841a1577 69192011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6920
cd22b309
JB
6921 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6922 Use correct match group (bug#8438).
05842630 6923
3ba7869c
CY
69242011-04-24 Chong Yidong <cyd@stupidchicken.com>
6925
512e3ae1
CY
6926 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6927 (package-menu--generate): New arg specifying packages to show.
6928 (package-menu-refresh, package-menu-execute, list-packages):
6929 Callers changed.
6930 (package-show-package-list): New function, replacing deleted
6931 package--list-packages (renamed because it is non-internal).
6932
6933 * finder.el (finder-list-matches): Use package-show-package-list
6934 instead of deleted package--list-packages.
6935
e92f3bd3
SM
6936 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6937 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6938 (vc-annotate-mode-map): Bind it to RET.
6939
7031be6d
UR
69402011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6941
6942 * progmodes/etags.el (next-file): Don't use set-buffer to change
6943 buffers (Bug#8478).
6944
4ef177aa
CY
69452011-04-24 Chong Yidong <cyd@stupidchicken.com>
6946
c8d173eb
CY
6947 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6948
4ef177aa
CY
6949 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6950 (apropos-accumulator): Doc fix.
6951 (apropos-function, apropos-macro, apropos-command)
6952 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6953 (apropos-plist): Add face property.
6954 (apropos-symbols-internal): Fix indentation.
6955 (apropos-print): Simplify help, and recognize apropos-multi-type.
6956 (apropos-print-doc): Use button-type-get to extract the button's
6957 face property. Fill docstring (Bug#8352).
6958
4ffd0d6b 69592011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6960
6961 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6962
c6c32125 6963 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6964 (mpuz-mode-map): Use mapc.
c6c32125
JB
6965 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6966 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6967 Fix typos in docstrings.
6968
58d468b4
JB
6969 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6970 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6971
6470c3c6
JB
6972 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6973
4ffd0d6b 69742011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6975
6976 * minibuffer.el (completion--do-completion): Avoid the "Next char
6977 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6978
3ad8bad0
CY
6979 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6980 mouse-2 into unread-command-events, it is interpreted correctly.
6981
71d73c9c 6982 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6983 (image-toggle-display): Doc fix.
71d73c9c 6984
841a1577 69852011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6986
4ffd0d6b
GM
6987 * textmodes/page.el (what-page): Use line-number-at-pos to
6988 calculate line number (Bug#6825).
6e1dbaa9 6989
c2fb1b60
JB
69902011-04-22 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6993 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6994 Pass argument NO-DEFAULT to `find-tag-interactive'.
6995
e02f48d7
JB
69962011-04-22 Juanma Barranquero <lekktu@gmail.com>
6997
6998 Lexical-binding cleanup.
6999
7000 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7001 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7002 * progmodes/ada-prj.el (ada-prj-initialize-values)
7003 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7004 (ada-prj-show-value):
7005 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7006 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7007 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7008 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7009 * progmodes/bug-reference.el (bug-reference-push-button):
7010 * progmodes/fortran.el (fortran-line-length):
7011 * progmodes/glasses.el (glasses-change):
7012 * progmodes/octave-mod.el (octave-fill-paragraph):
7013 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7014 (python-pdbtrack-grub-for-buffer, python-sentinel):
7015 * progmodes/sql.el (sql-save-connection):
7016 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7017 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7018 Mark unused parameters.
7019
7020 * progmodes/compile.el (compilation--flush-directory-cache)
7021 (compilation--flush-parse, compile-internal): Mark unused parameters.
7022 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7023 (compilation-next-error-function): Remove unused variable `timestamp'.
7024
7025 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7026 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7027
7028 * progmodes/dcl-mode.el (dcl-end-of-command):
7029 Remove unused variable `start'.
7030 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7031 (dcl-option-value-basic, dcl-option-value-offset)
7032 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7033 Mark unused parameters.
7034 (dcl-save-local-variable): Remove unused variable `val'.
7035 (mode): Declare.
7036
7037 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7038 Mark unused parameters.
7039 (delphi-ignore-changes): Move before first use.
7040 (delphi-charset-token-at): Remove unused variable `start'.
7041 (delphi-else-start): Remove unused variable `if-count'.
7042 (delphi-comment-block-start, delphi-comment-block-end):
7043 Remove unused variable `kind'.
7044 (delphi-indent-line): Remove unused variable `new-point'.
7045
7046 * progmodes/ebrowse.el (ebrowse-files-list)
7047 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7048 Mark unused parameters. Don't quote `lambda'.
7049 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7050 Don't quote `lambda'.
7051 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7052 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7053 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7054 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7055 Use `ignore-errors'.
7056 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7057 (ebrowse-view/find-file-and-search-pattern)
7058 (ebrowse-view/find-member-declaration/definition):
7059 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7060 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7061 Rename parameter PREFIX-ARG to PREFIX.
7062 (ebrowse-tags-read-name): Remove unused variables `start' and
7063 `member-info'.
7064 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7065 to `tags-file'.
7066
7067 * progmodes/etags.el (local-find-tag-hook): Declare.
7068 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7069 Mark unused parameters.
7070
7071 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7072 (executable-interpret): Mark unused parameter.
7073
7074 * progmodes/flymake.el (flymake-process-sentinel)
7075 (flymake-after-change-function)
7076 (flymake-create-temp-with-folder-structure)
7077 (flymake-get-include-dirs-dot): Mark unused parameters.
7078 (flymake-safe-delete-directory): Remove unused variable `err'.
7079
7080 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7081 (speedbar-timer-fn, speedbar-line-text)
7082 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7083 (speedbar-center-buffer-smartly): Declare functions.
7084 (gdb-find-watch-expression): Remove unused variable `array'.
7085 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7086 (gdb-starting): Mark unused parameters.
7087 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7088 (gdb-table-string): Remove unused variable `res'.
7089 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7090 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7091 (gdb-display-buffer): Remove unused variable `cur-size'.
7092
7093 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7094 allow lexical-binding compilation.
7095 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7096 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7097 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7098 Mark unused parameters.
7099 (gud-gdb-marker-filter): Remove unused variable `match'.
7100 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7101 lambda expressions and funcall them, instead of using `fset'.
7102
7103 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7104 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7105
7106 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7107 variable `header-beg'; use `let'.
7108
7109 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7110 `restart', `last-sexp' and `at-do'.
7111
7112 * progmodes/js.el (js--debug): Mark unused parameter.
7113 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7114 (js--splice-into-items): Remove unused variable `item'.
7115 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7116
7117 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7118 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7119 (makefile-complete): Remove unused variable `try'.
7120 (makefile-fill-paragraph, makefile-match-function-end):
7121 Mark unused parameters.
7122
7123 * progmodes/octave-inf.el (inferior-octave-complete):
7124 Remove unused variable `proc'.
7125 (inferior-octave-output-digest): Mark unused parameter.
7126
7127 * progmodes/perl-mode.el (perl-calculate-indent):
7128 Remove unused variable `err'.
7129
7130 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7131 (prolog-indent-line): Mark unused parameters.
7132 (prolog-indent-line): Remove unused variable `beg'.
7133
7134 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7135 (reporter-dont-compact-list): Declare.
7136
7137 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7138 Remove unused variable `char'.
7139 (sh-debug): Mark unused parameter.
7140 (sh-get-indent-info): Remove unused variable `start'.
7141 (sh-calculate-indent): Remove unused variable `var'.
7142
7143 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7144 (simula-electric-keyword): Remove unused variable `null'.
7145 (simula-search-backward, simula-search-forward): Remove unused
7146 variables `begin' and `end'.
7147
7148 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7149 Remove unused variable `pos'.
7150 (vera-electric-tab, vera-comment-uncomment-region):
7151 Mark unused parameters.
7152 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7153
7ede3b65
CY
71542011-04-22 Chong Yidong <cyd@stupidchicken.com>
7155
7156 * emacs-lisp/package.el (package--builtins, package-alist)
7157 (package-load-descriptor, package-built-in-p, package-activate)
7158 (define-package, package-installed-p)
7159 (package-compute-transaction, package-buffer-info)
7160 (package--push): Doc fix. Distinguish more clearly between
7161 version strings and version lists.
7162
121656e9
JB
71632011-04-21 Juanma Barranquero <lekktu@gmail.com>
7164
7165 Lexical-binding cleanup.
7166
7167 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7168 (5x5-make-mutate-best):
7169 * play/fortune.el (fortune-in-buffer):
7170 * play/gomoku.el (gomoku-init-display):
7171 * play/solitaire.el (solitaire, solitaire-do-check):
7172 * play/tetris.el (tetris-default-update-speed-function):
7173 Mark unused parameters.
7174
7175 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7176 (bubbles--shift): Remove unused variable `char-org'.
7177 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7178 (bubbles--show-images): Remove unused variable `char'.
7179
7180 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7181 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7182 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7183 (decipher-analyze-buffer): Use ?\s.
7184 (decipher-make-checkpoint): Remove unused variable `mapping'.
7185
7186 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7187
7188 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7189 Remove unused variable `result'; use `let'.
7190
7191 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7192 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7193 (gametree-children-shown-p, gametree-compute-reduced-score):
7194 Use `ignore-errors'.
7195
7196 * play/handwrite.el (ps-lpr-switches): Declare.
7197 (handwrite): Remove unused variables `pmin' and `lastp'.
7198
7199 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7200
7201 * play/landmark.el (landmark-init-display)
7202 (landmark-update-naught-weights): Mark unused parameters.
7203 (landmark-y): Remove unused variable `noise'. Simplify.
7204 (landmark-human-plays): Remove unused variable `score'.
7205
7206 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7207 (mpuz-try-proposal): Remove unused variable `game'.
7208
7209 * play/zone.el (life-patterns): Declare.
7210
80f499c7
JB
72112011-04-20 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * vc/vc.el (ediff-vc-internal): Declare function.
7214
024ff170
SM
72152011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7216
c0a193ea
SM
7217 * shell.el: Use lexical-binding and std completion UI.
7218 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7219 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7220 comint-preoutput-filter-functions rather than on
7221 comint-output-filter-functions.
7222 (shell-command-completion, shell--command-completion-data)
7223 (shell-filename-completion, shell-environment-variable-completion)
7224 (shell-c-a-p-replace-by-expanded-directory): New functions.
7225 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7226 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7227 (shell-dynamic-complete-environment-variable): Use them.
7228 (shell-dynamic-complete-as-environment-variable)
7229 (shell-dynamic-complete-as-command): Remove.
7230 (shell-match-partial-variable): Match past point.
7231 * comint.el: Clean up use of completion-at-point-functions.
7232 (comint-completion-at-point): New function.
7233 (comint-mode): Use it completion-at-point-functions.
7234 (comint-dynamic-complete): Make it obsolete.
7235 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7236 (comint-c-a-p-replace-by-expanded-history): New function.
7237 (comint-dynamic-complete-functions)
7238 (comint-replace-by-expanded-history): Use it.
7239 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7240 termination strings. Try harder to avoid second try-completion.
7241 (completion-in-region-mode-map): Disable bindings that don't work yet.
7242
2dbaa080
SM
7243 * comint.el: Use lexical-binding. Require CL.
7244 (comint-dynamic-complete-functions): Use comint-filename-completion.
7245 (comint-completion-addsuffix): Tweak custom type.
7246 (comint-filename-completion, comint--common-suffix)
7247 (comint--common-quoted-suffix, comint--table-subvert)
7248 (comint--complete-file-name-data): New functions.
7249 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7250 (comint-dynamic-list-filename-completions): Use them.
7251 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7252
2dbaa080
SM
7253 * minibuffer.el (completion-in-region-mode):
7254 Keep completion-in-region-mode--predicate global.
7255 (completion-in-region--postch):
7256 Assume completion-in-region-mode--predicate is not null.
7257
c79a6f38
SM
7258 * progmodes/flymake.el (flymake-start-syntax-check-process):
7259 Obey `dir'. Simplify.
7260
024ff170
SM
7261 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7262 we're in VC after all.
7263
1c6c854e
CS
72642011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7265
7266 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7267 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7268 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7269
bed7f140
SM
72702011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7271
332e62ab
SM
7272 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7273 add sanity check.
7274
bed7f140
SM
7275 * obsolete/erc-hecomplete.el: Make obsolete.
7276 * obsolete/: Standardize obsolescence info in the header.
7277
f195c582
GM
72782011-04-20 Glenn Morris <rgm@gnu.org>
7279
7280 * calendar/solar.el (solar-horizontal-coordinates):
7281 Use the longitude argument rather than `calendar-longitude'.
7282 (solar-date-next-longitude): Remove unused locals.
7283
cb79b8c0
VJL
72842011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7285
7286 * whitespace.el: New version 13.2.1.
7287
72882011-04-20 felix <EmacsWiki> (tiny change)
7289
d8e4b68b 7290 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7291 switching between major modes on a file.
7292
602ea69d
SM
72932011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7296 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7297 multi-line comments as well.
7298
06b60517
JB
72992011-04-19 Juanma Barranquero <lekktu@gmail.com>
7300
7301 Lexical-binding cleanup.
7302
7303 * arc-mode.el (archive-mode-revert):
7304 * cmuscheme.el (scheme-interactively-start-process):
7305 * custom.el (custom-initialize-delay):
7306 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7307 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7308 * emacs-lock.el (emacs-lock-clear-sentinel):
7309 * ezimage.el (defezimage):
7310 * follow.el (follow-avoid-tail-recenter):
7311 * fringe.el (set-fringe-mode-1):
7312 * generic-x.el (bat-generic-mode-compile):
7313 * help-mode.el (help-info-variable, help-do-xref)
7314 (help-mode-revert-buffer):
7315 * help.el (view-emacs-todo):
7316 * iswitchb.el (iswitchb-completion-help):
7317 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7318 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7319 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7320 * locate.el (locate-update):
7321 * longlines.el (longlines-encode-region)
7322 (longlines-after-change-function):
7323 * outline.el (outline-isearch-open-invisible):
7324 * ps-def.el (declare-function, charset-dimension, char-width)
7325 (encode-char):
7326 * ps-mule.el (ps-mule-plot-string):
7327 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7328 (recentf-edit-list-select, recentf-edit-list-validate)
7329 (recentf-open-files-action):
7330 * rect.el (delete-whitespace-rectangle-line)
7331 (rectangle-number-line-callback):
7332 * register.el (window-configuration-to-register)
7333 (frame-configuration-to-register):
7334 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7335 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7336 (xselect-convert-to-targets, xselect-convert-to-delete)
7337 (xselect-convert-to-filename, xselect-convert-to-charpos)
7338 (xselect-convert-to-lineno, xselect-convert-to-colno)
7339 (xselect-convert-to-os, xselect-convert-to-host)
7340 (xselect-convert-to-user, xselect-convert-to-class)
7341 (xselect-convert-to-name, xselect-convert-to-integer)
7342 (xselect-convert-to-atom, xselect-convert-to-identity):
7343 * subr.el (declare, ignore, process-kill-without-query)
7344 (text-clone-maintain):
7345 * terminal.el (te-get-char, te-tic-sentinel):
7346 * tool-bar.el (tool-bar-make-keymap):
7347 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7348 * type-break.el (type-break-mode, type-break-noninteractive-query):
7349 * view.el (View-back-to-mark):
7350 * wid-browse.el (widget-browse-action, widget-browse-widget)
7351 (widget-browse-widgets, widget-browse-sexp):
7352 * widget.el (define-widget-keywords):
7353 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7354 Mark unused parameters.
7355
7356 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7357 (align-areas): Remove unused variable `look'.
7358 (align-region): Remove unused variables `real-end' and `pos-list'.
7359
7360 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7361
7362 * bindings.el (mode-line-modified, mode-line-remote):
7363 Mark unused parameters.
7364 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7365
7366 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7367 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7368
7369 * comint.el (comint-history-isearch-pop-state)
7370 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7371 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7372 (comint-substitute-in-file-name): Doc fix.
7373
7374 * completion.el (cmpl-statistics-block): Mark unused parameter.
7375 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7376 (save-completions-to-file, load-completions-from-file):
7377 Remove unused local variable `e'.
7378
7379 * composite.el (compose-chars): Remove unused variable `len'.
7380 (lgstring-insert-glyph): Remove unused variable `g'.
7381 (compose-glyph-string): Remove unused variables `ascent',
7382 `descent', `lbearing' and `rbearing'.
7383 (compose-glyph-string-relative): Remove unused variables
7384 `lbearing', `rbearing' and `wadjust'.
7385 (compose-gstring-for-graphic): Remove unused variables `header',
7386 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7387 (compose-gstring-for-terminal): Remove unused variables `header'
7388 and `nchars'. Use `let', not `let*'.
7389
7390 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7391 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7392 (Custom-buffer-done, custom-buffer-create-internal)
7393 (custom-browse-visibility-action, custom-browse-group-tag-action)
7394 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7395 (widget-magic-mouse-down-action, custom-toggle-parent)
7396 (custom-add-parent-links, custom-toggle-hide-variable)
7397 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7398 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7399 (custom-face-menu-create, custom-variable-menu-create, get)
7400 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7401 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7402 (customize-apropos): Remove unused variable `tests'.
7403 (custom-group-value-create): Remove unused variable `hidden-p'.
7404 (sort-fold-case): Declare.
7405
7406 * cus-theme.el (custom-reset-standard-faces-list)
7407 (custom-reset-standard-variables-list): Declare.
7408 (customize-create-theme, custom-theme-revert, custom-theme-write)
7409 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7410 Mark unused parameters.
7411
7412 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7413
7414 * delim-col.el (delimit-columns-max): Move defvar before first use.
7415
7416 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7417 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7418
7419 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7420 (auto-insert): Declare.
7421 (desktop-restore-file-buffer): Rename desktop-* parameters;
7422 mark unused ones.
7423 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7424 (desktop-buffer): Rename desktop-* parameters.
7425
7426 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7427 (dframe-reposition-frame-xemacs, dframe-help-echo)
7428 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7429 Mark unused parameters.
7430
7431 * dired-aux.el (backup-extract-version-start, overwrite-query)
7432 (overwrite-backup-query, rename-regexp-query)
7433 (rename-non-directory-query): Declare.
7434 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7435 (dired-add-entry): Remove unused variable `orig-file-name'.
7436 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7437 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7438 `dired-copy-preserve-time' directly.
7439 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7440 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7441
7442 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7443 (dired-virtual-revert, dired-make-relative-symlink):
7444 Mark unused parameters.
7445 (manual-program): Declare.
7446 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7447 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7448 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7449
7450 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7451
7452 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7453
7454 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7455 Declare.
7456
7457 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7458
7459 * electric.el (Electric-command-loop): Rename parameter
7460 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7461
7462 * expand.el (expand-in-literal): Remove unused variable `here'.
7463
7464 * facemenu.el (facemenu-add-new-color):
7465 Remove unused variable `docstring'.
7466
7467 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7468 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7469 (face-attr-construct): Mark unused parameter. Doc fix.
7470 (read-color): Remove unused variable `hex-string'.
7471
7472 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7473 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7474 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7475 (display-buffer-other-frame): Remove unused variable `old-window'.
7476 (kill-buffer-hook): Declare.
7477 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7478 Mark unused parameters.
7479 (after-find-file): Pass 1 to `auto-save-mode', not t.
7480
7481 * files-x.el (auto-insert): Declare.
7482 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7483
7484 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7485 variable `buf'. Mark unused parameter.
06b60517
JB
7486 (find-lisp-insert-directory): Mark unused parameter.
7487
7488 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7489 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7490 (format-common-tail): Remove, unused.
7491 (format-deannotate-region): Remove unused variable `loc'.
7492 (format-annotate-region): Remove unused variable `p'.
7493 (format-annotate-single-property-change): Remove unused variables
7494 `default' and `tail'.
7495
7496 * forms.el (read-file-filter): Declare.
7497 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7498
7499 * frame.el (frame-creation-function-alist): Mark unused parameter.
7500 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7501
7502 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7503 Remove unused parameters.
7504 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7505 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7506
7507 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7508 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7509 (hfy-prepare-tag-map): Mark unused parameters.
7510 (htmlfontify-buffer): Use `called-interactively-p'.
7511
7512 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7513 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7514 (ibuffer-do-occur): Mark unused parameters.
7515 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7516 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7517
7518 * ibuffer.el: Don't quote `lambda'.
7519 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7520 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7521 Mark unused parameters.
7522
7523 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7524 (ido-completing-read): Mark unused parameters.
7525 (ido-copy-current-word): Mark unused parameters;
7526 remove unused variable `name'.
7527 (ido-sort-merged-list): Remove unused parameter `dirs'.
7528
7529 * ielm.el (ielm-input-sender): Mark unused parameter.
7530 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7531 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7532 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7533 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7534 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7535
7536 * image-dired.el (image-dired-display-thumbs): Remove unused
7537 variables `curr-file' and `count'.
7538 (image-dired-remove-tag): Remove unused variable `start'.
7539 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7540 variable `curr-file'
7541 (image-dired-rotate-original): Remove unused variable `temp-file'.
7542 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7543 Remove unused variable `file'.
7544 (image-dired-gallery-generate): Remove unused variable `curr'.
7545 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7546
7547 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7548
7549 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7550
7551 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7552
7553 * isearch.el (minibuffer-history-symbol): Declare.
7554 (isearch-edit-string): Remove unused variable `err'.
7555 (isearch-message-prefix, isearch-message-suffix):
7556 Mark unused parameters.
7557
7558 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7559
7560 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7561
7562 * makesum.el (double-column): Remove unused variable `cnt'.
7563
7564 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7565 (ido-ignore-item-temp-list): Declare.
7566
7567 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7568 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7569 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7570 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7571 `mouse-col-delta'.
7572
7573 * mouse-sel.el (mouse-extend-internal):
7574 Remove unused variable `orig-window-frame'.
7575
7576 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7577 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7578 Move declarations before first use.
7579 (pcomplete-opt): Mark unused parameters; doc fix.
7580
7581 * proced.el (proced-revert): Mark unused parameter.
7582 (proced-send-signal): Remove unused variable `err'.
7583
7584 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7585 Rename parameter PREFIX-ARG to ARG.
7586 (ps-basic-plot-string, ps-basic-plot-whitespace):
7587 Mark unused parameters.
7588
7589 * replace.el (replace-count): Define.
7590 (occur-revert-function): Mark unused parameters.
7591 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7592 (isearch-case-fold-search, isearch-string): Declare.
7593 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7594 bind `case-fold-search'. Remove unused variables `beg' and `end',
7595 and simplify.
7596 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7597 COUNT and bind `replace-count'.
7598 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7599 to COUNT.
7600
7601 * savehist.el (print-readably, print-string-length): Declare.
7602
7603 * shadowfile.el (shadow-expand-cluster-in-file-name):
7604 Remove unused variable `cluster'.
7605 (shadow-copy-file): Remove unused variable `i'.
7606 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7607 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7608 (shadow-define-literal-group, shadow-define-regexp-group)
7609 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7610
7611 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7612 (shell): Use `called-interactively-p'.
7613 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7614
7615 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7616 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7617 (delete-backward-char): Remove unused variable `ocol'.
7618 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7619 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7620 (event-apply-hyper-modifier, event-apply-shift-modifier)
7621 (event-apply-control-modifier, event-apply-meta-modifier):
7622 Mark unused parameters.
7623 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7624 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7625
7626 * speedbar.el (speedbar-ignored-directory-expressions)
7627 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7628 (speedbar-find-file, speedbar-dir-follow)
7629 (speedbar-directory-buttons-follow, speedbar-tag-find)
7630 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7631 (speedbar-buffers-line-directory, speedbar-buffer-click):
7632 Mark unused parameters.
7633 (speedbar-tag-file): Remove unused variable `mode'.
7634 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7635
7636 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7637
7638 * talk.el (talk): Remove unused variable `display'.
7639
7640 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7641 (tar-write-region-annotate): Mark unused parameter.
7642
7643 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7644 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7645 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7646 warning by another.
7647
7648 * time-stamp.el (time-stamp-string-preprocess):
7649 Remove unused variable `require-padding'.
7650
7651 * tree-widget.el (widget-glyph-enable): Declare.
7652 (tree-widget-action): Mark unused parameter.
7653
7654 * w32-fns.el (x-get-selection): Mark unused parameter.
7655 (autoload-make-program, generated-autoload-file): Declare.
7656
7657 * wdired.el (wdired-revert): Mark unused parameters.
7658 (wdired-xcase-word): Remove unused variable `err'.
7659
7660 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7661 (whitespace-help-scroll): Remove unused variable `data-help'.
7662
7663 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7664 (widget-image-insert, widget-after-change, default)
7665 (widget-default-format-handler, widget-default-notify)
7666 (widget-default-prompt-value, widget-info-link-action)
7667 (widget-url-link-action, widget-function-link-action)
7668 (widget-variable-link-action, widget-file-link-action)
7669 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7670 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7671 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7672 (widget-insert-button-action, widget-delete-button-action, visibility)
7673 (widget-documentation-link-action, widget-documentation-string-action)
7674 (widget-const-prompt-value, widget-regexp-match, symbol)
7675 (widget-coding-system-prompt-value)
7676 (widget-key-sequence-value-to-external, sexp)
7677 (widget-sexp-value-to-internal, character, vector, cons)
7678 (widget-choice-prompt-value, widget-boolean-prompt-value)
7679 (widget-color--choose-action): Mark unused parameters.
7680 (widget-item-match-inline, widget-choice-match-inline)
7681 (widget-checklist-match, widget-checklist-match-inline)
7682 (widget-group-match): Rename parameter VALUES to VALS.
7683 (widget-field-value-set): Remove unused variable `size'.
7684 (widget-color-action): Remove unused variables `value' and `start'.
7685
7686 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7687 variable `dir'. Doc fix.
06b60517
JB
7688 (windmove-find-other-window): Don't pass it.
7689
7690 * window.el (count-windows): Mark unused parameter.
7691 (bw-adjust-window): Remove unused variable `err'.
7692
7693 * woman.el (woman-file-name): Remove unused variable `default'.
7694 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7695 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7696 (global-font-lock-mode): Declare.
7697 (woman-decode-region): Mark unused parameter.
7698 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7699
7700 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7701 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7702 (x-dnd-handle-moz-url): Remove unused variable `title'.
7703 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7704
7705 * xml.el (xml-parse-tag, xml-parse-attlist):
7706 Remove unused variable `pos'.
7707
bc4f7f3d
GM
77082011-04-19 Glenn Morris <rgm@gnu.org>
7709
7710 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7711 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7712 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7713 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7714 * calendar/cal-html.el (cal-html-insert-minical):
7715 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7716 (calendar-mark-date-pattern):
7717 Prefix "unused" locals.
7718
7719 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7720 optional argument `style'.
7721
7722 * calendar/appt.el (appt-make-list):
7723 * calendar/cal-china.el (calendar-chinese-date-string):
7724 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7725 (diary-hebrew-yahrzeit):
7726 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7727 * calendar/calendar.el (calendar-generate-window):
7728 * calendar/time-date.el (time-to-days):
7729 Remove unused local variables.
7730
16a43933
CY
77312011-04-18 Chong Yidong <cyd@stupidchicken.com>
7732
7733 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7734 glyphless-char-display table.
7735 (tabulated-list-glyphless-char-display): New var.
7736
7eed1860
SS
77372011-04-18 Sam Steingold <sds@gnu.org>
7738
7739 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7740 to acknowledgments.
7741
4d2d1ccd
GM
77422011-04-17 Glenn Morris <rgm@gnu.org>
7743
7744 * calendar/diary-lib.el (diary-sexp-entry):
7745 * calendar/holidays.el (holiday-sexp):
7746 Set debug-on-error rather than the removed stack-trace-on-error.
7747
239da61d
GM
77482011-04-16 Glenn Morris <rgm@gnu.org>
7749
7750 * progmodes/f90.el: Use lexical-binding.
7751 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7752
8b05752a
SM
77532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7754
daca8ba5
SM
7755 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7756 (mail-mode): Setup mailalias completion here instead.
7757 * mail/mailalias.el: Use lexical-binding.
7758 (pattern, mailalias-done): Declare dynamic.
7759 (mail-completion-at-point-function): New function, from mail-complete.
7760 (mail-complete): Use it.
7761 (mail-completion-expand): New function.
7762 (mail-get-names): Use it.
7763 (mail-directory, mail-directory-process, mail-directory-stream):
7764 Don't use `pattern' for lexically bound arg.
7765
6f542485
SM
7766 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7767
037e7c3f
SM
7768 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7769 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7770 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7771
8b05752a
SM
7772 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7773 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7774 (byte-interactive-p): Define them again, for use when inlining
7775 old code.
7776
49093f60
JB
77772011-04-15 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * loadup.el: Use `string-to-number', not `string-to-int'.
7780
b5b8e7de
SM
77812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7784 gud-gdb-complete-command.
7785 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7786 (gud-gdb-completion-at-point): New function.
7787 (gud-gdb-completions): Remove.
7788
f42efeb5
MA
77892011-04-14 Michael Albinus <michael.albinus@gmx.de>
7790
49093f60
JB
7791 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7792 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7793 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7794 whether `executable-find' is bound.
f42efeb5
MA
7795
7796 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7797
e240cc21
SM
77982011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * minibuffer.el (completion-in-region-mode-predicate)
7801 (completion-in-region-mode--predicate): New vars.
7802 (completion-in-region, completion-in-region--postch)
7803 (completion-in-region-mode): Use them.
7804 (completion--capf-wrapper): Also return the hook function.
7805 (completion-at-point, completion-help-at-point):
7806 Adjust and provide a predicate.
c2bd2ab0
SM
7807
7808 Preserve arg names for advice of subr and lexical functions (bug#8457).
7809 * help-fns.el (help-function-arglist): Consolidate the subr and
7810 new-byte-code cases. Add argument `preserve-names' to extract names
7811 from the docstring when needed.
7812 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7813 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7814 (ad-arglist): Use help-function-arglist's new arg.
7815 (ad-definition-type): Use cond.
7816
c183f693
JB
78172011-04-13 Juanma Barranquero <lekktu@gmail.com>
7818
06641a47
JB
7819 * autorevert.el (auto-revert-handler):
7820 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7821 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7822 Don't quote lambda.
7823
c183f693
JB
7824 * image-mode.el (image-transform-set-scale):
7825 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7826
1e3b6001
G
78272011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
7829 * net/network-stream.el (network-stream-open-starttls): Only do
7830 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7831 Upgrades via gnutls-cli are too slow to be done opportunistically.
7832
2d6af8dd
JB
78332011-04-12 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * dframe.el (dframe-current-frame): Remove spurious quote.
7836
c0749a51
GM
78372011-04-12 Glenn Morris <rgm@gnu.org>
7838
088d0d61
GM
7839 * calendar/cal-tex.el (cal-tex-end-document):
7840 Try to automatically use latin1 input if needed.
7841
c0749a51
GM
7842 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7843 Don't try to cons a mark onto an empty element.
7844
5c90fde0
LL
78452011-04-11 Leo Liu <sdl.web@gmail.com>
7846
7847 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7848 buffers.
7849 (ido-kill-buffer-at-head): Support killing virtual buffers.
7850
369e974d
CY
78512011-04-10 Chong Yidong <cyd@stupidchicken.com>
7852
7853 * minibuffer.el (completion-show-inline-help): New var.
7854 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7855 (minibuffer-force-complete, minibuffer-complete-word):
7856 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7857
7858 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7859 to avoid interference from inline help (Bug#5849).
7860
37f1c930
LL
78612011-04-10 Leo Liu <sdl.web@gmail.com>
7862
099c39a4
JB
7863 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7864 Fix typo.
37f1c930 7865
a32d4040
CY
78662011-04-09 Chong Yidong <cyd@stupidchicken.com>
7867
7868 * image-mode.el (image-toggle-display-image): Signal an error if
7869 not in Image mode.
7870 (image-transform-mode, image-transform-resize)
7871 (image-transform-set-rotation): Doc fix.
daca8ba5 7872 (image-transform-set-resize): Delete.
a32d4040
CY
7873 (image-transform-set-scale, image-transform-fit-to-height)
7874 (image-transform-fit-to-width): Handle image-toggle-display-image
7875 and image-transform-resize directly.
7876
099c39a4 78772011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7878
7879 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7880 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7881 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7882 (doc-view-mode-map): Add bindings for the new functions.
7883
099c39a4 78842011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7885
4d61f28d 7886 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7887 Fix typo in docstring.
7888
3726838a
EZ
78892011-04-08 Eli Zaretskii <eliz@gnu.org>
7890
04f33f1e
EZ
7891 * files.el (file-size-human-readable): Produce one digit after
7892 decimal, like "ls -lh" does.
7893
7894 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7895 the file size representation.
7896
3726838a
EZ
7897 * simple.el (list-processes): If async subprocesses are not
7898 available, error out with a clear error message.
7899
cbb59342
CY
79002011-04-08 Chong Yidong <cyd@stupidchicken.com>
7901
7902 * help.el (help-form-show): New function, to be called from C.
7903 Put help-form output in a buffer named differently than *Help*.
7904
e3971c44
EZ
79052011-04-08 Eli Zaretskii <eliz@gnu.org>
7906
7907 * files.el (file-size-human-readable): New function.
7908
7909 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7910 computing the representation inline. Don't require `cl'.
7911
12544bbe
GM
79122011-04-08 Glenn Morris <rgm@gnu.org>
7913
a1de6c6a
GM
7914 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7915
3c4671f4
GM
7916 * net/browse-url.el (browse-url-firefox):
7917 Test system-type, not system-configuration.
7918
b605679c
GM
7919 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7920 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7921 Use log-edit-empty-buffer-p. (Bug#7598)
7922
56442f0c
GM
7923 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7924 (rlogin-mode-map): Initialize in the defvar.
7925 (rlogin): Use ignore-errors.
7926
12544bbe
GM
7927 * replace.el (occur-mode-map): Some fixes for menu items.
7928
eb237b0f
AH
79292011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7930
7931 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7932
7d668f2c
CY
79332011-04-06 Chong Yidong <cyd@stupidchicken.com>
7934
e67a13ab
CY
7935 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7936 issuing unused warnings.
7937
7938 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7939 macro directly.
7940
7d668f2c
CY
7941 * simple.el: Lisp reimplement of list-processes. Based on an
7942 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7943 (process-menu-mode): New major mode.
7944 (list-processes--refresh, list-processes):
7945 (process-menu-visit-buffer): New functions.
7946
7947 * files.el (save-buffers-kill-emacs): Don't assume any return
7948 value of list-processes, which is undocumented anyway.
7949
a83ec3c9
CY
79502011-04-06 Chong Yidong <cyd@stupidchicken.com>
7951
7952 * emacs-lisp/tabulated-list.el: New file.
7953
e91a96fe
CY
7954 * emacs-lisp/package.el: Use Tabulated List mode.
7955 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7956 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7957 table format using Tabulated List mode variables.
7958 (package--push): New macro, replacing package-list-maybe-add.
7959 (package-menu--generate): Use package--push. Renamed from
7960 package--generate-package-list.
7961 (package-menu-refresh, list-packages): Use it.
daca8ba5 7962 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7963 Return insertion data instead of inserting it directly.
099c39a4
JB
7964 (package-menu-describe-package, package-menu-execute):
7965 Use tabulated-list-get-id.
e91a96fe
CY
7966 (package-menu-mark-delete, package-menu-mark-install)
7967 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7968 (package-menu-mark-obsolete-for-deletion):
7969 Use tabulated-list-put-tag.
e91a96fe
CY
7970 (package--list-packages, package-menu-revert)
7971 (package-menu-get-package, package-menu-get-version)
7972 (package-menu-sort-by-column): Functions deleted.
7973 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7974 (package-menu--status-predicate, package-menu--version-predicate)
7975 (package-menu--name-predicate)
7976 (package-menu--description-predicate): Handle arguments in the
7977 Tabulated List format.
7978 (package-list-packages-no-fetch): Call list-packages.
7979
3e214b50
JB
79802011-04-06 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7983 (after-find-file): Don't bind it.
3e214b50
JB
7984 (revert-buffer-in-progress-p): New variable.
7985 (revert-buffer): Bind it.
7986 Pass nil for `after-find-file-from-revert-buffer'.
7987
7988 * saveplace.el (save-place-find-file-hook): Use new variable
7989 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7990
3f0f1700
GM
79912011-04-06 Glenn Morris <rgm@gnu.org>
7992
c0274801
GM
7993 * Makefile.in (AUTOGEN_VCS): New variable.
7994 (autoloads): Use $AUTOGEN_VCS.
7995
3f0f1700
GM
7996 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7997 * calendar/calendar.el (calendar-mode-map):
7998 Check for toolkit scroll bars. (Bug#8305)
7999
41ea9e48
CY
80002011-04-05 Chong Yidong <cyd@stupidchicken.com>
8001
8002 * minibuffer.el (completion-in-region--postch)
8003 (completion-in-region-mode): Remove unnecessary messages.
8004
6194c800
JB
80052011-04-05 Juanma Barranquero <lekktu@gmail.com>
8006
33256f14
JB
8007 * font-lock.el (font-lock-refresh-defaults):
8008 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8009 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8010
6194c800
JB
8011 * info.el (Info-directory-list, Info-read-node-name-2)
8012 (Info-split-parameter-string): Doc fixes.
8013 (Info-virtual-nodes): Reflow docstring.
8014 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8015 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8016 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8017 Fix typos in docstrings.
8018 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8019 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8020 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8021 (Info-restore-desktop-buffer): Mark unused parameters.
8022 (Info-directory-find-file, Info-directory-find-node)
8023 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8024 (Info-virtual-index-find-node, Info-apropos-find-file)
8025 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8026 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8027 (Info-virtual-index): Remove unused local variable `nodename'.
8028
b87a8200 80292011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8030
b87a8200
DD
8031 * net/rcirc.el: Update my e-mail address.
8032 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8033
3b2ff876
CY
80342011-04-05 Chong Yidong <cyd@stupidchicken.com>
8035
8036 * startup.el (command-line): Save the cursor's theme-face
8037 directly, instead of using face-override-spec.
8038
8039 * custom.el (load-theme): Minor optimization in assigning faces.
8040
8d17e7ca
JB
80412011-04-04 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * help-fns.el (describe-variable): Complete all variables having
8044 documentation, including keywords.
8045 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8046
2fbc1934
JB
80472011-04-04 Juanma Barranquero <lekktu@gmail.com>
8048
8049 Convert to lexical-binding.
8050
8051 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8052 (bs--get-marked-string, bs--get-modified-string)
8053 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8054 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8055 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8056
8057 * ehelp.el (electric-help-execute-extended)
8058 (electric-help-ctrl-x-prefix):
8059 * hexl.el (hexl-revert-buffer-function):
8060 * linum.el (linum-after-change, linum-after-scroll):
8061 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8062
8063 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8064
74f50695
DU
80652011-04-04 Daiki Ueno <ueno@unixuser.org>
8066
8067 * epa-dired.el:
8068 * epa-mail.el:
8069 * epa-hook.el:
8070 * epa-file.el:
8071 * epa.el:
8072 * epg.el: Use lexical binding.
8073
c11325f7
CY
80742011-04-03 Chong Yidong <cyd@stupidchicken.com>
8075
0d9e9a12
CY
8076 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8077
c11325f7 8078 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8079 dictionary case for flyspell-mark-duplications-exceptions.
8080 Use regexp matching for languages.
c11325f7
CY
8081 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8082 default dictionary (Bug#7926).
8083
da91b5f2
CY
80842011-04-02 Chong Yidong <cyd@stupidchicken.com>
8085
099c39a4
JB
8086 * emacs-lisp/package.el (package--with-work-buffer):
8087 Recognize https URLs.
da91b5f2 8088
099c39a4
JB
8089 * net/network-stream.el: Move from gnus/proto-stream.el.
8090 Change prefix to network-stream throughout.
da91b5f2
CY
8091 (open-protocol-stream): Merge into open-network-stream, leaving
8092 open-protocol-stream as an alias. Handle nil BUFFER args.
8093
8094 * subr.el (open-network-stream): Move to net/network-stream.el.
8095
afa8e9f6
GM
80962011-04-02 Glenn Morris <rgm@gnu.org>
8097
1d2e369d
GM
8098 * find-dired.el (find-exec-terminator): New option.
8099 (find-ls-option): Test for -ls support.
8100 (find-ls-subdir-switches): Test for -b in find-ls-option.
8101 (find-dired, find-grep-dired): Doc fixes.
8102 (find-dired): Use find-exec-terminator.
8103
8abb7da8 8104 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8105 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8106 (find-name-arg): Remove purecopy.
8abb7da8 8107
f3ca7378
GM
8108 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8109 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8110 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8111 accordingly. Don't add the null-device if not needed.
8112
afa8e9f6
GM
8113 * files.el (save-some-buffers): Doc fix.
8114
35eae264
EZ
81152011-04-02 Eli Zaretskii <eliz@gnu.org>
8116
8117 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8118
26b51db5
JB
81192011-04-01 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8122 Use `dolist' rather than `mapcar'.
8123
7200d79c
SM
81242011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8125
03408648 8126 Add lexical binding.
7200d79c 8127
03408648
SM
8128 * subr.el (apply-partially): Use new closures rather than CL.
8129 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8130 (dolist, dotimes): Use slightly different expansion for lexical code.
8131 (functionp): Move to C.
8132 (letrec): New macro.
8133 (with-wrapper-hook): Use it and apply-partially instead of CL.
8134 (eval-after-load): Preserve lexical-binding.
8135 (save-window-excursion, with-output-to-temp-buffer): Turn them
8136 into macros.
7200d79c 8137
03408648
SM
8138 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8139
8140 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8141 than the arglist.
8142 (help-add-fundoc-usage): Don't add `Not documented'.
8143 (help-function-arglist): Handle closures, subroutines, and new
8144 byte-code-functions.
8145 (help-make-usage): Remove leading underscores.
8146 (describe-function-1): Handle closures.
8147 (describe-variable): Use special-variable-p for completion.
8148
8149 * files.el (lexical-binding): Declare safe.
f488fb65 8150
03408648
SM
8151 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8152 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8153 (pcase): Add `let' pattern.
8154 Change memoization so it actually works.
8155 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8156 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8157 <let>: New case.
f488fb65 8158
03408648
SM
8159 * emacs-lisp/macroexp.el: Use lexical binding.
8160 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8161 Don't convert ' to #' without checking that it's indeed quoting
8162 a lambda.
8163
8164 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8165 Use eval-sexp-add-defvars.
03408648
SM
8166 (eval-sexp-add-defvars): New fun.
8167
8168 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8169
8170 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8171 Don't autoload.
8172 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8173 than the internal `byte-compile-lambda'.
8174 (defmethod): Don't hide code under quotes.
8175 (eieio-defmethod): New `code' argument.
8176
8177 * emacs-lisp/eieio-comp.el: Remove.
8178
8179 * emacs-lisp/edebug.el (edebug-eval-defun)
8180 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8181 (edebug-toggle): Avoid `eval'.
8182
8183 * emacs-lisp/disass.el (disassemble-internal): Handle new
8184 `closure' objects.
8185 (disassemble-1): Handle new byte codes.
8186
8187 * emacs-lisp/cl.el (pushnew): Silence warning.
8188
8189 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8190 (cl-byte-compile-throw): Remove.
8191 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8192
8193 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8194 closures.
8195
8196 * emacs-lisp/cconv.el: New file.
8197
8198 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8199 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8200 (byte-compile-initial-macro-environment):
8201 Handle declare-function here.
8202 (byte-compile--lexical-environment): New var.
8203 (byte-stack-ref, byte-stack-set, byte-discardN)
8204 (byte-discardN-preserve-tos): New lap codes.
8205 (byte-interactive-p): Don't use any more.
8206 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8207 New macros.
8208 (byte-compile-lapcode): Use them and handle new lap codes.
8209 (byte-compile-obsolete): Remove.
8210 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8211 (byte-compile-arglist-warn): Check late def of inlinable funs.
8212 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8213 since they should have been expanded by now.
8214 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8215 (byte-compile-from-buffer): Remove unused second arg.
8216 (byte-compile-preprocess): New function.
8217 (byte-compile-toplevel-file-form): New function to distinguish
8218 file-form calls from outside from file-form calls from hunk-handlers.
8219 (byte-compile-file-form): Simplify.
8220 (byte-compile-file-form-defsubst): Remove.
8221 (byte-compile-file-form-defmumble): Simplify now that
8222 byte-compile-lambda always returns a byte-code-function.
8223 (byte-compile): Preprocess.
8224 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8225 Remove, not used any more.
8226 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8227 (byte-compile-make-args-desc): New funs.
8228 (byte-compile-lambda): Handle lexical functions. Always return
8229 a byte-code-function.
8230 (byte-compile-reserved-constants): New var, to make up room for
8231 closed-over variables.
8232 (byte-compile-constants-vector): Obey it.
8233 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8234 (byte-compile-macroexpand-declare-function): New function.
8235 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8236 byte-code-functions.
8237 (byte-compile-form): Check obsolescence here.
8238 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8239 (byte-compile-variable-ref): Remove.
8240 (byte-compile-dynamic-variable-op): New fun.
8241 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8242 (byte-compile-variable-set): New funs.
8243 (byte-compile-discard): Add 2 args.
8244 (byte-compile-stack-ref, byte-compile-stack-set)
8245 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8246 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8247 macroexpand-all instead.
8248 (byte-compile-quote-form): Remove.
8249 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8250 (byte-compile-bind, byte-compile-unbind): New funs.
8251 (byte-compile-let): Handle let* and lexical binding.
8252 (byte-compile-let*): Remove.
8253 (byte-compile-catch, byte-compile-unwind-protect)
8254 (byte-compile-track-mouse, byte-compile-condition-case):
8255 Handle a new :fun-body form, used for lexical scoping.
8256 (byte-compile-save-window-excursion)
8257 (byte-compile-with-output-to-temp-buffer): Remove.
8258 (byte-compile-defun): Simplify.
8259 (byte-compile-stack-adjustment): New fun.
8260 (byte-compile-out): Use it.
8261 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8262
8263 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8264 handler any more.
8265
8266 * emacs-lisp/byte-opt.el: Use lexical binding.
8267 (byte-inline-lapcode): Remove (to bytecomp).
8268 (byte-compile-inline-expand): Pay attention to inlining to/from
8269 lexically bound code.
8270 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8271 any more.
8272 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8273 any more and don't call compiler-macros.
8274 (byte-compile-splice-in-already-compiled-code): Remove.
8275 (byte-code): Don't inline any more.
8276 (disassemble-offset): Receive `bytes' as argument rather than via
8277 dynamic scoping.
8278 (byte-compile-tag-number): Declare before first use.
8279 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8280 `return' even if make-spliceable.
8281 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8282 obsolete interactive-p.
8283 (byte-optimize-lapcode): Optimize new lap-codes.
8284 Don't trip up on new form of `byte-constant' lap code.
8285
8286 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8287
8288 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8289
8290 * custom.el (custom-initialize-default, custom-declare-variable):
8291 Use `defvar'.
8292
8293 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8294 New variables.
8295 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8296 (COMPILE_FIRST): Add macroexp and cconv.
8297 * makefile.w32-in: Mirror changes in Makefile.in.
8298
8299 * vc/cvs-status.el:
8300 * vc/diff-mode.el:
8301 * vc/log-edit.el:
8302 * vc/log-view.el:
8303 * vc/smerge-mode.el:
8304 * textmodes/bibtex-style.el:
8305 * textmodes/css.el:
8306 * startup.el:
8307 * uniquify.el:
da91b5f2
CY
8308 * minibuffer.el:
8309 * newcomment.el:
8310 * reveal.el:
8311 * server.el:
8312 * mpc.el:
8313 * emacs-lisp/smie.el:
8314 * doc-view.el:
8315 * dired.el:
03408648
SM
8316 * abbrev.el: Use lexical binding.
8317
0f0c1f27
EZ
83182011-04-01 Eli Zaretskii <eliz@gnu.org>
8319
8320 * info.el (info-display-manual): New function.
8321
c82b2579
SM
83222011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8325
221ddf68
TH
83262011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8327
8328 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8329 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8330
cba6e77e
GM
83312011-03-31 Glenn Morris <rgm@gnu.org>
8332
e040639f
GM
8333 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8334
cba6e77e
GM
8335 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8336
6d0f1c9e
CS
83372011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8338
8339 * progmodes/python.el (python-default-interpreter)
8340 (python-python-command-args, python-jython-command-args)
8341 (python-which-shell, python-which-args, python-which-bufname)
8342 (python-file-queue, python-comint-output-filter-function)
8343 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8344 variables and functions.
8345
3e2d70fd
SM
83462011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8349 (completion-in-region-mode): New minor mode.
8350 (completion-in-region): Use it.
8351 (completion-in-region--data, completion-in-region-mode-map): New vars.
8352 (completion-in-region--postch): New function.
8353 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8354 New vars.
8355 (completion--capf-wrapper): New function.
8356 (completion-at-point): Use it to track well-behavedness of
8357 hook functions.
8358 (completion-help-at-point): New command.
8359
f3e4086c
JM
83602011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8361
8362 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8363 syntax class to search for whitespace on a single line
8364 (Message-ID: <4D938140.4030905@redhat.com>).
8365
eb7ffc14
LL
83662011-03-30 Leo Liu <sdl.web@gmail.com>
8367
8368 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8369 New commands.
8370 (edit-abbrevs-map): Bind them here.
8371 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8372
d806ab68
KM
83732011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8374
8375 * allout.el (allout-hide-by-annotation, allout-flag-region):
8376 Reduce possibility of overlay leakage by making them volatile.
8377
8378 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8379 hash is not shared between buffers. Mode initialization is
8380 responsible for giving it a useful starting value.
8381 (allout-item-span): Reduce possibility of overlay leakage by
8382 making them volatile.
8383 (allout-widgets-count-buttons-in-region): Add diagnostic function
8384 for tracking down button overlay leaks.
8385
ea622834
LL
83862011-03-29 Leo Liu <sdl.web@gmail.com>
8387
8388 * ido.el (ido-read-internal): Use the default history var
8389 minibuffer-history if no HISTORY is specified.
8390
b62f8267
G
83912011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8392
03408648
SM
8393 * net/imap.el (imap-shell-open, imap-process-connection-type):
8394 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8395 Kerberos, SSL, other subprocesses.
8396
947b6566
LL
83972011-03-28 Leo Liu <sdl.web@gmail.com>
8398
8399 * abbrev.el (abbrev-table-empty-p): New function.
8400 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8401 nonempty ones. (Bug#5937)
8402
5ffb62aa
JD
84032011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8404
8405 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8406
7a097943
LL
84072011-03-27 Leo Liu <sdl.web@gmail.com>
8408
8409 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8410 for foreground and background colors.
8411 (ansi-color-make-color-map): Adapt.
8412
c5b40130
LL
84132011-03-25 Leo Liu <sdl.web@gmail.com>
8414
1f48f7d2
LL
8415 * midnight.el (midnight-time-float): Remove. Note it calculates
8416 the microsecond component incorrectly and seconds-to-time does the
8417 same job.
625897ec 8418 Remove redundant (require 'timer).
1f48f7d2 8419
c5b40130
LL
8420 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8421 (ido-completions): Remove unused arguments. (Bug#8329)
8422
d86d2721
SM
84232011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * minibuffer.el (completion--flush-all-sorted-completions):
8426 Remove itself from hook.
8427 (completion-at-point): Let the functions perform the completion
8428 immediately and return nil or t.
8429 * comint.el (comint-dynamic-complete-functions): Now identical to
8430 completion-at-point-functions.
8431 (comint-dynamic-list-input-ring): Remove unused var `index'.
8432 (comint--match-partial-filename, comint--unquote&expand-filename):
8433 New funs, split from comint-match-partial-filename.
8434 (comint-dynamic-complete): Use completion-at-point.
8435 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8436
e8974c48
DA
84372011-03-24 Drew Adams <drew.adams@oracle.com>
8438
8439 * thingatpt.el: Support `defun'.
8440
def71b5e
LL
84412011-03-23 Leo Liu <sdl.web@gmail.com>
8442
cb5af48e
LL
8443 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8444
def71b5e
LL
8445 * help-mode.el (help-mode-finish): Tweak regexp.
8446
927c53e7
GM
84472011-03-23 Glenn Morris <rgm@gnu.org>
8448
18d05bed
GM
8449 * eshell/esh-opt.el (eshell-eval-using-options):
8450 Do not bind unused local variable `eshell-option-stub'.
8451
927c53e7
GM
8452 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8453
9d0da923
JB
84542011-03-22 Juanma Barranquero <lekktu@gmail.com>
8455
8456 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8457 keymap variable in `with-no-warnings' to avoid a warning when the
8458 keymap has been already `defconst'ed.
8459
4b978a67
LL
84602011-03-22 Leo Liu <sdl.web@gmail.com>
8461
8462 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8463 encode all chars in abbrevs; otherwise use emacs-mule or
8464 utf-8-emacs. (Bug#8308)
8465
5fd62452
JB
84662011-03-22 Juanma Barranquero <lekktu@gmail.com>
8467
0b1596c6
JB
8468 * simple.el (backward-delete-char-untabify):
8469 Avoid warning about using `delete-backward-char'.
8470
5fd62452
JB
8471 * image.el (image-type-file-name-regexps): Make it variable.
8472 `imagemagick-register-types' modifies it, and the user may want
8473 to add new extensions for known image types.
8474 (imagemagick-register-types): Throw error if not using ImageMagick.
8475
0b4e93f1
LL
84762011-03-22 Leo Liu <sdl.web@gmail.com>
8477
8478 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8479 located before rcirc-prompt-end-marker.
8480 (rcirc-complete): Error if point is not after rcirc prompt.
8481 Handle the case when table is nil.
9882e214 8482 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8483
fccee4ab
CY
84842011-03-22 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * custom.el (custom--inhibit-theme-enable): Make it affect only
8487 custom-theme-set-variables and custom-theme-set-faces.
8488 (provide-theme): Ignore custom--inhibit-theme-enable.
8489 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8490 (custom-enabling-themes): Delete variable.
d86d2721
SM
8491 (enable-theme): Accept only loaded themes as arguments.
8492 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8493 (custom-enabled-themes): Forbid themes from setting this.
8494 Eliminate use of custom-enabling-themes.
8495 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8496
af896da6
LL
84972011-03-21 Leo Liu <sdl.web@gmail.com>
8498
8499 * ido.el (ido-read-internal): Add ido-selected to history instead
8500 of user input.
8501
78f64af0
SM
85022011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * subr.el (deferred-action-list, deferred-action-function):
8505 Mark obsolete.
8506
b16ac1ec
LL
85072011-03-21 Leo Liu <sdl.web@gmail.com>
8508
810f7698
LL
8509 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8510 change on 2011-02-13 (bug#8309).
8511
b16ac1ec
LL
8512 * minibuffer.el (read-file-name-function): Change default value.
8513 (read-file-name--defaults): Rename from read-file-name-defaults.
8514 (read-file-name-default): Rename from read-file-name.
8515 (read-file-name): Call read-file-name-function.
8516
4e05e67e
GM
85172011-03-21 Glenn Morris <rgm@gnu.org>
8518
8519 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8520 Doc fixes.
8521
4359915b
CY
85222011-03-21 Chong Yidong <cyd@stupidchicken.com>
8523
8524 * cus-theme.el: Add missing provide statement.
8525 (customize-create-theme): Extract theme value correctly.
8526 (custom-theme-visit-theme): Autoload.
8527 (customize-create-theme): Prompt before inserting default faces.
8528
1fe275ee
JB
85292011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8530
8531 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8532 units and musical notes.
8533
3ec03f7e
LL
85342011-03-20 Leo <sdl.web@gmail.com>
8535
8536 * ido.el (ido-read-internal): Use completing-read-default.
8537 (ido-completing-read): Fix compatibility with completing-read.
8538
7d476bde
CO
85392011-03-20 Christian Ohler <ohler@gnu.org>
8540
8541 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8542 (ert-delete-all-tests): Use `called-interactively-p' rather than
8543 `interactive-p'.
8544 (ert--make-xrefs-region): Respect END.
8545
fe0fb33e
CY
85462011-03-19 Chong Yidong <cyd@stupidchicken.com>
8547
ff854b0b
CY
8548 * dired-aux.el (dired-create-directory): Signal an error if the
8549 directory already exists (Bug#8246).
8550
fe0fb33e
CY
8551 * facemenu.el (list-colors-display): Call list-faces-display
8552 inside with-help-window.
8553 (list-colors-print): Use display property to align the final
8554 column, instead of checking window-width.
8555
576bce32
EZ
85562011-03-19 Eli Zaretskii <eliz@gnu.org>
8557
4d61f28d 8558 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8559 windows-nt systems.
8560 (emerge-protect-metachars): Quote correctly for ms-dos and
8561 windows-nt systems.
8562
89c41d68 85632011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8564
8565 * info.el (info-initialize): Replace all uses of `:' with
8566 path-separator for compatibility with non-Unix systems.
8567 Cache quoting of path-separator. (Bug#8258)
8568
b14e3e21 85692011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8570
8571 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8572 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8573 (mouse-avoidance-mode): Fix typos in docstrings.
8574
4525ce3e
CY
85752011-03-19 Chong Yidong <cyd@stupidchicken.com>
8576
8577 * startup.el (package-subdirectory-regexp): Move from package.el.
8578 Omit \\` and \\', and let callers add them.
8579
8580 * emacs-lisp/package.el (package-strip-version)
8581 (package-load-all-descriptors): Add \\` and \\' to
8582 package-subdirectory-regexp before using it.
8583 (package-untar-buffer): New arg DIR; ensure that file untars only
8584 into this expected directory. Remove superfluous delete-region.
8585 (package-unpack): Caller changed.
8586 (package-tar-file-info): Use package-subdirectory-regexp.
8587
a904a09a 85882011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8589
a904a09a
SM
8590 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8591 diff-mode-shared-map (bug#8284).
8592 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8593
85942011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
8596 * calendar/time-date.el (format-seconds): Use assoc instead of
8597 assoc-string, since assoc-string doesn't exist in XEmacs.
8598
171fc304
JB
85992011-03-17 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * custom.el (custom-known-themes): Reflow docstring.
8602 (custom-theme-load-path): Fix typo in docstring.
8603 (load-theme): Fix typo in error message.
8604 (custom-available-themes, custom-variable-theme-value):
8605 Use `let', not `let*'.
8606
d71990a1
JB
86072011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8608
8609 * calc/README: Mention inclusion of musical notes.
8610
8611 * calc/calc-units.el (calc-lu-quant): Rename from
8612 `calc-logunits-quantity'.
8613 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8614 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8615 (calc-db): Rename from `calc-dblevel'.
8616 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8617 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8618 (calc-np): Rename from `calc-nplevel'.
8619 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8620 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8621 (calc-lu-plus): Rename from `calc-logunits-add'.
8622 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8623 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8624 (calc-lu-minus): Rename from `calc-logunits-sub'.
8625 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8626 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8627 (calc-lu-times): Rename from `calc-logunits-mul'.
8628 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8629 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8630 (calc-lu-divide): Rename from `calc-logunits-div'.
8631 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8632 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8633
8634 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8635 functions being autoloaded.
8636
8637 * calc/calc.el (calc-lu-power-reference): Rename from
8638 `calc-logunits-power-reference'.
8639 (calc-lu-field-reference): Rename from
8640 `calc-logunits-field-reference'.
8641
8642 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8643
40c2934b
SM
86442011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * minibuffer.el (completion-all-sorted-completions):
8647 Use :completion-cycle-penalty text property if present.
8648
b0911414
KM
86492011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8650
8651 * allout.el (allout-yank-processing): Adjust for new rebulleting
8652 regime so bullet being yanked is used without prompting the user
8653 for a choice.
8654
8a05b668
JB
86552011-03-16 Juanma Barranquero <lekktu@gmail.com>
8656
8657 * startup.el (command-line): Warn the user that _emacs is deprecated.
8658
5ba5fb81
JB
86592011-03-16 Juanma Barranquero <lekktu@gmail.com>
8660
8661 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8662 (delphi-verbose, delphi-comment-face, delphi-string-face)
8663 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8664 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8665 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8666 (delphi-new-comment-line, delphi-font-lock-defaults)
8667 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8668 Fix typos in docstrings.
8669
2dab465b
KM
86702011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8671
5ba5fb81 8672 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8673 Invert the roles of character and string values for INSTEAD, so a
8674 string is used for the more common case of a defaulting prompt.
8675
0adf5618
SM
86762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * progmodes/ruby-mode.el (ruby-backward-sexp):
8679 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8680 * play/gamegrid.el (gamegrid-make-face):
8681 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8682 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8683 * notifications.el (notifications-notify):
8684 * net/xesam.el (xesam-search-engines):
8685 * net/quickurl.el (quickurl-list-insert):
8686 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8687
d72700e5
CY
86882011-03-15 Chong Yidong <cyd@stupidchicken.com>
8689
8690 * startup.el (command-line): Update package subdirectory regexp.
8691
49c5410a
SM
86922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8693
c6eee9aa
SM
8694 * allout.el (allout-abbreviate-flattened-numbering)
8695 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8696
49c5410a
SM
8697 * subr.el (read-char-choice): Only show the cursor after the prompt,
8698 not after the answer.
8699
047b2bb9
KR
87002011-03-15 Kevin Ryde <user42@zip.com.au>
8701
8702 * help-fns.el (variable-at-point): Skip leading quotes, if any
8703 (bug#8253).
8704
0a57d256
SM
87052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8708 warning message.
8709
77c992bc
MA
87102011-03-14 Michael Albinus <michael.albinus@gmx.de>
8711
8712 * shell.el (shell): When called interactively, offer to change the
8713 shell file name on remote hosts.
8714
eebc475d
TZ
87152011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8716
8717 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8718 integration for LDAP parameters. The host, base, user or binddn,
8719 and secret tokens can be specified in a netrc file, for instance.
8720 This is optional because an `auth-source' parameter must be
8721 specified in the search attributes.
8722
9d05d1ba
JB
87232011-03-13 Juanma Barranquero <lekktu@gmail.com>
8724
8725 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8726
09d9db2c
GM
87272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8730 into declaration. Remove redundant and harmful binding.
8731
87322011-03-12 Eli Zaretskii <eliz@gnu.org>
8733
8734 * files.el (file-ownership-preserved-p): Pass `integer' as an
8735 explicit 2nd argument to `file-attributes'. If the file's owner
8736 is the Administrators group on Windows, and the current user is
8737 Administrator, consider that a match.
8738
8739 * server.el (server-ensure-safe-dir): Consider server directory
8740 safe on MS-Windows if its owner is the Administrators group while
8741 the current Emacs user is Administrator. Use `=' to compare
8742 numerical UIDs, since they could be integers or floats.
8743
219bd536
JB
87442011-03-12 Juanma Barranquero <lekktu@gmail.com>
8745
8746 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8747
f3afd36b
MA
87482011-03-12 Michael Albinus <michael.albinus@gmx.de>
8749
8750 Sync with Tramp 2.2.1.
8751
8752 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8753
8754 * net/trampver.el: Update release number.
8755
3aaaa6f1
SM
87562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8757
94642599
SM
8758 * progmodes/compile.el (compilation--previous-directory): Fix up
8759 various nil/dead-marker mismatches (bug#8014).
8760 (compilation-directory-properties, compilation-error-properties):
8761 Don't call it at a position past the one we're about to change.
8762
3aaaa6f1
SM
8763 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8764 Disable obsolescence warnings in the file that declares it.
8765
14239447
KM
87662011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8767
099c39a4
JB
8768 * allout-widgets.el (allout-widgets-tally):
8769 Initialize allout-widgets-tally as a hash table rather than nil to
8770 prevent mode-line redisplay warnings. Also, clarify the module
8771 description and fix a comment typo.
14239447 8772
135e287c
JB
87732011-03-11 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * help-fns.el (describe-variable): Don't complete keywords.
8776 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8777
ffbf300e
CY
87782011-03-10 Chong Yidong <cyd@stupidchicken.com>
8779
ba08b241
CY
8780 * emacs-lisp/package.el (package-version-join): Impose a standard
8781 string representation for pre/alpha/beta version lists.
8782 (package-unpack-single): Standardize the directory name by passing
8783 it through package-version-join.
8784 (package-strip-rcs-id): Accept any version string that does not
8785 signal an error in version-to-list.
ffbf300e 8786
f346fd6b
MA
87872011-03-10 Michael Albinus <michael.albinus@gmx.de>
8788
8789 * simple.el (delete-trailing-whitespace): Return nil for the
8790 benefit of `write-file-functions'.
8791
ccb55d27
GM
87922011-03-10 Glenn Morris <rgm@gnu.org>
8793
5ceaac0c
GM
8794 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8795
02da65ff
GM
8796 * vc/vc-git.el (vc-git-program): New option.
8797 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8798 (vc-git--call): Use it.
8799
b2f603cc
GM
8800 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8801
5772caab
GM
8802 * cus-edit.el (Custom-newline): If no button at point, look
8803 for a subgroup button at start-of-line. (Bug#2298)
8804
ccb55d27
GM
8805 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8806
ec6ecaed
JD
88072011-03-10 Julien Danjou <julien@danjou.info>
8808
8809 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8810 `cursor-type' is nil.
8811
9d5aa01d
JB
88122011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8813
8814 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8815
b6a5875b
KM
88162011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8817
8818 * allout.el Summary: Change so yank of distinctive-bullet items
8819 preserves the existing header prefix, rebulleting it if necessary,
8820 rather than replacing it. This is necessary for proper operation
8821 of cooperative addons like allout-widgets.
219bd536 8822 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8823 SOLICIT arg to INSTEAD, and interpret additionally a string value
8824 as alternate bullet to be used, instead of prompting the user for
8825 a bullet character.
8826
ee545c35
MA
88272011-03-09 Michael Albinus <michael.albinus@gmx.de>
8828
d86d2721
SM
8829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8830 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8831 `tramp-default-port'.
8832
c47971d7
DD
88332011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8834
8835 * net/rcirc.el (rcirc-handler-001): Remove useless
8836 with-rcirc-process-buffer.
8837 (rcirc-check-auth-status): Swap arguments to string-match.
8838
13522cb4
GM
88392011-03-09 Glenn Morris <rgm@gnu.org>
8840
0be6f4f1
GM
8841 * shell.el (shell-mode):
8842 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8843
13522cb4
GM
8844 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8845 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8846
515de2e3
CY
88472011-03-08 Chong Yidong <cyd@stupidchicken.com>
8848
8849 * emacs-lisp/package.el (package-refresh-contents)
8850 (package-menu-execute): Use condition-case-no-debug.
8851
b511b994
MA
88522011-03-08 Michael Albinus <michael.albinus@gmx.de>
8853
8854 * simple.el (shell-command-to-string): Use `process-file'.
8855
8856 * emacs-lisp/package.el (package-tar-file-info): Handle also
8857 remote files.
8858
d86d2721
SM
8859 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8860 Use `equal' for upload base check.
b511b994 8861
25bbfb31
AM
88622011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8863
8864 * textmodes/texinfo.el (texinfo-environments):
8865 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8866
be996521
GM
88672011-03-08 Glenn Morris <rgm@gnu.org>
8868
e9c8529f
GM
8869 * cus-start.el (cursor-in-non-selected-windows):
8870 Fix :set quoting oddness. (Bug#8192)
8871
be996521
GM
8872 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8873 in some setf expressions. (Bug#2159)
8874
2bb5649e
CY
88752011-03-08 Chong Yidong <cyd@stupidchicken.com>
8876
8877 * custom.el (custom-available-themes): Return themes in
8878 alphabetical order.
8879
33383987 8880See ChangeLog.15 for earlier changes.
e3d51b27
MR
8881
8882;; Local Variables:
8883;; coding: utf-8
e3d51b27
MR
8884;; End:
8885
33383987 8886 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8887
8888 This file is part of GNU Emacs.
8889
8890 GNU Emacs is free software: you can redistribute it and/or modify
8891 it under the terms of the GNU General Public License as published by
8892 the Free Software Foundation, either version 3 of the License, or
8893 (at your option) any later version.
8894
8895 GNU Emacs is distributed in the hope that it will be useful,
8896 but WITHOUT ANY WARRANTY; without even the implied warranty of
8897 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8898 GNU General Public License for more details.
8899
8900 You should have received a copy of the GNU General Public License
8901 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.