* lisp/tutorial.el (help-with-tutorial): Avoid an error on short screens.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8e999f70
GM
12011-08-20 Glenn Morris <rgm@gnu.org>
2
c21a496a
GM
3 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4
59ee0542
GM
5 * tutorial.el (tutorial--default-keys): Update some default bindings.
6
8e999f70
GM
7 * files.el (hack-local-variables): Fully ignore case for "mode:".
8
e3715033
AM
92011-08-20 Alan Mackenzie <acm@muc.de>
10
11 Resolve invalid use of a regexp in regexp-opt.
12
13 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
14 for a java annotation.
15
16 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
17 detection for a java annotation.
18
19 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
20 for java.
21 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22
04ed2e9c
CY
232011-08-20 Chong Yidong <cyd@stupidchicken.com>
24
25 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
26 (Bug#9274).
27
826cee64
AM
282011-08-20 Alan Mackenzie <acm@muc.de>
29
30 * Fontify CPP expressions correctly when starting in the middle of
31 such a construct. Mainly for when jit-lock etc. starts a chunk
32 here.
33
34 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
35 variable.
36 (c-make-font-lock-search-form): new function, extracted from
37 c-make-font-lock-search-function.
38 (c-make-font-lock-search-function): Use the above function.
39 (c-make-font-lock-context-search-function): New function.
40 (c-cpp-matchers): Enhance the preprocessor expression case with
41 the above function
42 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
43 which takes an expression.
44
45 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
46
13009bd8
MR
472011-08-20 Martin Rudalics <rudalics@gmx.at>
48
49 * window.el (display-buffer-reuse-window)
50 (display-buffer-pop-up-window): Don't reuse or split a side
51 window.
52
9234ff7f
GM
532011-08-19 Glenn Morris <rgm@gnu.org>
54
55 * files.el (hack-local-variables-prop-line, hack-local-variables):
56 Downcase "Mode:". (Bug#9331)
57
f635daa1
CY
582011-08-18 Chong Yidong <cyd@stupidchicken.com>
59
60 * international/characters.el: Add L and R categories.
61
62 * subr.el (bidi-string-mark-left-to-right): Rename from
63 string-mark-left-to-right. Use category search.
64
65 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
66
bc987f8b
JL
672011-08-18 Juri Linkov <juri@jurta.org>
68
69 * faces.el (error, warning, success): New faces with definitions
70 copied from old default values of `font-lock-warning-face',
71 `compilation-warning', `compilation-info' (bug#6117).
72
73 * font-lock.el (font-lock-warning-face): Inherit from `error'.
74
75 * progmodes/compile.el (compilation-error): Inherit from `error'.
76 (compilation-warning): Inherit from `warning'.
77 (compilation-info): Inherit from `success'.
78
79 * dired.el (dired-marked): Inherit from `warning'.
80 (dired-flagged): Inherit from `error'.
81
57173b96
LMI
822011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
83
3e79eb87
LMI
84 * mail/smtpmail.el (auth-source): Require to avoid problems with
85 binding variables (bug#9298). Also clean up some unused
86 autoloads.
87
57173b96
LMI
88 * net/network-stream.el (network-stream-open-starttls): Support
89 using starttls.el without using gnutls-cli.
90
02b404de
JL
912011-08-17 Juri Linkov <juri@jurta.org>
92
93 * progmodes/grep.el (rgrep): Handle the case when
94 `grep-find-command' is a cons cell (bug#9278).
95
8c9177f2
MR
962011-08-17 Martin Rudalics <rudalics@gmx.at>
97
98 * window.el (display-buffer-pop-up-frame): Run frame creation
99 function with BUFFER current (as special-display-popup-frame
100 does). Reported by Drew Adams.
101
3644a0ab
DU
1022011-08-17 Daiki Ueno <ueno@unixuser.org>
103
104 * epa-mail.el: Simplify GnuPG group expansion using
105 epg-expand-group.
106 (epa-mail-group-alist, epa-mail-group-modtime)
107 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
108 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
109 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
110 Remove.
111
7c643369
FL
1122011-08-16 Feng Li <fengli@gmail.com> (tiny change)
113
114 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
115
9c4aeabf
AM
1162011-08-16 Alan Mackenzie <acm@muc.de>
117
118 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
119 Correct, to avoid the inside of macros.
120
3a99bf64
RS
1212011-08-16 Richard Stallman <rms@gnu.org>
122
04963aa8
RS
123 * epa-mail.el: Handle GnuPG group definitions.
124 (epa-mail-group-alist, epa-mail-group-modtime)
125 (epa-mail-gnupg-conf-file): New variables.
126 (epa-mail-parse-groups, epa-mail-sync-groups)
127 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
128 (epa-mail-expand-recipients): New functions.
129 (epa-mail-encrypt): Call epa-mail-expand-recipients.
130
177549d0
RS
131 * mail/rmail.el (rmail-epa-decrypt): New command.
132
fe38beef
RS
133 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
134 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
135 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
136 (epa-decrypt-armor-in-region): Make error message clearer.
137
934eacb9
SM
1382011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
141 and "a2b" to "ab" for `prefix'.
142
d024fb4e
CY
1432011-08-14 Chong Yidong <cyd@stupidchicken.com>
144
145 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
146 filter groups.
de148fee
CY
147 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaƫl
148 Fourquet (Bug#8804).
d024fb4e 149
62f1ca49
JB
1502011-08-12 Juanma Barranquero <lekktu@gmail.com>
151
152 * startup.el (argi): Declare as global variable (bug#9275).
153
9ccaaa4b
CY
1542011-08-12 Chong Yidong <cyd@stupidchicken.com>
155
156 * subr.el (string-mark-left-to-right): Search the entire string
157 for RTL script, not just the terminating character. Doc fix.
158
a3dae87a
SM
1592011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
160
6cd18349
SM
161 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
162 New function.
163 (js--regexp-literal, js-syntax-propertize-function): Remove.
164 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
165 (js-mode-map): Don't rebind electric keys.
166 (js-insert-and-indent): Remove.
167 (js-mode): Setup electric-layout and electric-indent instead.
168
a3dae87a
SM
169 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
170
9d5cb631
DU
1712011-08-12 Daiki Ueno <ueno@unixuser.org>
172
173 * epa.el (epa-progress-callback-function): Fix the logic of
174 displaying progress.
175 * epa-file.el (epa-file-insert-file-contents): Make progress
176 display more user-friendly.
177 (epa-file-write-region): Ditto.
178
3e26a4a2
CY
1792011-08-10 Chong Yidong <cyd@stupidchicken.com>
180
181 * subr.el (string-mark-left-to-right): New function.
182
183 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
184 Use string-mark-left-to-right.
185 (list-buffers-noselect): Caller changed.
186
a3dae87a
SM
187 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
188 Use string-mark-left-to-right.
3e26a4a2
CY
189 (tabulated-list-print): Recenter after moving point.
190
ac8cf6e6
JL
1912011-08-10 Juri Linkov <juri@jurta.org>
192
193 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
194 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
195 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
196
8d96c9a4
CY
1972011-08-09 Chong Yidong <cyd@stupidchicken.com>
198
199 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
200 (Bug#7554).
201
7be1c708 2022011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
203
204 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
205 character. (Bug#6594)
206
37e11a63
CY
2072011-08-08 Chong Yidong <cyd@stupidchicken.com>
208
839dde57
CY
209 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
210 (image-dired--with-db-file): New macro.
211 (image-dired-write-tags, image-dired-remove-tag)
212 (image-dired-create-gallery-lists, image-dired-write-comments)
213 (image-dired-get-comment, image-dired-mark-tagged-files)
214 (image-dired-list-tags, image-dired-gallery-generate): Use it.
215 (image-dired-gallery-generate): Use insert-file-contents.
216
37e11a63
CY
217 * time.el (display-time-world-list, display-time-world-display):
218 * time-stamp.el (time-stamp-string):
219 * vc/add-log.el (add-change-log-entry): Use setenv instead of
220 set-time-zone-rule (Bug#7337).
221
0b4946c4
DU
2222011-08-08 Daiki Ueno <ueno@unixuser.org>
223
224 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
225 (epg-error-to-string, epg-errors-to-string): New function.
226 (epg-wait-for-completion): Reverse errors list.
227 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
228 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
229 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
230 (epg-sign-keys, epg-generate-key-from-file)
231 (epg-generate-key-from-string): Format errors by using
232 epg-errors-to-string (bug#9255).
233 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
234
75bfc667
JL
2352011-08-07 Juri Linkov <juri@jurta.org>
236
237 * faces.el (list-faces-display): Remove extra angle bracket
238 from `help-mode-map'.
239
240 * info.el (Info-history-toc-nodes): Doc fix.
241
242 * longlines.el (longlines-mode): Doc fix.
243
673e08bb
SM
2442011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
245
4640dd88
SM
246 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
247 of statements and in a few more cases (bug#9183).
248
673e08bb
SM
249 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
250 New functions.
251 (cl-transform-lambda): Use them (bug#9239).
252
89b3f019
MR
2532011-08-05 Martin Rudalics <rudalics@gmx.at>
254
255 * window.el (display-buffer-same-window)
256 (display-buffer-same-frame, display-buffer-other-window)
257 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
258 (pop-to-buffer-other-window)
259 (pop-to-buffer-same-frame-other-window)
260 (pop-to-buffer-other-frame): Make them defuns.
261 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
262
640c8776
SM
2632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * subr.el (make-composed-keymap): Move from C. Change calling
266 convention, and improve docstring to bring attention to a subtle point.
267 * minibuffer.el (completing-read-default): Adjust accordingly.
268
63648a95
MA
2692011-08-03 Michael Albinus <michael.albinus@gmx.de>
270
271 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
272 (tramp-open-shell): Use `tramp-shell-quote-argument'.
273
274 * net/trampver.el: Update release number.
275
b796c9b7
SM
2762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
279 "in" (bug#9190).
280
2239d7d5
LMI
2812011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
282
e07dd7c3
LMI
283 * mail/sendmail.el (sendmail-query-once): Restore the current
284 buffer after querying (bug#9074).
285
0e6a2bd7
LMI
286 * dired.el (dired-flagged): Use different faces for marked and
287 flagged files (bug#6117).
288
ce887515
LMI
289 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
290 (bug#4433).
291
92f2affc
LMI
292 * ido.el (ido-mode): Switch off the message if called
293 non-interactively.
294
57d5aff0
LMI
295 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
296 before 587, since it appears that that's more likely to work for
297 more people.
298
98cd6c18
LMI
299 * cus-edit.el (custom-file): When running under emacs -q, always
300 refuse to save the customisations, even if the .emacs file doesn't
301 exist.
302
b96dec83
LMI
303 * info.el: Remove the `Info-beginning-of-buffer' function
304 (bug#8325).
305
b796c9b7
SM
306 * net/network-stream.el (network-stream-open-starttls):
307 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 308
d90e2ea0
MR
3092011-08-01 Martin Rudalics <rudalics@gmx.at>
310
311 * window.el (display-buffer-in-window): Don't set dedicated status
312 of window here (Bug#9215).
313 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
314 (display-buffer-pop-up-side-window)
b796c9b7 315 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 316
cca09170
SM
3172011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
320 before binding generated-autoload-file.
321
027b979c
DD
3222011-08-01 Deniz Dogan <deniz@dogan.se>
323
324 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
325
3c7ee4f3
MA
3262011-07-30 Michael Albinus <michael.albinus@gmx.de>
327
328 Sync with Tramp 2.2.2.
329
330 * net/trampver.el: Update release number.
331
2cc8e51a
JL
3322011-07-30 Juri Linkov <juri@jurta.org>
333
334 * dired-aux.el (dired-touch-initial): Remove function.
335 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
336 current time, and `default' to the last modification time of the
337 current marked file (bug#6887).
338
a514d856
JM
3392011-07-28 Jose E. Marchesi <jemarch@gnu.org>
340
341 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 342 numeric argument to read-number (bug#9163).
a514d856 343
8a7eddd7
MA
3442011-07-27 Michael Albinus <michael.albinus@gmx.de>
345
346 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
347 connection process, it could be nil.
348
1ddd96f5
LL
3492011-07-27 Leo Liu <sdl.web@gmail.com>
350
351 Simplify url handling in rcirc-mode.
352
353 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
354 (rcirc-browse-url-at-mouse): Remove.
355 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
356
b248a85d
AM
3572011-07-26 Alan Mackenzie <acm@muc.de>
358
359 Fontify bitfield declarations properly.
360
361 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
362 (c-symbol-chars): Now exported as a lang variable.
363 (c-not-primitive-type-keywords): New lang variable.
364
365 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
366 QT keyword "more" to prevent "more slots: ...." being spuriously
367 parsed as a bitfield declaraion.
368
b796c9b7
SM
369 * progmodes/cc-engine.el (c-beginning-of-statement-1):
370 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
371 (c-punctuation-in): New function.
372 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
373 declarations properly.
374
68575ab0
UJ
3752011-07-26 Ulf Jasper <ulf.jasper@web.de>
376
377 * calendar/icalendar.el (icalendar--all-events): Take care of
378 multiple vcalendars in a single file.
b796c9b7 379 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 380
0f0a88b9
DD
3812011-07-25 Deniz Dogan <deniz@dogan.se>
382
383 * image.el (insert-image): Clarifying docstring.
384
0b3f36df
MA
3852011-07-24 Michael Albinus <michael.albinus@gmx.de>
386
387 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
388 `tramp-send-command-and-check' if there is no error.
389 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
390
a9901f61
AM
3912011-07-22 Alan Mackenzie <acm@muc.de>
392
393 Prevent cc-langs.elc being loaded at run time.
394
395 * progmodes/cc-mode.el: Remove two autoload forms which loaded
396 cc-langs.
397
398 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
399 "(require 'cc-langs)". Quote a form so it will evaluate at
400 (cc-mode's) compilation time.
401
11d074b2
MA
4022011-07-22 Michael Albinus <michael.albinus@gmx.de>
403
404 * net/tramp.el (tramp-file-name-handler): Avoid recursive
405 loading. (Bug#9114)
406
938b94c8
MR
4072011-07-21 Martin Rudalics <rudalics@gmx.at>
408
409 * window.el (display-buffer-pop-up-window)
410 (display-buffer-pop-up-side-window)
411 (display-buffer-in-side-window): Call display-buffer-set-height
412 and display-buffer-set-width after setting the new window's
b796c9b7 413 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 414
bfa4f190
SS
4152011-07-20 Sam Steingold <sds@gnu.org>
416
417 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
418 (etags-tags-included-tables): Call `convert-standard-filename' on
419 the file names contained in TAGS so that windows Emacs can handle
420 TAGS files created by cygwin ctags.
421
8ca42262
LMI
4222011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
423
424 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
425 which apparently didn't work.
426
5db2afd2 4272011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 428
5db2afd2
RW
429 * proced.el (proced-send-signal): For *Marked Processes* buffer
430 put point at beginning of buffer.
431
92e15d10
SB
4322011-07-19 Stephen Berman <stephen.berman@gmx.net>
433
434 * proced.el (proced-format): Make header lines align with the text
435 (bug#1779).
436
1bfd59e5
LMI
4372011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
438
439 * view.el (view-buffer): Allow running in `special' modes if we're
440 visiting a file (bug#8615).
441
f5aae37c
MR
4422011-07-19 Martin Rudalics <rudalics@gmx.at>
443
444 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
445 (display-buffer-alist-set-1, display-buffer-alist-set-2):
446 New functions.
f5aae37c
MR
447 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
448 more accurately.
449
bf2c1571
AM
4502011-07-18 Alan Mackenzie <acm@muc.de>
451
452 Fontify declarators properly when, e.g., a jit-lock chunk begins
453 inside a declaration.
454
455 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
456
b796c9b7
SM
457 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
458 New function.
bf2c1571
AM
459 (c-complex-decl-matchers): Insert reference to
460 c-font-lock-enclosing-decls.
461
462 * progmodes/cc-engine.el (c-backward-single-comment):
463 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
464 to nil around calls to (forward-comment -1).
465
4e190b80
LMI
4662011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
467
12dc863d
LMI
468 * image.el (put-image): Doc typo fix.
469
a762e966
LMI
470 * progmodes/etags.el (tags-search): Doc typo fix.
471
4e190b80
LMI
472 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
473 password if we get errors 550 to 554.
474
f019fb21
LMI
4752011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
476
b796c9b7 477 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 478
81746738
LMI
479 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
480 indentation character (bug#6380).
481
3ee3a1b5
LMI
482 * files.el (buffer-offer-save): Made permanently local (bug#6241).
483
c82f64de
LMI
484 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
485 to clarify what the problem is (bug#4291).
486
f019fb21
LMI
487 * simple.el (current-kill): Clarify what
488 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
489 (auto-fill-mode): Document `auto-fill-function' in relation to
490 `auto-fill-mode' (bug#2470).
f019fb21 491
0794775d
LM
4922011-07-16 Lawrence Mitchell <wence@gmx.li>
493
494 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
495 method if slot is read-only (bug#9035).
496
be39b8cc
MR
4972011-07-16 Martin Rudalics <rudalics@gmx.at>
498
b796c9b7 499 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 500 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
501 selected before, see discussion of (Bug#8615), (Bug#6954).
502 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 503
6ccf7859
GM
5042011-07-15 Glenn Morris <rgm@gnu.org>
505
506 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 507 Respect help-form.
6ccf7859 508
87e86684
LM
5092011-07-09 Lawrence Mitchell <wence@gmx.li>
510
511 * net/gnutls.el (gnutls-min-prime-bits): New variable.
512 (gnutls-negotiate): Use it.
513
d6066239
LMI
5142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
515
b796c9b7
SM
516 * net/gnutls.el (gnutls-negotiate):
517 Upcase `gnutls-algorithm-priority'.
d6066239 518
bd23ebc0
GM
5192011-07-15 Glenn Morris <rgm@gnu.org>
520
c65bca65
GM
521 * jka-compr.el (jka-compr-verbose): Move from here...
522 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
523 Add missing :version tag.
524 * info.el: No need to require jka-compr when compiling.
bd23ebc0 525
478615cc
LMI
5262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
527
7b41decb
LMI
528 * net/gnutls.el (gnutls-algorithm-priority): New variable.
529 (gnutls-negotiate): Use it.
530
dbc44fcd
LMI
531 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
532
06789f97
LMI
533 * info.el (Info-beginning-of-buffer): New command.
534 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
535 announcing `b' as the key (bug#8325).
ab896c37 536 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 537
c39da690
LMI
538 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
539
3aa5f34b
LMI
540 * international/mule-cmds.el
541 (describe-specified-language-support): Make the error message
542 clearer (bug#8905).
543
4bf0979f
LMI
544 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
545
478615cc
LMI
546 * isearch.el (isearch-barrier): Add a doc string, since it's
547 mentioned in a function doc string (bug#8678).
548
75c68aa1
MR
5492011-07-15 Martin Rudalics <rudalics@gmx.at>
550
551 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
552 buffer argument (Bug#9083) and self-identifying label argument.
553
a7c33da2
GM
5542011-07-15 Glenn Morris <rgm@gnu.org>
555
556 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
557
2f5c6024
LMI
5582011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
559
560 * man.el (Man-fontify-manpage): Fix message when formatting the
561 man page (bug#7929).
562
0bb23927 5632011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
564
565 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
566 argument LRM; if non-nil, append an invisible LRM character to the
567 buffer name.
568 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
569 last argument non-nil, when formatting buffer names.
0bb23927
EZ
570 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
571 paragraph direction.
cce4b0a7 572
621ef9ab
LMI
5732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
d1583c48
LMI
575 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
576 the man page name (bug#7929).
577
6a57fb5f
LMI
578 * image.el (put-image): Mention the `put-image' overlay property
579 (bug#7834).
580
d7956b14
LMI
581 * scroll-bar.el (set-scroll-bar-mode): Mention that
582 `scroll-bar-mode' lists the values (bug#7772).
583
5b2d4a66
LMI
584 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
585 command (bug#7729).
586
7509a874
LMI
587 * rect.el (apply-on-rectangle): Return the point after the last
588 operation.
589 (string-rectangle): Go to the point after the last operation
590 (bug#7522).
591
4fe74b19
LMI
592 * printing.el (pr-toggle-region): Clarify the documentation
593 slightly (bug#7493).
594
b796c9b7
SM
595 * time.el (display-time-update):
596 Allow `display-time-mail-function' to return nil (bug#7158).
597 Fix suggested by Detlev Zundel.
ab283561 598
fc233c9d
LMI
599 * vc/diff.el (diff): Clarify the order the file names are read
600 (bug#7111).
601
43f5740b
LMI
602 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
603 the doc string (bug#7015).
604
f2182a76
LMI
605 * font-lock.el (font-lock-maximum-decoration): Mention what
606 numeric levels mean (bug#6935).
607
621ef9ab
LMI
608 * startup.el (initial-buffer-choice): Don't mention the `none'
609 selection, which is against policy.
610
adc47434
MR
6112011-07-14 Martin Rudalics <rudalics@gmx.at>
612
b796c9b7
SM
613 * window.el (display-buffer-normalize-special):
614 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 615
7e5bfb8f
EZ
6162011-07-14 Eli Zaretskii <eliz@gnu.org>
617
618 * subr.el (version<, version<=, version=): Mention "-CVS" and
619 "-12345" alpha version numbers.
620
27fa387a
CY
6212011-07-14 Chong Yidong <cyd@stupidchicken.com>
622
623 * bindings.el: Add advertised binding for set-mark-command
624 (Bug#5772).
625
8bdfa064
CY
6262011-07-14 Chong Yidong <cyd@stupidchicken.com>
627
628 * bindings.el (mode-line-other-buffer):
629 * bookmark.el (bookmark-bmenu-2-window):
630 * bs.el (bs-cycle-next, bs-cycle-previous):
631 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
632 switch-to-buffer.
633
634 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 635 Delete.
8bdfa064 636
5eba16a3
JB
6372011-07-14 Juanma Barranquero <lekktu@gmail.com>
638
639 * follow.el (follow-debug-message, follow-redisplay):
640 * jka-cmpr-hook.el (with-auto-compression-mode):
641 Fix typos in docstrings.
642
15853710
LMI
6432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
644
a28e4607
LMI
645 * subr.el (with-silent-modifications): Clarify somewhat what the
646 macro inhibits (bug#6525).
647
15853710
LMI
648 * simple.el (eval-expression): Note what it does if called
649 interactively (bug#6495).
650
bee0fcef
CY
6512011-07-13 Chong Yidong <cyd@stupidchicken.com>
652
b796c9b7
SM
653 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
654 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
655
656 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
657 Remove switch-to-buffer.
658
58274504
LMI
6592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
660
bd2fcc8d
LMI
661 * files.el (make-directory): Clarify that an error will be raised
662 if there's an error (bug#6397).
663
0f04b32c
LMI
664 * startup.el (initial-buffer-choice): Add `none' as a choice
665 (bug#6234).
666
465c5fc8
LMI
667 * subr.el (add-hook): Clarify section about buffer-local hooks
668 (bug#6218).
669
58274504
LMI
670 * dired.el (dired-flagged): Clarify doc string (bug#6117).
671
bead9a43
JB
6722011-07-13 Juanma Barranquero <lekktu@gmail.com>
673
674 * tabify.el (untabify): Preserve the current column so that point
675 doesn't move (bug#6032).
676
3af98a7b
LMI
6772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
678
b796c9b7
SM
679 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
680 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 681
6240145a
GM
6822011-07-13 Glenn Morris <rgm@gnu.org>
683
684 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
685 (dired-insert-directory): Give a message the first time
686 if ls is found not to support --dired.
687
1d8c2ccc
LMI
6882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
689
690 * simple.el (toggle-truncate-lines): Clarify what is toggled
691 (bug#5580). Text by Drew Adams.
692
5fc4038e
CY
6932011-07-13 Chong Yidong <cyd@stupidchicken.com>
694
695 * simple.el (blink-matching-open): Make the error message from the
696 last change less verbose.
697
bf6012e5
DN
6982011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
699
700 * font-lock.el (font-lock-comment-face): Use the high contrast
701 "yellow" color for font-lock-comment-face on low color terminals
702 using a dark background color (bug#4221).
703
343c3b5a
LMI
7042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
705
7e9505c5
LMI
706 * dired.el (dired-insert-set-properties): Make the doc string
707 reflect what it does now (bug#5325).
708
c26fdcf5
LMI
709 * simple.el (blink-matching-open): Say that we were unable to find
710 the match within the limit, if we're limited (bug#5122).
711
bb388cc5
LMI
712 * international/mule-cmds.el (prefer-coding-system): Add an
713 example (bug#4869).
714
343c3b5a
LMI
715 * progmodes/etags.el (tags-search): Document `file-list-form'
716 (bug#4731).
717
2a517d45
LM
7182011-07-13 Lawrence Mitchell <wence@gmx.li>
719
720 * net/browse-url.el (browse-url-default-browser)
721 (browse-url-browser-function): Make the default browser choice a
722 bit more logical (bug#4300). Also clean up the doc string.
723
b6c78ef2
JB
7242011-07-13 Juanma Barranquero <lekktu@gmail.com>
725
726 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
727 binary endings (bug#4440).
728
1c4dd947
LMI
7292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
730
a2014063
LMI
731 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
732 which can be pretty annoying (bug#8971).
733
9c9c2d88
LMI
734 * jka-compr.el (jka-compr-verbose): New variable, and use
735 throughout (bug#8971).
736
1c4dd947
LMI
737 * info.el (Info-find-file): Fall back on the installation
738 directory if we can't find the info node anywhere else.
739
a1c9f41b
SO
7402011-07-13 Sergei Organov <osv@javad.com> (tiny change)
741
742 * vc/vc.el (vc-revert-file):
743 Don't set file time-stamp in the past. (Bug#5181)
744
536f3d36
LMI
7452011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
746
7152b011
LMI
747 * files.el (after-find-file): Give a better error message when
748 trying to find a symlink that points to a file that doesn't exist
749 (bug#4398).
750
536f3d36
LMI
751 * progmodes/cc-vars.el: Remove (probably) misleading comment
752 (bug#4396).
753
460c0fba
JB
7542011-07-12 Johan BockgƄrd <bojohan@gnu.org>
755
756 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
757
7a6bda45
CY
7582011-07-12 Chong Yidong <cyd@stupidchicken.com>
759
760 * mouse-sel.el: Hack restoring functionality, while keeping
761 compatibility with 2010-07-03 changes to mouse selection.
762 (mouse-sel-primary-overlay): New var.
763 (mouse-sel-selection-alist): Use it.
764 (mouse-sel-mode): Doc fix; remove points that are default features
765 of mouse.el.
766
c79598ef
JB
7672011-07-12 Johan BockgƄrd <bojohan@gnu.org>
768
769 * progmodes/compile.el (compilation-error-regexp-alist-alist):
770 Fix previous fix (bug#2490).
771
ff8be6ef
RW
7722011-07-12 Roland Winkler <winkler@gnu.org>
773
b796c9b7
SM
774 * textmodes/bibtex.el (bibtex-initialize):
775 Use pop-to-buffer-same-window.
ff8be6ef
RW
776 (bibtex-search-entries): Fix interactive call.
777
296ba3ee
LMI
7782011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
779
f5242a02 780 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
781 Fontise bytecomp Error lines more correctly (bug#2490).
782 Fix suggested by Johan BockgƄrd.
f5242a02 783
296ba3ee
LMI
784 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
785
786 * dired-x.el (dired-guess-default): Use `delete-dups'.
787
f69fd0d2
CY
7882011-07-12 Chong Yidong <cyd@stupidchicken.com>
789
790 * dired.el (dired-mark-prompt):
791 * dired-aux.el (dired-read-shell-command): Doc fix.
792
eab5dc07
LMI
7932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
794
b796c9b7
SM
795 * mail/sendmail.el (sendmail-query-once):
796 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
797 emacs -Q.
798
799 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
800
eab5dc07
LMI
801 * cus-edit.el (custom-file): Take an optional no-error variable.
802 (customize-save-variable): Set the variable, and give a warning if
803 running under "emacs -q".
804
a1e65d42
JB
8052011-07-11 Juanma Barranquero <lekktu@gmail.com>
806
807 * loadhist.el (unload-feature-special-hooks):
808 Add `auto-coding-functions', `fill-nobreak-predicate' and
809 `find-directory-functions' (bug#5327).
810
1d52da10
LMI
8112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
812
be958f1d
LMI
813 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
814
5bedb26c
LMI
815 * cus-edit.el (custom-guess-name-alist): -alist variables should
816 use the `alist' type (bug#3120). Suggested by Drew Adams.
817
1d52da10
LMI
818 * printing.el: Add documentation to all the `pr-toggle-' commands.
819
481a51b6
LL
8202011-07-11 Leo <sdl.web@gmail.com> (tiny change)
821
822 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
823 backends where it makes sense (bug#2623).
824
dcc88d8a
LMI
8252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
826
c3de9feb
LMI
827 * dired-x.el (dired-guess-default): Remove duplicate shell command
828 entries (bug#2028).
8a93078b 829 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 830 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 831
dcc88d8a
LMI
832 * subr.el (remove-duplicates): New conveniency function.
833
505e3645
LMI
8342011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
835
836 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
837 (bug#1526).
838
8392011-07-10 Martin Rudalics <rudalics@gmx.at>
840
841 * window.el (display-buffer-normalize-default): Don't invert
842 meaning of even-window-heights. Reported by Eli Zaretskii
843 <eliz@gnu.org>.
844
455e4fa1
BR
8452011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
846
847 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
848
8e0bc3e9
CY
8492011-07-10 Chong Yidong <cyd@stupidchicken.com>
850
851 * window.el (display-buffer): Fix arguments to
852 display-buffer-reuse-window in last change.
853
fa7c3228
CY
854 * faces.el (link): Use a less saturated blue on light backgrounds.
855
856 * startup.el (fancy-startup-text, fancy-about-text)
857 (fancy-startup-tail): Use font-lock faces, for background safety.
858
c0a7f300
BN
8592011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
860
b796c9b7
SM
861 * emulation/viper-cmd.el (viper-change-state-to-vi):
862 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 863
4dc2a129
MR
8642011-07-09 Martin Rudalics <rudalics@gmx.at>
865
866 * window.el (display-buffer-default-specifiers): Remove.
867 (display-buffer-macro-specifiers): Remove default specifiers.
868 (display-buffer-alist): Default to nil.
b796c9b7 869 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
870 (display-buffer-pop-up-window): Allow splitting internal
871 windows. Check whether a live window was created.
872 (display-buffer-other-window-means-other-frame)
873 (display-buffer-normalize-arguments): Rename to
874 display-buffer-normalize-argument and rewrite. Set the
875 other-window specifier.
876 (display-buffer-normalize-special): New function.
877 (display-buffer-normalize-options): Rename to
878 display-buffer-normalize-default and rewrite.
879 (display-buffer-normalize-options-inhibit): Remove.
880 (display-buffer-normalize-specifiers): Rewrite.
881 (display-buffer): Process other-window specifier and call
882 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
883 more faithfully.
b796c9b7 884 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 885 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
886 (display-buffer-in-window, display-buffer-alist-set):
887 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
888 <tassilo@member.fsf.org>.
889
2d43b8c9
LL
8902011-07-09 Leo Liu <sdl.web@gmail.com>
891
892 * register.el (insert-register): Restore accidental change on
893 2011-06-26. (Bug#9028)
894
7f9b7c53
GM
8952011-07-09 Glenn Morris <rgm@gnu.org>
896
897 * subr.el (remq): Handle the empty list. (Bug#9024)
898
f042cfd8
AS
8992011-07-08 Andreas Schwab <schwab@linux-m68k.org>
900
901 * mail/sendmail.el (send-mail-function): No longer delay custom
902 initialization.
903 * custom.el (custom-initialize-delay): Doc fix.
904
856b2f11
SM
9052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
908
afae1d68
MA
9092011-07-08 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
912 human-friendly prompt.
913
0757af94
SM
9142011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
917 provided by a particular plugin.
918
d760b731
LMI
9192011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
920
921 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
922 save customizations (with "emacs -Q"), just set the variable
923 instead of erroring out.
924
925 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
926
cd79ce90
JL
9272011-07-08 Juri Linkov <juri@jurta.org>
928
929 * arc-mode.el (archive-zip-expunge, archive-zip-update)
930 (archive-zip-update-case): Use 7z if found by `executable-find'.
931 The order of searching the available programs is the same as in
932 `archive-zip-extract' (bug#8968).
933
14cc04aa
CY
9342011-07-07 Chong Yidong <cyd@stupidchicken.com>
935
936 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
937 (menu-bar-options-menu): Tweak descriptions.
938
0a1848ec
LMI
9392011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
940
941 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
942 menu items into verb phrases (bug#1421). Also refill to fit under
943 80 columns.
944
f5bd0689
CY
9452011-07-07 Chong Yidong <cyd@stupidchicken.com>
946
538e85c6
CY
947 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
948 (Info-read-node-name): Doc fix (Bug#1084).
949
f5bd0689
CY
950 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
951 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
952 (end-of-sexp, beginning-of-sexp)
953 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
954 (forward-symbol, forward-same-syntax, word-at-point)
955 (sentence-at-point): Doc fix (Bug#1144).
956
56ec5115
LMI
9572011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
958
f3f8e37f
LMI
959 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
960 should cover it (bug#1281).
961
0757af94 962 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 963
12b9eb35
LMI
964 * net/network-stream.el (network-stream-open-starttls): If gnutls
965 negotiation fails, then possibly try again with a non-encrypted
966 connection (bug#9017).
967
56ec5115
LMI
968 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
969 be used.
970
c2f9aec8
RS
9712011-07-07 Richard Stallman <rms@gnu.org>
972
973 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
974 property, and handle its changed format.
975 Look for the correct line number.
976 Use file's line contents (but not past first =) to find
977 correct line in message.
978
ef7b981d 9792011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
980
981 * international/characters.el (build-unicode-category-table):
982 Delete it.
0757af94 983 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 984
0757af94 985 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
986 to src/chartab.c.
987 (get-char-code-property): Call unicode-property-table-internal to
988 load a file. Call get-unicode-property-internal where necessary.
989 (put-char-code-property): Call unicode-property-table-internal to
990 load a file. Call put-unicode-property-internal where necessary.
991 put-unicode-property-internal where necessary.
0757af94
SM
992 (char-code-property-description):
993 Call unicode-property-table-internal to load a file.
c805dec0
KH
994
995 * international/charprop.el:
996 * international/uni-bidi.el:
997 * international/uni-category.el:
998 * international/uni-combining.el:
999 * international/uni-comment.el:
1000 * international/uni-decimal.el:
1001 * international/uni-decomposition.el:
1002 * international/uni-digit.el:
1003 * international/uni-lowercase.el:
1004 * international/uni-mirrored.el:
1005 * international/uni-name.el:
1006 * international/uni-numeric.el:
1007 * international/uni-old-name.el:
1008 * international/uni-titlecase.el:
1009 * international/uni-uppercase.el: Regenerate.
1010
1011 * loadup.el: Load international/charprop.el before
1012 international/characters.
1013
e14b388a
CY
10142011-07-07 Chong Yidong <cyd@stupidchicken.com>
1015
1016 * window.el (next-buffer, previous-buffer): Signal an error if
1017 called from a minibuffer window.
1018
1019 * bindings.el: Revert 2011-07-04 change.
1020
354cf0ba
RS
10212011-07-06 Richard Stallman <rms@gnu.org>
1022
1023 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1024 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1025 Treat markers like ints.
1026 (rmail-mime-entity): Doc fix.
1027
a48868a7
LMI
10282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1029
4906cd3d
LMI
1030 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1031 defcustom again for backwards compatibility.
1032
e0457abe
LMI
1033 * simple.el (shell-command-on-region): Fill.
1034
d67f7e1f
LMI
1035 * dired-aux.el (dired-kill-line): Add a doc string.
1036
fe204702
LMI
1037 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1038 to "\\sw\\|\\s_" (bug#358).
1039
a48868a7
LMI
1040 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1041 (dired-unmark-backward): Ditto.
1042 (dired-flag-backup-files): Ditto.
1043
1044 * dired-x.el (dired-mark-sexp): Ditto.
1045
aa8a705c
RS
10462011-07-06 Richard Stallman <rms@gnu.org>
1047
1048 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1049 (rmail-mime-entity): New arg TRUNCATED.
1050 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1051 New functions.
1052 (rmail-mime-save): Warn if entity is truncated.
1053 (rmail-mime-toggle-hidden): Likewise, for showing.
1054 (rmail-mime-process-multipart): Record when an entity is truncated.
1055
a9a936b9
RS
1056 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1057 if ENTITY is a string.
1058
1f2b92cb
LMI
10592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1060
f4f73198 1061 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
1062 of faces when `M-C-x'-ing their definitions (bug#8378).
1063 Also clean up the code slightly.
f4f73198 1064
12b16734
LMI
1065 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1066 because that makes the colours go away.
1067
f0691d22
LMI
1068 * mail/sendmail.el (send-mail-function): Change the default to
1069 `sendmail-query-once'.
9e87df06 1070 (sendmail-query-once): Add an autoload cookie.
f0691d22 1071
1f2b92cb
LMI
1072 * net/network-stream.el (network-stream-open-starttls): Try using
1073 a plain connection even if the server offered STARTTLS, and we
1074 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1075 capability. This should make smtpmail.el work in slightly more
1076 configurations.
1077
1cdd2a1b
MA
10782011-07-06 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1081 New defun.
1082 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1083
fbcc67e2
MM
10842011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1085
1086 * progmodes/sql.el: Version 3.0
0757af94 1087 (sql-product-alist): Add product :completion-object,
fbcc67e2 1088 :completion-column, and :statement attributes.
0757af94 1089 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 1090 (sql-mode-syntax-table): Mark all punctuation.
0757af94 1091 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
1092 ansi keywords.
1093 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 1094 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
1095 (sql-oracle-show-reserved-words): New function for development.
1096 (sql-product-font-lock): Simplify for source code buffers.
1097 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1098 New functions.
1099 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
1100 (sql-mode-map): Add statement movement functions.
1101 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1102 New variable.
fbcc67e2
MM
1103 (sql-statement-regexp, sql-beginning-of-statement)
1104 (sql-end-of-statement, sql-signum): New functions.
0757af94 1105 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
1106 (sql-show-sqli-buffer): Bug fix.
1107 (sql-interactive-mode): Store connection data as buffer local.
0757af94 1108 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
1109 with sql-interactive-mode.
1110 (sql-save-connection): Save buffer local settings.
0757af94 1111 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
1112 (sql-product-interactive): Bug fix.
1113 (sql-preoutput-hold): New variable.
1114 (sql-interactive-remove-continuation-prompt): Bug fixes.
1115 (sql-debug-redirect): New variable.
1116 (sql-str-literal): New function.
1117 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 1118 Redesign.
fbcc67e2
MM
1119 (sql-oracle-save-settings, sql-oracle-restore-settings)
1120 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1121 (sql-completion-object, sql-completion-column)
1122 (sql-completion-sqlbuf): New variables.
1123 (sql-build-completions-1, sql-build-completions)
1124 (sql-try-completion): New functions.
1125 (sql-read-table-name): Use them.
1126 (sql-contains-names): New buffer local variable.
1127 (sql-list-all, sql-list-table): Use it.
1128 (sql-oracle-completion-types): New variable.
1129 (sql-oracle-completion-object, sql-sqlite-completion-object)
1130 (sql-postgres-completion-object): New functions.
1131
d4eaeab1
GM
11322011-07-06 Glenn Morris <rgm@gnu.org>
1133
1134 * window.el (pop-to-buffer): Doc fix.
1135
322b7dab 11362011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
1137
1138 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1139
322b7dab 11402011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 1141
322b7dab 1142 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 1143
322b7dab 1144 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 1145
605dd5bf
CY
11462011-07-05 Chong Yidong <cyd@stupidchicken.com>
1147
1148 * button.el (button): Inherit from link face. Suggested by Dan
1149 Nicolaescu.
1150
7dbfa719
SM
11512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1152
3db614b0
SM
1153 * progmodes/gdb-mi.el: Fit in 80 columns.
1154 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1155 switch-to-buffer.
1156
7dbfa719
SM
1157 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1158 if imenu is simply not configured (bug#8941).
1159
919d884a
KM
11602011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1161
1162 * allout.el (allout-post-undo-hook): New allout outline-change
1163 event hook to signal undo activity.
1164 (allout-post-command-business): Run allout-post-undo-hook if an
1165 undo just occurred.
7dbfa719
SM
1166 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1167 * allout-widgets.el (allout-widgets-after-undo-function):
1168 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
1169 in the vicinity of an undo.
1170 (allout-widgets-mode): Include allout-widgets-after-undo-function
1171 on the new allout-post-undo-hook.
1172
450a0f09
SM
11732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1176 Let define-derived-mode define it.
1177 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1178 cycles of abbrev-table inheritance (bug#8998).
1179
2de69e00
RW
11802011-07-05 Roland Winkler <winkler@gnu.org>
1181
1182 * textmodes/bibtex.el: Add support for biblatex.
1183 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1184 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1185 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1186 (bibtex-entry-alist, bibtex-field-alist): New variables.
1187 (bibtex-entry-field-alist): Obsolete alias for
1188 bibtex-BibTeX-entry-alist.
1189 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1190 (bibtex-set-dialect): New command.
1191 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
1192 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1193 Bind via bibtex-set-dialect.
2de69e00
RW
1194 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1195 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1196 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1197 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1198 Define via bibtex-set-dialect.
450a0f09
SM
1199 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1200 Obey bibtex-no-opt-remove-re.
2de69e00
RW
1201 (bibtex-vec-push, bibtex-vec-incr): New functions.
1202 (bibtex-format-entry, bibtex-field-list)
1203 (bibtex-print-help-message, bibtex-validate)
1204 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1205
2dcdbdd9
SM
12062011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * progmodes/compile.el (compilation-goto-locus):
1209 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1210 * bs.el (bs-cycle-next, bs-cycle-previous):
1211 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1212 * bindings.el (mode-line-other-buffer):
1213 * autoinsert.el (auto-insert):
1214 * arc-mode.el (archive-extract):
1215 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1216
b27640fe
JB
12172011-07-05 Juanma Barranquero <lekktu@gmail.com>
1218
1219 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1220 Fix check of `emacs-lock-unlockable-modes'.
1221 Coerce true values of `emacs-lock--try-unlocking' to t.
1222
53bbe3ad
JB
12232011-07-05 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1226 * emacs-lock.el: New file.
1227
1d3cdbc7
JD
12282011-07-05 Julien Danjou <julien@danjou.info>
1229
1230 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1231 than `boundp' to check if face is set.
1232
9173deec
JB
12332011-07-05 Juanma Barranquero <lekktu@gmail.com>
1234
1235 * register.el (registerv-make):
1236 * window.el (window-min-height): Fix typos in docstrings.
1237
869795d6
JD
12382011-07-05 Jan DjƤrv <jan.h.d@swipnet.se>
1239
9173deec 1240 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
1241 Update doc string.
1242
b768cdcd
JB
12432011-07-04 Juanma Barranquero <lekktu@gmail.com>
1244
1245 * server.el (server-execute): Catch quit and call
1246 `server-return-error' to pass the error back to emacsclient and
1247 close the connection (bug#8942).
1248
13aa217b
KM
12492011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1250
1251 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1252 insecure exception for current topic. Also note that auto-saves
1253 are handled differently.
1254
1255 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1256 State variables for tracking auto-save inhibition situation.
1257
1258 (allout-write-contents-hook-handler): Rename from
1259 'allout-write-file-hook-handler', and describe how it depends on
1260 write-contents-functions sensitivity to non-nil value to prevent
1261 file write.
1262
1263 (allout-auto-save-hook-handler): Remove. auto-save does not check
1264 this in individual buffers, only in the starting buffer, so this
1265 is not the right way for us to inhibit auto-save in a buffer
1266 according to its condition.
1267
1268 (allout-mode): Use new allout-write-contents-hook-handler, and
1269 only with write-contents-functions. Remove auto-save provisions -
1270 they're implemented elsewhere.
1271
1272 (allout-before-change-handler): If undo is in progress, note that
1273 for attention of allout-post-command-business.
1274
1275 (allout-post-command-business): If the command we're following was
1276 an undo, check for change in the status of encrypted items and
1277 adjust auto-save inhibitions accordingly.
1278
1279 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1280 according to whether there are or aren't any plain-text topics
1281 pending encryption.
1282
2dcdbdd9
SM
1283 (allout-inhibit-auto-save-info-for-decryption):
1284 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
1285 there are plain-text topics pending encryption.
1286
1287 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1288 buffer-saved-size and some allout state to not inhibit auto-saves
1289 if there are no longer any plain-text topics pending encryption.
1290
0757af94
SM
1291 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1292 No longer provide for exemption of the current topic.
13aa217b 1293
ac89b32c
JL
12942011-07-04 Juri Linkov <juri@jurta.org>
1295
1296 Add 7z operations to delete and save changed members (bug#8968).
1297 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1298 New defcustoms.
1299 (archive-7z-write-file-member): New function.
1300 (archive-7z-summarize): Fix the number of dashes in the
1301 listing output.
1302
8fa39615
SM
13032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1306 (bug#8958).
1307
2f11b3f1
CY
13082011-07-04 Chong Yidong <cyd@stupidchicken.com>
1309
d66fef2b
CY
1310 * bindings.el: Ignore next-buffer and previous-buffer in
1311 minibuffer-local-map.
1312
2f11b3f1
CY
1313 * font-lock.el (font-lock-builtin-face): Change light background
1314 color to dark slate blue (Bug#6693).
1315
f932a347
WD
13162011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1317
1318 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1319
c8af70e1
SM
13202011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1323 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1324 Add switch-to-buffer.
1325
f158badc
LMI
13262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1327
1328 * isearch.el (isearch-search-fun-function): Clarify further the
1329 meaning of the function returned.
1330
6d95bd46
MA
13312011-07-04 Michael Albinus <michael.albinus@gmx.de>
1332
1333 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1334
1335 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1336 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1337 Use it.
1338 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1339 `tramp-default-remote-path' does not exist.
1340 (tramp-send-command-and-read): New optional argument NOERROR.
1341 (tramp-open-connection-setup-interactive-shell)
1342 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1343 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1344 (tramp-process-sentinel): Flush also process' connection property.
1345 (tramp-sh-handle-start-file-process): Do not set process
1346 sentinel. It is done now ...
1347 (tramp-maybe-open-connection): ... here. (Bug#8929)
1348
909e6b67
MK
13492011-07-04 MON KEY <monkey@sandpframing.com>
1350
1351 * play/animate.el (animate-string): Doc fixes and allow changing
1352 the buffer name (bug#5417).
1353
13542011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1355
c8af70e1 1356 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 1357
f34755dc
PE
13582011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1359
396cec72
PE
1360 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1361 This is simpler and helps future-proof the code.
1362 (timer-until): Use time-subtract and float-time.
08235028 1363 (timer--time-less-p): Use time-less-p.
f34755dc 1364
56e6cc31
JB
13652011-07-04 Juanma Barranquero <lekktu@gmail.com>
1366
3abb79e5
JB
1367 * type-break.el (timep): Use the value of `float-time' to avoid a
1368 byte-compiler warning.
1369
56e6cc31
JB
1370 * server.el (server-eval-and-print): Return any result, even nil.
1371
7b9430b4
PE
13722011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1373
1374 * type-break.el: Accept time formats that the builtins accept.
1375 (timep, type-break-time-difference): Accept any format that
1376 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1377 This is simpler and helps future-proof the code.
1378 (type-break-time-difference): Round rather than ignoring
1379 subseconds components.
1380
3034e9e7
LMI
13812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1382
1383 * info.el (Info-apropos-matches): Make non-interactive, since it
1384 doesn't seem to do anything useful as a command (bug#8829).
1385
1485f4c0
CY
13862011-07-03 Chong Yidong <cyd@stupidchicken.com>
1387
1388 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 1389 Move from faces.el.
1485f4c0
CY
1390 (frame-default-terminal-background): New function.
1391
1392 * custom.el (custom-push-theme): Don't record faces in `changed'
1393 theme; this doesn't work correctly for per-frame face settings.
1394 (disable-theme): Use face-set-after-frame-default to reset faces.
1395 (custom--frame-color-default): New function.
1396
9fa3dd45
LMI
13972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1398
c8af70e1 1399 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
1400 (bug#8769).
1401
6cbbc20c
KR
14022011-03-29 Kevin Ryde <user42@zip.com.au>
1403
1404 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1405 `perl-Test2' extend to match possible "fail #N" rep count
1406 (bug#8377).
1407
c7f98048
LMI
14082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1409
65676592
LMI
1410 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1411 `smtpmail-via-smtp' now returns the error instead of nil.
1412
c7f98048
LMI
1413 * isearch.el (isearch-search-fun-function): Clarify the doc string
1414 (bug#8101).
1415
56e6cc31 14162011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
1417
1418 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1419 unnecessary spaces (bug#8987).
1420
2b216704
LMI
14212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1422
1423 * net/network-stream.el (open-network-stream): Use the
1424 :end-of-capability command thoughout.
1425
14262011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1427
1428 * net/network-stream.el (open-network-stream): Add the
1429 :end-of-capability command parameter, used by pop3.el.
1430
36adf6ce
LMI
14312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1432
1ca0da0e
LMI
1433 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1434
fc00f69c
LMI
1435 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1436 for list)" (bug#6475).
1437
28fd8759
LMI
1438 * files.el (file-expand-wildcards): Ignore non-readable
1439 sub-directories while trying to find matches instead of signalling
1440 an error (bug#6297).
1441
0dd8b6da
LMI
1442 * man.el (Man-reference-regexp): Allow matching possible
1443 word-wrapped references (bug#6289).
1444
ce1438d6
LMI
1445 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1446 for consistency with the other vc buffers (bug#6197).
1447 (vc-checkin): Ditto.
1448
1449 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1450
36adf6ce
LMI
1451 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1452
e83cc1f7
LMI
14532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1454
8a20ca4c
LMI
1455 * custom.el (defcustom): Clarify that :set is only used in the
1456 Customize user interface (bug#6089).
1457
83319045
LMI
1458 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1459 associated with a file, refuse to run instead of erroring out
1460 (bug#6084).
1461
a8392169
LMI
1462 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1463 the doc string, since it appears that using `fill-column' always
1464 controls the width (bug#7845).
1465
e83cc1f7
LMI
1466 * simple.el (shell-command-on-region): Say where the error output
1467 went if `shell-command-default-error-buffer' is set (bug#6857).
1468
e47ca23b
KM
14692011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1470
1471 * allout.el (allout-yank-processing): Adjust cursor position for
1472 backwards-deleted space.
1473
1474 (allout-rebullet-heading): Register changes with
1475 allout-exposure-changed-hook, so the modified topic is properly
1476 decorated.
1477
5cf56143
LMI
14782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1479
08549772
LMI
1480 * minibuffer.el (completion-in-region): Document PREDICATE
1481 (bug#7136).
1482
48e96771
LMI
1483 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1484 of keyword/argument pairs (bug#6904).
1485
c8af70e1
SM
1486 * replace.el (multi-occur):
1487 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 1488
e17d05e2
LMI
14892011-07-02 Drew Adams <drew.adams@oracle.com>
1490
1491 * dired.el (dired-mark-if): Make the message about whether it's
1492 marking or unmarking clearer (bug#8523).
1493
063b0e45
LMI
14942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1495
1496 * disp-table.el (display-table-print-array): New function.
1497 (describe-display-table): Use it to print the vectors more pretty
1498 (Bug#8859).
1499
28545e04
MR
15002011-07-02 Martin Rudalics <rudalics@gmx.at>
1501
1502 * window.el (window-state-get-1): Don't assign clone numbers.
1503 Add clone-of item to list of window parameters.
1504 (window-state-put-2): Don't process clone numbers.
1505 (display-buffer-alist): Fix doc-string.
1506
3349e122
SM
15072011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * subr.el (remq): Don't allocate if it's not needed.
1510 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1511 (keymap--merge-bindings): New functions.
1512 (keymap-canonicalize): Use them to refine the canonicalization.
1513 * minibuffer.el (minibuffer-local-completion-map)
1514 (minibuffer-local-must-match-map): Move initialization from C.
1515 (minibuffer-local-filename-completion-map): Move initialization from C;
1516 don't inherit from anything here.
1517 (minibuffer-local-filename-must-match-map): Make obsolete.
1518 (completing-read-default): Use make-composed-keymap to combine
1519 minibuffer-local-filename-completion-map with either
1520 minibuffer-local-must-match-map or
1521 minibuffer-local-filename-completion-map.
1522
d224ac83
GM
15232011-07-01 Glenn Morris <rgm@gnu.org>
1524
3de63bf8
GM
1525 * type-break.el (type-break-time-sum): Use dolist.
1526
d224ac83
GM
1527 * textmodes/flyspell.el (flyspell-word-search-backward):
1528 Replace CL function.
1529
1a1e3f32
SM
15302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1531
fe3f64d5
SM
1532 * mouse.el (mouse--strip-first-event): New function.
1533 (function-key-map): Use it to map fringe clicks to normal clicks
1534 by default.
1535
eb604e34
SM
1536 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1537 (vc-bzr-revision-completion-table): Add support for annotate and date.
1538
1a1e3f32
SM
1539 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1540 inherit from parent.
1541
5bd35902
LMI
15422011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1543
ace6c69c 1544 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 1545 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 1546
191e2bed
LMI
1547 * dired.el (dired-mode): Fix up the doc string as suggested by
1548 Drew Adams (bug#8817).
1549
5bd35902
LMI
1550 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1551 cookie, since the manual says that it should be possible to add
1552 this function to `find-file-hook' (bug#8709).
1553
eee8207a
TZ
15542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1555
1556 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1557 here. Noted Ted Zlatanov as the maintainer.
1558 (cfengine-common-settings, cfengine-common-syntax): New functions
1559 to set up common things between `cfengine-mode' and
1560 `cfengine3-mode'.
1561 (cfengine3-mode): New mode.
1562 (cfengine3-defuns cfengine3-defuns-regex
1563 (cfengine3-class-selector-regex cfengine3-category-regex)
1564 (cfengine3-vartypes cfengine3-font-lock-keywords)
1565 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 1566 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 1567
36b148cf
MA
15682011-07-01 Michael Albinus <michael.albinus@gmx.de>
1569
1570 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1571
1572 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1573
0bf4ba9a
MR
15742011-07-01 Martin Rudalics <rudalics@gmx.at>
1575
1576 * window.el (same-window-buffer-names, same-window-regexps)
1577 (same-window-p, special-display-frame-alist)
1578 (special-display-popup-frame, special-display-function)
1579 (special-display-buffer-names, special-display-regexps)
1580 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1581 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1582 (split-window-preferred-function, split-height-threshold)
1583 (split-width-threshold, even-window-heights)
1584 (display-buffer-mark-dedicated, window-splittable-p)
1585 (split-window-sensibly, window-safely-shrinkable-p):
1586 Un-obsolete.
1587 (display-buffer): Don't spread args with function specifier
1588 because special-display-popup-frame won't like it.
1589
35837f51
PE
15902011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1591
d0672f86
PE
1592 Time-stamp simplifications and fixes.
1593 These improve accuracy slightly, and future-proof the code
1594 against some potential changes to current-time format.
1595
b9444d97
PE
1596 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1597 by using time-since and float-time.
1598
0ef923dc
PE
1599 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1600 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1601 + NNN microseconds".
1602
2f81380d
PE
1603 * type-break.el (type-break-time-sum): Rewrite using time-add.
1604
845b5c3e
PE
1605 * play/hanoi.el (hanoi-current-time-float): Remove.
1606 All uses replaced by float-time.
1607
ee6f1be0
PE
1608 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1609 This yields a more-accurate answer.
1610 (rng-time-to-float): Remove; no longer needed.
1611
fe955043
PE
1612 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1613
5777162a
PE
1614 * calendar/timeclock.el (timeclock-seconds-to-time):
1615 Defalias to seconds-to-time, since they're the same thing.
1616
3103f8b6 1617 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 1618 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
1619 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1620
0e61a35f
SM
16212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * window.el (bury-buffer): Don't iconify the only frame.
1624 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1625 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1626
ddd63a1e
CY
16272011-07-01 Chong Yidong <cyd@stupidchicken.com>
1628
0e61a35f
SM
1629 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1630 Add mouse-yank-primary.
ddd63a1e 1631
055f4923
TZ
16322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1633
1634 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1635
6a2fb145
SM
16362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1639 (find-library-name): Use it to find relative load names when provided
1640 absolute file name (bug#8803).
1641
fd4983f2
LMI
16422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1643
887d14ad
LMI
1644 * textmodes/flyspell.el (flyspell-word): Consider words that
1645 differ only in case as potential doublons (bug#5687).
1646
c53dc7fc
LMI
1647 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1648 Remove two rather uninteresting debugging-like messages to make
1649 debbugs.el more silent.
1650
fd4983f2
LMI
1651 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1652 a password-like phrase.
1653
b14c0c55
AM
16542011-06-30 Mastake YAMATO <yamato@redhat.com>
1655
1656 * progmodes/cc-guess.el: New file.
1657
6a2fb145 1658 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
1659
1660 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1661 derived from `c-basic-common-init'.
1662
1663 * progmodes/cc-mode.el (top-level): Require cc-guess.
1664 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1665
1fa280a3
LM
16662011-06-30 Lawrence Mitchell <wence@gmx.li>
1667
1668 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1669
e6597158
AM
16702011-06-30 Alan Mackenzie <acm@muc.de>
1671
1fa280a3
LM
1672 * progmodes/cc-engine.el (c-guess-continued-construct):
1673 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
1674 lock is disabled. Name this case as "CASE G".
1675
68ba37fb
KM
16762011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1677
1678 * allout.el (allout-yank-processing): Fix injection of extra space
1679 between bullet and non-whitespace character in first topic when
1680 pasting, ensuring that the actual spacing in the pasted topic
1681 following the bullet char is preserved. This extra space was
1682 causing pasted encrypted topics to get a decrypted status even
1683 when the content was actually still encrypted. Now the decryption
1684 status from before the paste is preserved.
1685
1686 (allout-flag-region): Set all allout overlays so they evaporate
1687 when reduced to zero length (evanescent), to prevent overlay
1688 leakage.
1689
887a0b34
GM
16902011-06-30 Glenn Morris <rgm@gnu.org>
1691
94b9acce
GM
1692 * w32-fns.el (w32-charset-info-alist): Declare.
1693
1d9b46d4
GM
1694 * find-dired.el (find-grep-options): Simplify.
1695
cc232200
GM
1696 * term/ns-win.el (ns-set-resource): Declare.
1697
28e77c46
GM
1698 * ses.el (row, col): Declare dynamic variables honestly.
1699
887a0b34
GM
1700 * textmodes/reftex-parse.el (index-tags): Declare.
1701
658d8eb8
CY
17022011-06-30 Chong Yidong <cyd@stupidchicken.com>
1703
1704 * cus-edit.el (customize-push-and-save): New function.
1705
1706 * files.el (hack-local-variables-confirm): Use it.
1707
1fa280a3
LM
1708 * custom.el (load-theme): New arg NO-CONFIRM.
1709 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
1710 (custom-enabled-themes): Doc fix.
1711
1712 * cus-theme.el (customize-create-theme)
1713 (custom-theme-merge-theme): Callers to load-theme changed.
1714
bb617717
LMI
17152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1716
d61bdd5d
LMI
1717 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1718 short URLs have at least one dot in them (bug #7614).
1719
bb617717
LMI
1720 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1721 nil, because using a pty is apparently too slow (bug #895).
1722
2f31f37a
LMI
17232011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1724
1725 * mail/sendmail.el (sendmail-query-once): New function.
1726 (sendmail-query-once-function): New variable.
1727
3076b24e
GM
17282011-06-29 Glenn Morris <rgm@gnu.org>
1729
faf2a174
GM
1730 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1731
3076b24e
GM
1732 * ses.el (top-level): Require cl when compiling.
1733 (ses-set-localvars): Fix error statement.
1734 Call it at compile time to silence a storm of warnings.
1735
5386012d
MR
17362011-06-29 Martin Rudalics <rudalics@gmx.at>
1737
1738 * window.el (normalize-live-buffer): Rename to
1739 window-normalize-buffer.
1740 (normalize-live-frame): Rename to window-normalize-frame.
1741 (normalize-any-window): Rename to window-normalize-any-window.
1742 (normalize-live-window): Rename to window-normalize-live-window.
1743 (make-window-atom): Rename to window-make-atom.
1744 (window-resize-reset): Rename to window--resize-reset.
1745 (window-resize-reset-1): Rename to window--resize-reset-1.
1746 (resize-mini-window): Rename to window--resize-mini-window.
1747 (resize-subwindows-skip-p): Rename to
1748 window--resize-subwindows-skip-p.
1749 (resize-subwindows-normal): Rename to
1750 window--resize-subwindows-normal.
1751 (resize-subwindows): Rename to window--resize-subwindows.
1752 (resize-other-windows): Rename to window--resize-siblings.
1753 (resize-this-window): Rename to window--resize-this-window.
1754 (resize-root-window): Rename to window--resize-root-window.
1755 (resize-root-window-vertically): Rename to
1756 window--resize-root-window-vertically.
1757 (normalize-buffer-to-display): Rename to
1758 window-normalize-buffer-to-display.
1759 (normalize-buffer-to-switch-to): Rename to
1760 window-normalize-buffer-to-switch-to.
1761 Correspondingly update all callers of the functions listed
1762 above.
1763 (display-buffer-alist, display-buffer-normalize-arguments)
1764 (display-buffer-normalize-options, display-buffer)
1765 (display-buffer-alist-set): Use "function" instead of
1766 "fun-with-args".
1767
1176868d
CY
17682011-06-28 Chong Yidong <cyd@stupidchicken.com>
1769
1770 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1771 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1772 debbugs.gnu.org. Mention acknowledgment email.
1773
20a7a65f
LMI
17742011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1775
1776 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1777 buffer multibyteness, since it shouldn't matter.
1778
5f45cca5
MR
17792011-06-28 Martin Rudalics <rudalics@gmx.at>
1780
1781 * window.el (display-buffer-in-side-window): Handle dedicated
1782 windows as in display-buffer-reuse-window.
1783 (display-buffer-normalize-alist): Use value of override
1784 specifier.
1785 (display-buffer-normalize-specifiers): Use value of
1786 other-window-means-other-frame specifier.
1787 (display-buffer-alist): Rewrite some texts in widgets.
1788 (display-buffer): Spread arguments when calling function
1789 specified by fun-with-args.
1790
ad85fe1f
DD
17912011-06-28 Deniz Dogan <deniz@dogan.se>
1792
1fa280a3
LM
1793 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1794 Unnest `let'.
da68c4c8 1795
ad85fe1f
DD
1796 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1797 selectors (Bug#5732).
ec49bd31 1798 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 1799
a08cc025
JA
18002011-06-27 Jari Aalto <jari.aalto@cante.net>
1801
1802 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1803 (eshell-ls-date-format): New defcustom.
1804 (eshell-ls-file): Use it.
1805
e2b551c5
SM
18062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1809
8982b231
KY
18102011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1811
1812 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1813 (ange-ftp-make-tmp-name): New arg.
1814 (ange-ftp-file-local-copy): Use it.
1815
36c9fa27
J
18162011-06-27 Jambunathan K <kjambunathan@gmail.com>
1817
1818 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1819 no-conversion (Bug#8870).
1820
d68443dc
MR
18212011-06-27 Martin Rudalics <rudalics@gmx.at>
1822
1823 * window.el (window-right, window-left, window-child)
1824 (window-child-count, window-last-child)
1825 (window-iso-combination-p, walk-window-tree-1)
1826 (window-atom-check-1, window-tree-1, delete-window)
1827 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1828 new naming conventions - window-vchild, window-hchild,
1829 window-next and window-prev are now called window-top-child,
1830 window-left-child, window-next-sibling and window-prev-sibling
1831 respectively.
d615d6d2
MR
1832 (resize-window-reset): Rename to window-resize-reset.
1833 (resize-window-reset-1): Rename to window-resize-reset-1.
1834 (resize-window): Rename to window-resize.
1835 (window-min-height, window-min-width)
1836 (resize-mini-window, resize-this-window, resize-root-window)
1837 (resize-root-window-vertically, adjust-window-trailing-edge)
1838 (enlarge-window, shrink-window, maximize-window)
1839 (minimize-window, delete-window, quit-restore-window)
1840 (split-window, balance-windows, balance-windows-area-adjust)
1841 (balance-windows-area, window-state-put-2)
1842 (display-buffer-even-window-sizes, display-buffer-set-height)
1843 (display-buffer-set-width, set-window-text-height)
1844 (fit-window-to-buffer): Rename all "resize-window" prefixed
1845 calls to use the "window-resize" prefix convention.
1846 (display-buffer-alist): Fix symbol for label specifier.
1847 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1848 corresponding specifier.
1849 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 1850
b6458526
VB
18512011-06-27 Vincent BelaĆÆche <vincentb1@users.sourceforge.net>
1852
1853 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1854 convention.
1855 (ses-call-printer): Does not pass an empty string to formatter when the
1856 cell is empty to keep from barking printer Calc math-format-value.
1857
d31fd9ac
RS
18582011-06-27 Richard Stallman <rms@gnu.org>
1859
43d5bf84
RS
1860 * battery.el (battery-mode-line-limit): New variable.
1861 (battery-update): Handle it.
1862
d31fd9ac
RS
1863 * mail/rmailmm.el (rmail-mime-process-multipart):
1864 Handle truncated messages.
1865
819a6054
GM
18662011-06-27 Glenn Morris <rgm@gnu.org>
1867
1868 * progmodes/flymake.el (flymake-err-line-patterns):
1869 Allow for column numbers in the ant/javac pattern. (Bug#8866)
1870
cedc73f2
VB
18712011-06-27 Vincent BelaĆÆche <vincentb1@users.sourceforge.net>
1872
819a6054 1873 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
1874 (ses--clean-!, ses--clean-_): New functions.
1875 (ses-range): Add configurability of readout order, and conversion
1876 to Calc vector.
1877
5e5d49b6
VB
1878 * ses.el (ses-repair-cell-reference-all): New function.
1879 (ses-cell-symbol): Set macro as safe, so that it can be used in
1880 formulas.
1881
56e6cc31 1882 * ses.el: Update cycle detection algorithm.
90ca8b49 1883 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 1884 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
1885 (ses-set-localvars): New function.
1886 (ses-make-cell): Add property-list as a cell element.
1887 (ses-cell-property-get-fun, ses-cell-property-get)
1888 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
1889 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1890 New functions.
90ca8b49
VB
1891 (ses-cell-property-set, ses-cell-property-pop)
1892 (ses-cell-property-get-handle): New macro.
1893 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1894 New aliases, used for code readability.
1895 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1896 cycle detection.
1897 (ses-self-reference-early-detection): New defcustom.
1898 (ses-formula-references): Robustify against self-refering cells.
1899 (ses-mode): Use ses-set-localvars.
1900 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1901 before lauching the update processing.
1902 (ses-initialize-Dijkstra-attempt): New function.
1903 (ses-recalculate-cell): Update for cycle detection based on
1904 Dijkstra algorithm.
1905
2bb63e81
VB
1906 * ses.el: Fix commenting and indenting convention.
1907
c9d29fb8
SM
19082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * bs.el (bs-cycle-next): Complete last change.
1911
d8e4b68b
JB
19122011-06-27 Drew Adams <drew.adams@oracle.com>
1913
1914 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1915
40098786
LMI
19162011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1917
c9d29fb8
SM
1918 * net/network-stream.el (network-stream-open-starttls):
1919 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
1920 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1921
40098786
LMI
1922 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1923 to binary to possibly avoid line encoding issues on Windows (among
1924 other things).
1925
468d09d4
LMI
19262011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1927
1928 * net/network-stream.el (open-network-stream): Return an :error
1929 saying what the problem was, if possible.
1930
1931 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1932 server.
1933
1934 * net/network-stream.el (network-stream-open-starttls): If we
1935 wanted to use STARTTLS, and the server offered it, but we weren't
1936 able to because we had no STARTTLS support, then close the connection.
1937 (open-network-stream): Return an :error element, if present.
1938
16f07dd7
CY
19392011-06-26 Chong Yidong <cyd@stupidchicken.com>
1940
88821ca0
CY
1941 * hl-line.el (hl-line-sticky-flag): Doc fix.
1942 (global-hl-line-sticky-flag): New option (Bug#8323).
1943 (global-hl-line-highlight): Obey it.
1944
16f07dd7
CY
1945 * vc/vc.el (vc-revert-show-diff): Default to t.
1946
6b5ccddf
KM
19472011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
1948
c9d29fb8
SM
1949 * allout-widgets.el (allout-widgets-post-command-business):
1950 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
1951 undecorated when an isearch is continued past, and isearch
1952 automatically collapses them. This leads to "widget leaks", where
1953 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
1954 hidden widgets can slow down cursor travel, substantially.
1955 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
1956 so we're doing without this nicety.
1957
1958 (allout-widgets-tally-string): Don't try to do a hash-table-count
1959 of allout-widgets-tally when it's nil. This eliminates spurious "Error
1960 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1961 *Messages* when allout-widgets-maintain-tally is t.
1962
355f2e07
MR
19632011-06-26 Martin Rudalics <rudalics@gmx.at>
1964
1965 * window.el (display-buffer-normalize-argument): Rename to
1966 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
1967 LABEL argument. Respect special-display-function when popping up
1968 a new frame. Fix code searching for a window showing the buffer
1969 on another frame.
c9d29fb8
SM
1970 (display-buffer-normalize-specifiers):
1971 Call display-buffer-normalize-arguments.
355f2e07
MR
1972 (display-buffer-in-window): Don't undedicate the window if its
1973 buffer remains the same.
1974 Reported by Drew Adams <drew.adams@oracle.com>.
1975 (display-buffer-alist): Add choice for same-window macro
1976 specfier.
1977 (display-buffer): Mention special meaning of LABEL argument in
1978 doc-string. Fix quoting. Don't pop up a new frame even as
1979 fallback.
1980
7ca8fc42
JB
19812011-06-26 Juanma Barranquero <lekktu@gmail.com>
1982
1983 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1984 avoid deleting the current window in some cases (bug#8911).
1985
bc312254
AS
19862011-06-26 Andreas Schwab <schwab@linux-m68k.org>
1987
1988 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1989 (Bug#8934)
1990
2db18f3f
LMI
19912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1992
c9d29fb8
SM
1993 * net/network-stream.el (network-stream-open-starttls):
1994 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
1995 (network-stream-open-tls): Ditto.
1996
6302e0d3
LL
19972011-06-26 Leo Liu <sdl.web@gmail.com>
1998
1999 * register.el (registerv): New struct.
2000 (registerv-make): New function.
c9d29fb8
SM
2001 (jump-to-register, describe-register-1, insert-register):
2002 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
2003 struct. (Bug#8415)
2004
5fdd4046
CY
20052011-06-26 Chong Yidong <cyd@stupidchicken.com>
2006
2afef60a
CY
2007 * vc/vc.el (vc-revert-show-diff): New defcustom.
2008 (vc-diff-internal): New arg specifying diff buffer.
2009 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2010 reuse an existing *vc-diff* buffer (Bug#8927).
2011
5fdd4046
CY
2012 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2013
e93db24a
GM
20142011-06-26 Glenn Morris <rgm@gnu.org>
2015
2016 * progmodes/f90.el (f90-critical-indent): New option.
2017 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2018 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2019 (f90-mode): Doc fix.
2020 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2021 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2022 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2023 (f90-match-end): Handle block, critical.
2024
eefff499
GM
20252011-06-25 Glenn Morris <rgm@gnu.org>
2026
f6ba4cc9
GM
2027 * calendar/diary-lib.el (diary-included-files): Doc fix.
2028 (diary-include-files): New function, extracted from
2029 diary-include-other-diary-files and diary-mark-included-diary-files.
2030 (diary-include-other-diary-files, diary-mark-included-diary-files):
2031 Just call diary-include-files.
2032 (diary-mark-entries): Reset diary-included-files on first call.
2033
16712304
GM
2034 * calendar/diary-lib.el (diary-mark-entries)
2035 (diary-mark-included-diary-files):
2036 Visit included diary-files in temp buffers.
2037
5d8e0d43
GM
2038 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2039 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2040 (f90-start-block-re, f90-imenu-generic-expression)
2041 (f90-looking-at-program-block-start, f90-no-block-limit):
2042 Add support for submodules.
2043
ccf7a5d5
GM
2044 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2045 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 2046
11fdef7d 20472011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
2048
2049 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2050 buffer-file-type before setting its value, to avoid disastrous
eefff499 2051 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 2052
74f53697
JB
20532011-06-25 Juanma Barranquero <lekktu@gmail.com>
2054
2055 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2056
2057 * ses.el (ses-unload-function):
2058 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2059
2060 * proced.el (proced-unload-function):
2061 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2062
18a4ce5e
AR
20632011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2064
2065 * server.el (server-create-window-system-frame): Add parameters arg.
2066 (server-process-filter): Doc fix. Handle frame-parameters.
2067
519d22cc
JB
20682011-06-25 Juanma Barranquero <lekktu@gmail.com>
2069
2070 Fix bug#8730, bug#8781.
2071
2072 * loadhist.el (unload--set-major-mode): New function.
2073 (unload-feature): Use it.
2074
2075 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2076 (python-unload-function): New function.
2077
c206f5b0
SM
20782011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2081
f9ad64f3
GS
20822011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2083
2084 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2085 the candidates list.
2086
7d0da90e
JB
20872011-06-24 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2090
14b4e83d
RS
20912011-06-23 Richard Stallman <rms@gnu.org>
2092
2093 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2094 (rmail-variables): Set next-error-move-function.
2095 (rmail-what-message): Take argument POS.
2096 (rmail-next-error-move): New function.
2097
273d2baf
SM
20982011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2101 messages for adjacent non-terminals.
2102
56c2cc9a
RS
21032011-06-23 Richard Stallman <rms@gnu.org>
2104
2105 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 2106 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
2107 (rmail-start-mail): Don't specify use of rmail-mail-return;
2108 that's done by mail-bury now.
2109 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 2110
d59eb518
MA
21112011-06-23 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2114 SIZE is a number.
2115
02cfc6d6
MR
21162011-06-23 Martin Rudalics <rudalics@gmx.at>
2117
2118 * window.el (get-lru-window, get-mru-window)
2119 (get-largest-window): Never return a minibuffer window.
2120 (display-buffer-pop-up-window): Fix a bug that could lead to
2121 reusing the minibuffer window.
2122 (display-buffer): Pass original specifier argument to
2123 display-buffer-function instead of the normalized one.
2124 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2125
4e323265
LL
21262011-06-22 Leo Liu <sdl.web@gmail.com>
2127
2128 * minibuffer.el (completing-read-function)
2129 (completing-read-default): Move from minibuf.c
2130
7a70468f
RS
21312011-06-22 Richard Stallman <rms@gnu.org>
2132
50718fc2
RS
2133 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2134 to Rmail even if not started by a special Rmail command.
2135
7a70468f
RS
2136 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2137 Copy the buffer currently showing just one message.
2138
297dde5a
RW
21392011-06-22 Roland Winkler <winkler@gnu.org>
2140
2141 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2142 (bibtex-clean-entry): First delete the old key so that a
2143 customized algorithm for generating the new key does not get
2144 confused by the old key.
2145 (bibtex-url): Obey regexp of first step.
2146 (bibtex-search-entries): Do not use add-to-list with local
2147 list-var.
2148
97bb1093
LMI
21492011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2150
2151 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2152 stored a user name, then query for the password first, instead of
2153 waiting for SMTP to give an error message and the trying again.
2154
1c0f1a19
JD
21552011-06-22 Lawrence Mitchell <wence@gmx.li>
2156
2157 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2158 BUFFER in call-process.
2159
396f7c9d
LMI
21602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2161
2162 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2163 QUIT twice.
ddb7ffee
LMI
2164 (smtpmail-try-auth-methods): Require user name and password from
2165 auth-source.
396f7c9d 2166
8998d1b3
MR
21672011-06-22 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (display-buffer-default-specifiers)
2170 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2171 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 2172 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
2173
2174 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2175 (special-display-frame-alist, special-display-popup-frame):
2176 Remove duplicate declarations. These are now in window.el.
2177
4ea31e07
LMI
21782011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2179
c9d29fb8
SM
2180 * mail/smtpmail.el (smtpmail-via-smtp):
2181 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
2182 server supports it. SMTP servers that support STARTTLS commonly
2183 require it.
2184
2185 * net/network-stream.el (network-stream-open-starttls): Support
2186 upgrading to STARTTLS always, even if we don't have built-in support.
2187 (open-network-stream): Add the :always-query-capabilies keyword.
2188
95f41d9a
LMI
2189 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2190 upgrades with `open-network-stream', and rely solely on
2191 auth-source for all credentials. Big changes throughout the file,
2192 but in particular:
c9d29fb8
SM
2193 (smtpmail-auth-credentials): Remove.
2194 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
2195 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2196 MAIL FROM, too.
95f41d9a 2197
c9d29fb8
SM
2198 * net/network-stream.el (network-stream-open-starttls):
2199 Provide support for client certificates both for external and built-in
4ea31e07
LMI
2200 STARTTLS.
2201 (auth-source): Require.
2202 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
2203 (network-stream-certificate): Change cert-cert to cert and
2204 cert-key to key.
4ea31e07 2205
065ec2c7
MA
22062011-06-21 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * net/tramp-cache.el (top): Don't load the persistency file when
2209 "emacs -Q" has been called.
2210
cd93b359
DR
22112011-06-21 Tim Harper <timcharper@gmail.com>
2212
d8e4b68b
JB
2213 * term/ns-win.el (ns-initialize-window-system):
2214 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
2215 resource to NO as it is not yet supported by the NS port.
2216
ae9c0411
JB
22172011-06-21 Juanma Barranquero <lekktu@gmail.com>
2218
2219 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2220 (list-dynamic-libraries): ...not here.
2221
7f3f739f
LL
22222011-06-21 Leo Liu <sdl.web@gmail.com>
2223
2224 * subr.el (sha1): Implement sha1 using secure-hash.
2225
327c8fb1
MR
22262011-06-21 Martin Rudalics <rudalics@gmx.at>
2227
2228 * window.el (display-buffer-alist): In default value do not
2229 enforce searching a window on any but the selected frame.
2230 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2231 (display-buffer-select-window): Remove function.
2232 (display-buffer-in-window): When a window on another frame gets
2233 reused, do not select it any more but just raise its frame if
2234 necessary (Bug#8851) and (Bug#8856).
2235 (display-buffer-normalize-options): Handle pop-up-frames related
2236 options more faithfully.
2237 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2238 window if it is on another frame.
c9d29fb8
SM
2239 (display-buffer-alist, display-buffer-default-specifiers):
2240 Don't make new frame unsplittable by default.
9e9de014
MR
2241 (display-buffer-normalize-argument): Fix doc-string typo and use
2242 'same-frame-other-window instead of 'other-window when associating
2243 with display-buffer-macro-specifiers.
327c8fb1 2244
7cf3f556
VB
22452011-06-21 Vincent BelaĆÆche <vincent.b.1@hotmail.fr>
2246
2247 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2248 New functions.
2249 (5x5-mode-map, 5x5-mode-menu): Bind them.
2250 (5x5-draw-grid): Tweak the solver's rendering.
2251
60a406cf
SM
22522011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2255 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2256
d8e4b68b 22572011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
2258
2259 * menu-bar.el: Use function variable instead of switch-to-buffer.
2260 (menu-bar-select-buffer-function): New variable.
60a406cf 2261 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 2262
478d6f95
SM
22632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2266 variable's status.
2267
ca530739
JD
22682011-06-20 Jan DjƤrv <jan.h.d@swipnet.se>
2269
2270 * x-dnd.el (x-dnd-version-from-flags)
2271 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2272 and long as number (Bug#8899).
2273 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2274
bcd70d97
SM
22752011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2276
60a406cf 2277 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
2278 (completion-try-completion, completion-all-completions): Compute the
2279 metadata argument if it's missing; make it optional (bug#8795).
2280
60a406cf 2281 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
2282 (widget-complete): Use new :completion-function property.
2283 (widget-completions-at-point): New function.
2284 (default): Use :completion-function instead of :complete.
60a406cf
SM
2285 (widget-default-completions): Rename from widget-default-complete;
2286 Rewrite.
bcd70d97
SM
2287 (widget-string-complete, widget-file-complete, widget-color-complete):
2288 Remove functions.
2289 (file, symbol, function, variable, coding-system, color):
2290 * international/mule-cmds.el (default-input-method, charset)
2291 (language-info-custom-alist):
2292 * cus-edit.el (face): Use new property :completions.
2293
2294 * progmodes/pascal.el (pascal-completions-at-point): New function.
2295 (pascal-mode): Use it.
2296 (pascal-mode-map): Use completion-at-point.
2297 (pascal-toggle-completions): Make obsolete.
2298 (pascal-complete-word, pascal-show-completions):
2299 * progmodes/octave-mod.el (octave-complete-symbol):
2300 Redefine as obsolete alias.
2301 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2302 Signal absence of completion info for old Octave,
2303 (inferior-octave-complete): Redefine as obsolete alias.
2304 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2305 (meta-completions-at-point): Rename from meta-complete-symbol and
2306 adapt it for use on completion-at-point-functions.
2307 (meta-common-mode): Use it.
2308 (meta-looking-at-backward, meta-match-buffer): Remove.
2309 (meta-complete-symbol): Redefine as obsolete alias.
2310 (meta-common-mode-map): Use completion-at-point.
2311 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2312 (makefile-mode-map): Use completion-at-point.
2313 (makefile-completions-at-point): Rename from makefile-complete and
2314 adapt it for use on completion-at-point-functions.
2315 (makefile-mode): Use it.
2316 (makefile-complete): Redefine as obsolete alias.
2317
aebf69c8
DD
23182011-06-20 Deniz Dogan <deniz@dogan.se>
2319
2320 * net/rcirc.el: Delete trailing whitespaces once and for all.
2321
bfbbb27d
DC
23222011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2323
2324 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2325
d264a46b
CY
23262011-06-19 Chong Yidong <cyd@stupidchicken.com>
2327
4ca009e5
CY
2328 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2329
d264a46b
CY
2330 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2331
fbf5b3ce
MR
23322011-06-19 Martin Rudalics <rudalics@gmx.at>
2333
2334 * window.el (display-buffer-other-window-means-other-frame):
2335 Call display-buffer-normalize-alist.
2336 (display-buffer-normalize-specifiers-1): Rename to
2337 display-buffer-normalize-argument. New argument other-frame.
2338 Rewrite.
2339 (display-buffer-normalize-specifiers-2): Rename to
2340 display-buffer-normalize-options.
2341 (display-buffer-normalize-alist-1): New function.
2342 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
2343 display-buffer-normalize-alist.
2344 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
2345 (display-buffer-normalize-options-inhibit): New variable.
2346 (display-buffer-normalize-specifiers): Rewrite calling
2347 display-buffer-normalize-alist,
2348 display-buffer-normalize-argument, and
2349 display-buffer-normalize-options. Don't call the latter if
2350 display-buffer-normalize-options-inhibit is non-nil.
2351 (frame-auto-delete): New option.
2352 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
2353 (window-list-no-nils, window-state-ignored-parameters)
2354 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
2355 (window-state-put-1, window-state-put-2, window-state-put):
2356 New functions.
9a028c23
MR
2357 (display-buffer-normalize-options): Move special-display-p group
2358 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 2359
6d10d800
CY
23602011-06-18 Chong Yidong <cyd@stupidchicken.com>
2361
6420d28b
CY
2362 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2363 groups (Bug#8776).
2364 (rx-submatch-n): New function.
2365 (rx): Document it.
2366
ddb8b596
CY
2367 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2368 (Bug#8768).
2369
2370 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2371
77080289
CY
2372 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2373
61dfb316
CY
2374 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2375 anytime existing face settings are present (Bug#8889).
2376
6d10d800
CY
2377 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2378 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2379 Remove unused argument.
2380
be3fb2b8
MR
23812011-06-18 Martin Rudalics <rudalics@gmx.at>
2382
bcd70d97
SM
2383 * window.el (display-buffer-default-specifiers):
2384 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
2385 pop-up-window-min-width, and another reuse-window specifier
2386 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
2387 (display-buffer-normalize-specifiers-2):
2388 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
2389 pop-up-windows is unset. Add a reuse-window specifier for the
2390 case popping up a new window fails.
2391 (special-display-popup-frame): Remove double quoting.
28dec25a 2392 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 2393
1c6d8c76
SM
23942011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2397 according to comint-completion-addsuffix.
2398
2399 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2400 (pcomplete-suffix-list): Mark as obsolete.
2401 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2402 pcomplete-seen in the closure.
2403 (pcomplete-comint-setup): Setup completion-at-point as well.
2404 (pcomplete--entries): New function.
2405 (pcomplete--env-regexp): New var.
2406 (pcomplete-entries): Rewrite to work with partial-completion and
2407 without relying on pcomplete-suffix-list.
2408 (pcomplete-pare-list): Remove, unused.
2409
25aef8b8
MR
24102011-06-17 Martin Rudalics <rudalics@gmx.at>
2411
2412 * window.el (display-buffer-alist): Set pop-up-window-min-height
2413 and pop-up-window-min-width in default value. Reported by
2414 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2415 other-window-means-other-frame.
2416 (display-buffer-macro-specifiers): Comment out entry for
2417 other-window specifier.
2418 (display-buffer-other-window-means-other-frame): New function.
2419 (display-buffer-normalize-specifiers-1): New arguments
2420 buffer-name and label. Treat other-window case specially.
2421 (display-buffer-normalize-specifiers-2): Treat other-window case
2422 specially.
2423 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
2424 (display-buffer-normalize-specifiers):
2425 Call display-buffer-normalize-specifiers-3.
25aef8b8 2426
dbad4f69
MR
24272011-06-17 Martin Rudalics <rudalics@gmx.at>
2428
2429 * window.el (same-window-p): Fix two typos introduced when
2430 adding with-no-warnings.
d1067961
MR
2431 (display-buffer-normalize-specifiers-1): Don't check
2432 pop-up-frames for 'unset initialization.
2433 (display-buffer-normalize-specifiers-2): Major rewrite using
2434 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2435 (pop-up-frames, display-buffer-reuse-frames)
2436 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2437 Suggested by David Engster <deng@randomsample.de>.
2438 (even-window-heights): Initialize to 'unset.
2439 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
2440 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2441 other window case.
dbad4f69 2442
9b9c9e3a
MR
24432011-06-16 Martin Rudalics <rudalics@gmx.at>
2444
bcd70d97
SM
2445 * window.el (display-buffer-normalize-specifiers-1):
2446 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 2447 second argument of display-buffer (Bug#8865).
981d5c09
MR
2448 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2449 (switch-to-buffer-other-window-same-frame)
2450 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2451 Adams (Bug#8875).
9c2755e9
MR
2452 (display-buffer): Don't check noninteractive when calling
2453 display-buffer-pop-up-frame.
2454 (display-buffer-pop-up-frame): Never pop up a frame in
2455 noninteractive mode (Bug#8857).
67222e1d
MR
2456 (enlarge-window, shrink-window): Don't report an error when the
2457 window can't be resized as requested (Bug#8862).
9b9c9e3a 2458
2b75be67
SM
24592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2460
9ffdd3ba
SM
2461 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2462
cb581a67
SM
2463 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2464
2b75be67
SM
2465 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2466
8c0e3589
AM
24672011-06-15 Alan Mackenzie <acm@muc.de>
2468
cb581a67
SM
2469 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2470 for declarators, disable knr checking to speed up for normal files.
2471 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 2472
b96e6cde
LMI
24732011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2474
4bba86e6
LMI
2475 * net/network-stream.el (open-network-stream): Add the keyword
2476 :always-query-capabilities for the case where you want to force a
2477 `plain' network connection, but the protocol still requires the
2478 capabilitiy command (i.e., SMTP and EHLO).
2479
2b75be67 2480 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
2481 consistency with other `-live-p' functions.
2482
efdcdbf8
SM
24832011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * window.el (same-window-buffer-names, same-window-regexps)
2486 (special-display-frame-alist, special-display-popup-frame)
2487 (special-display-function, special-display-buffer-names)
2488 (special-display-regexps, pop-up-frame-alist)
2489 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2490 (pop-up-windows, split-window-preferred-function)
2491 (split-height-threshold, split-width-threshold, even-window-heights)
2492 (display-buffer-mark-dedicated): Don't encourage the use of
2493 display-buffer-alist from Elisp code.
2494
c5cde042
DN
24952011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2496
2497 * progmodes/python.el (python-mode): Derive from prog-mode.
2498 * progmodes/ps-mode.el (ps-mode):
2499 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 2500 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
2501 * progmodes/ld-script.el (ld-script-mode): Likewise.
2502
baa1c9ab
MR
25032011-06-15 Martin Rudalics <rudalics@gmx.at>
2504
2505 * window.el (display-buffer-alist): Trim default value to avoid
2506 popping up a new frame (Bug#8857) or reusing an arbitrary window
2507 on another frame.
2508 (display-buffer): Do not fall back on popping up a new frame in
2509 batch mode (Bug#8857).
2510
c5dd5a51
CY
25112011-06-14 Chong Yidong <cyd@stupidchicken.com>
2512
2513 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2514 (custom-theme-summary): New function.
2515 (customize-themes): Use it.
2516
d647b7c4
GM
25172011-06-13 Glenn Morris <rgm@gnu.org>
2518
2519 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2520
9481c002
MR
25212011-06-13 Martin Rudalics <rudalics@gmx.at>
2522
357f93d2
MR
2523 * help.el (help-window): Remove variable.
2524 (help-window-point-marker, temp-buffer-max-height)
2525 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2526 (help-print-return-message): Don't set help-window.
2527 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2528 (help-window-setup-finish): Remove.
2529 (help-window-display-message, help-window-setup)
2530 (with-help-window): Major rewrite based on new
2531 display-buffer-window variable.
2532
2533 * help-mode.el (help-mode-finish): Remove help-window related
2534 code.
2535
2536 * view.el (view-exits-all-viewing-windows): Remove reference to
2537 view-return-to-alist in doc-string.
2538 (view-return-to-alist): Make obsolete.
2539 (view-buffer): Call pop-to-buffer-same-window and remove
2540 undo-window code.
2541 (view-buffer-other-window): Call pop-to-buffer-other-window and
2542 simplify code. Ignore second argument.
2543 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2544 simplify code. Ignore second argument.
2545 (view-return-to-alist-update): Make obsolete.
2546 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2547 Rewrite using quit-restore window parameters.
2b75be67
SM
2548 (view-mode-exit): Rename second argument to EXIT-ONLY.
2549 Rewrite using quit-restore-window.
357f93d2
MR
2550 (View-exit, View-exit-and-edit, View-leave, View-quit)
2551 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2552 appropriate arguments.
2553 (view-end-message): Use quit-restore window parameter.
2554
9481c002
MR
2555 * window.el (display-buffer-function): Rewrite doc-string.
2556 (display-buffer-window, display-buffer-alist): New variables.
2557 (display-buffer-split-specifiers)
2558 (display-buffer-side-specifiers)
2559 (display-buffer-macro-specifiers): New constants.
2560 (display-buffer-even-window-sizes, display-buffer-set-height)
2561 (display-buffer-set-width, display-buffer-select-window)
2562 (display-buffer-in-window, display-buffer-reuse-window)
2563 (display-buffer-split-window-1, display-buffer-split-window)
2564 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2565 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2566 (display-buffer-in-side-window, normalize-buffer-to-display)
2567 (display-buffer-normalize-specifiers-1)
2568 (display-buffer-normalize-specifiers-2)
2b75be67
SM
2569 (display-buffer-normalize-specifiers, display-buffer-frame):
2570 New functions.
9481c002
MR
2571 (display-buffer): Major rewrite.
2572 (display-buffer-other-window, display-buffer-other-frame)
2573 (pop-to-buffer, switch-to-buffer-other-window)
2574 (switch-to-buffer-other-frame): Rewrite.
2575 (display-buffer-same-window, display-buffer-same-frame)
2576 (display-buffer-same-frame-other-window)
2577 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2578 (pop-to-buffer-other-window)
2579 (pop-to-buffer-same-frame-other-window)
2580 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2581 (switch-to-buffer-other-window-same-frame): New functions.
2582 (same-window-p, special-display-p): Rewrite disabling warnings.
2583 Make obsolete.
2584 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2585 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2586 Make obsolete
2587 (same-window-buffer-names, same-window-regexps)
2588 (special-display-frame-alist, special-display-popup-frame)
2589 (special-display-function, special-display-buffer-names)
2590 (special-display-regexps, pop-up-frame-alist)
2591 (pop-up-frame-function, split-window-preferred-function)
2592 (split-height-threshold, split-width-threshold)
2593 (even-window-heights): Make obsolete.
2594
9db51aca
GM
25952011-06-12 Glenn Morris <rgm@gnu.org>
2596
2597 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 2598 Misc simplifications.
9db51aca 2599
39cffb44
MR
26002011-06-12 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (window-safely-shrinkable-p): Restore function which
2603 was inadvertently removed in change from 2011-06-11. Declare as
2604 obsolete.
2605
2b75be67
SM
2606 * calendar/calendar.el (calendar-generate-window):
2607 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
2608 window-safely-shrinkable-p.
2609
a8955be7
GM
26102011-06-12 Glenn Morris <rgm@gnu.org>
2611
2612 * progmodes/fortran.el (fortran-mode-syntax-table):
2613 * progmodes/f90.el (f90-mode-syntax-table):
2614 Set % to punctuation. (Bug#8820)
2615 (f90-find-tag-default): Remove, no longer needed.
2616
f0d4059d
DC
26172011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2618
2619 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2620
1100a63c
CY
26212011-06-11 Chong Yidong <cyd@stupidchicken.com>
2622
2623 * image.el (image-animated-p): Return animation delay in seconds.
2624 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2625 (image-animate-timeout): Remove DELAY argument. Don't assume
2626 every subimage has the same delay; get it from image-animated-p.
2627 (image-animate): Caller changed.
2628
def722bf
MA
26292011-06-11 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2632 to ignored backtrace functions.
2633
0a2bb1a9
GM
26342011-06-11 Glenn Morris <rgm@gnu.org>
2635
2636 * calendar/appt.el (appt-disp-window-function): Doc fix.
2637 (appt-check): Handle overlapping appointments. (Bug#8337)
2638
6198ccd0
MR
26392011-06-11 Martin Rudalics <rudalics@gmx.at>
2640
2641 * window.el (window-tree-1, window-tree): New functions, moving
2642 the latter to window.el.
2643 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2644 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2645 (bw-refresh-edges): Remove.
2646 (balance-windows-1, balance-windows-2): New functions.
2647 (balance-windows): Rewrite in terms of window tree functions,
2648 balance-windows-1 and balance-windows-2.
2649 (bw-adjust-window): Remove.
2650 (balance-windows-area-adjust): New function with functionality of
2651 bw-adjust-window but using resize-window.
2b75be67
SM
2652 (set-window-text-height): Rewrite doc-string.
2653 Use normalize-live-window and resize-window.
2654 (enlarge-window-horizontally, shrink-window-horizontally):
2655 Rename argument to DELTA.
6198ccd0
MR
2656 (window-buffer-height): New function.
2657 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2658 Rewrite using new window resize routines.
2b75be67
SM
2659 (kill-buffer-and-window, mouse-autoselect-window-select):
2660 Use ignore-errors instead of condition-case.
6198ccd0
MR
2661 (quit-window): Call delete-frame instead of delete-windows-on
2662 for the only buffer on frame.
2663
9397e56f
MR
26642011-06-10 Martin Rudalics <rudalics@gmx.at>
2665
2666 * loadup.el (top-level): Load window before files for the sake
2667 of replace-buffer-in-windows.
2668
2669 * files.el (read-buffer-to-switch)
2670 (switch-to-buffer-other-window)
2b75be67
SM
2671 (switch-to-buffer-other-frame, display-buffer-other-frame):
2672 Move to window.el.
9397e56f
MR
2673
2674 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2675 (previous-buffer): Move to window.el.
2676
2677 * bindings.el (unbury-buffer): Move to window.el.
2678
2679 * window.el (delete-other-windows-vertically): Move after
2680 definition of delete-other-windows.
2681 (other-window, delete-windows-on, replace-buffer-in-windows):
2682 Move here from window.c.
2683 (record-window-buffer, unrecord-window-buffer)
2684 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2685 (switch-to-next-buffer): New functions.
2686 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2687 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
2688 (previous-buffer): Move here from simple.el.
2689 Call switch-to-prev-buffer.
9397e56f
MR
2690 (bury-buffer): Move here from buffer.c. Switch to previous
2691 buffer when window cannot be deleted.
2692 (unbury-buffer): Move here from bindings.el.
2693 (ctl-x-map): Move binding for other-window from window.c to
2694 here.
2695 (read-buffer-to-switch, switch-to-buffer-other-window)
2696 (switch-to-buffer-other-frame): Move here from files.el.
2697 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
2698 (switch-to-buffer): Move here from buffer.c.
2699 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 2700
562dd5e9
MR
27012011-06-10 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (window-min-height, window-min-width): Move here
2704 from window.c. Add defcustoms and rewrite doc-strings.
2705 (resize-mini-window, resize-window): New functions.
2706 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2707 Move here from window.c.
2708 (maximize-window, minimize-window): New functions.
2709 (delete-window, delete-other-windows, split-window): Move here
2710 from window.c.
2711 (window-split-min-size): New function.
2712 (split-window-keep-point): Mention split-window-above-each-other
2713 instead of split-window-vertically.
2b75be67
SM
2714 (split-window-above-each-other, split-window-vertically):
2715 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
2716 provide defalias for old definition.
2717 (split-window-side-by-side, split-window-horizontally): Rename
2718 split-window-horizontally to split-window-side-by-side and provide
2719 defalias for the old definition.
2720 (ctl-x-map): Move bindings for delete-window,
2721 delete-other-windows and enlarge-window here from window.c.
2722 Replace bindings for split-window-vertically and
2723 split-window-horizontally by bindings for
2724 split-window-above-each-other and split-window-side-by-side.
2725
2726 * cus-start.el (all): Remove entries for window-min-height and
2727 window-min-width. Add entries for window-splits and
2728 window-nest.
2729
f0da764a
GM
27302011-06-09 Glenn Morris <rgm@gnu.org>
2731
80675c21
GM
2732 * calendar/appt.el (appt-mode-line): New function.
2733 (appt-check, appt-disp-window): Use it.
2734
f0da764a
GM
2735 * files.el (hack-one-local-variable-eval-safep):
2736 Allow minor-modes with explicit +/-1 arguments.
2737
59f623b7
TZ
27382011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2739
2740 * term/xterm.el (xterm): Add defgroup.
2741 (xterm-extra-capabilities): Add defcustom to supply known xterm
2742 capabilities, skip querying them, or query them (default).
2743 (terminal-init-xterm): Use it.
2744 (terminal-init-xterm-modify-other-keys): New function to set up
2745 modifyOtherKeys support to simplify `terminal-init-xterm'.
2746
9aab8e0d
MR
27472011-06-09 Martin Rudalics <rudalics@gmx.at>
2748
2749 * window.el (resize-window-reset, resize-window-reset-1)
2750 (resize-subwindows-skip-p, resize-subwindows-normal)
2751 (resize-subwindows, resize-other-windows, resize-this-window)
2752 (resize-root-window, resize-root-window-vertically)
2753 (window-deletable-p, window-or-subwindow-p)
2754 (frame-root-window-p): New functions.
2755
e8b08aee
GM
27562011-06-09 Glenn Morris <rgm@gnu.org>
2757
2758 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2759 (ange-ftp-get-files): Use it.
2760
254c37a5
AK
27612011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2762
2763 * mail/sendmail.el (mail-recover-1, mail-recover):
2764 * files.el (recover-file, recover-session):
2765 Handle dired-listing-switches not being just a single short option.
2766
35d7dbd3
GM
27672011-06-09 Glenn Morris <rgm@gnu.org>
2768
2769 * calendar/appt.el (appt-display-message, appt-disp-window):
2770 Handle lists of appointments.
2771
387522b2
MR
27722011-06-08 Martin Rudalics <rudalics@gmx.at>
2773
2b75be67
SM
2774 * window.el (one-window-p): Move down in code.
2775 Rewrite doc-string.
2776 (window-current-scroll-bars): Rewrite doc-string.
2777 Normalize live window argument.
387522b2
MR
2778 (walk-windows, get-window-with-predicate, count-windows):
2779 Rewrite doc-string. Use window-list-1.
2780 (window-in-direction-2, window-in-direction, get-mru-window):
2781 New functions.
2782
d8e4b68b 27832011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
2784
2785 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2786 Doc fix (Bug#8713).
2787
27882011-06-08 Chong Yidong <cyd@stupidchicken.com>
2789
2790 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2791
27922011-06-08 Juanma Barranquero <lekktu@gmail.com>
2793
2794 * loadhist.el (unload-feature-special-hooks):
2795 Add `comint-output-filter-functions'.
2796
0de12c52
IK
27972011-06-08 Ivan Kanis <gnu@kanis.fr>
2798
2799 * calendar/appt.el (appt-check): Move some initializations into the let.
2800
f3d1777e
MR
28012011-06-08 Martin Rudalics <rudalics@gmx.at>
2802
2803 * window.el (window-height): Defalias to window-total-height.
2804 (window-width): Defalias to window-body-width.
2805
18af70d0
CY
28062011-06-07 Chong Yidong <cyd@stupidchicken.com>
2807
2808 * image-mode.el (image-toggle-animation): New command.
2809 (image-mode-map): Bind it to RET.
2810 (image-mode): Update message.
2811 (image-toggle-display-image): Avoid a spurious cache flush.
2812 (image-transform-rotation): Doc fix.
2813 (image-transform-properties): Return quickly in the normal case.
2814 (image-animate-loop): Rename from image-animate-max-time.
2815
2b75be67 2816 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
2817 (create-animated-image): Remove unnecessary function.
2818 (image-animate): Rename from image-animate-start. New arg.
2b75be67 2819 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
2820 (image-animate-timer): Use car-safe.
2821 (image-animate-timeout): Rename argument.
2822
190b47e6
MR
28232011-06-07 Martin Rudalics <rudalics@gmx.at>
2824
2825 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
2826 window.c. Rename first argument to ALL-FRAMES.
2827 Rephrase doc-strings.
2828 (get-buffer-window-list): Rewrite using window-list-1.
2829 Rephrase doc-string.
a1511caf
MR
2830 (window-safe-min-height, window-safe-min-width): New constants.
2831 (window-size-ignore, window-min-size, window-min-size-1)
2832 (window-sizable, window-sizable-p, window-size-fixed-1)
2833 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2834 (window-max-delta-1, window-max-delta, window-resizable)
2835 (window-resizable-p, window-total-height, window-total-width)
2836 (window-body-width): New functions.
2837 (window-full-height-p, window-full-width-p): Rewrite using
2838 window-total-size.
2839 (window-body-height): Rewrite using window-body-size.
190b47e6 2840
85cc1f11
MR
28412011-06-06 Martin Rudalics <rudalics@gmx.at>
2842
2843 * window.el (window-right, window-left, window-child)
2844 (window-child-count, window-last-child, window-any-p)
2845 (normalize-live-buffer, normalize-live-frame)
2846 (normalize-any-window, normalize-live-window)
2847 (window-iso-combination-p, window-iso-combined-p)
2848 (window-iso-combinations)
2849 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2850 (windows-with-parameter, window-with-parameter)
2851 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
2852 (window-atom-check, window-side-check, window-check):
2853 New functions.
85cc1f11
MR
2854 (ignore-window-parameters, window-sides, window-sides-vertical)
2855 (window-sides-slots): New variables.
2856 (window-size-fixed): Move down in code. Minor doc-string fix.
2857
e7156492
AS
28582011-06-05 Andreas Schwab <schwab@linux-m68k.org>
2859
2860 * comint.el (comint-dynamic-complete-as-filename)
2861 (comint-dynamic-complete-filename): Correctly call
2862 completion-in-region.
2863
7e821d0d
DD
28642011-06-05 Deniz Dogan <deniz@dogan.se>
2865
2866 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2867 in last change.
2868
ac09b8a1
DD
28692011-06-05 Deniz Dogan <deniz@dogan.se>
2870
2871 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2872 (rcirc): Use it to prompt for encryption.
2873
34699b85
RW
28742011-06-05 Roland Winkler <winkler@gnu.org>
2875
2876 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2877 (bibtex-search-entries): New command bound to C-c C-a.
2878 (bibtex-display-entries): New function.
2879
004dedd3
RW
28802011-06-05 Roland Winkler <winkler@gnu.org>
2881
2882 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2883 (bibtex-insert-kill): After yanking insert newline if necessary.
2884 (bibtex-initialize): Call bibtex-string-files-init only once.
2885 (bibtex-mode): Do not call easy-menu-add.
2886 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2887 (bibtex-yank): Set arg properly if nil.
2888
022fe7ce
RW
28892011-06-05 Roland Winkler <winkler@gnu.org>
2890
2b75be67
SM
2891 * textmodes/bibtex.el (bibtex-search-entry-globally):
2892 New variable.
022fe7ce
RW
2893 (bibtex-search-entry): Use it.
2894
b7c3692a
RW
28952011-06-05 Roland Winkler <winkler@gnu.org>
2896
2897 * textmodes/bibtex.el (bibtex-entry-format): New option
2898 sort-fields.
2899 (bibtex-format-entry, bibtex-reformat): Honor this option.
2900 (bibtex-parse-entry): Return fields in proper order.
2901
8eda563d
JB
29022011-06-05 Juanma Barranquero <lekktu@gmail.com>
2903
2904 * doc-view.el (doc-view-remove-if): Move computation of result out
2905 of `dolist' to silence misleading lexical-binding warning.
2906
7dbe3dbc
CY
29072011-06-04 Chong Yidong <cyd@stupidchicken.com>
2908
2909 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2910 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2911
0c33dd17
MA
29122011-06-04 Michael Albinus <michael.albinus@gmx.de>
2913
2914 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2915 "SunOS 5.10".
2916
f8f91c2b
MA
29172011-06-04 Michael Albinus <michael.albinus@gmx.de>
2918
2919 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2920 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2921 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2922 (tramp-parse-putty):
2923 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2924 (tramp-completion-function-alist-ssh)
2925 (tramp-completion-function-alist-telnet)
2926 (tramp-completion-function-alist-su)
2927 (tramp-completion-function-alist-putty): Set `tramp-autoload'
2928 cookie.
2929
2930 * net/tramp-ftp.el:
2931 * net/tramp-sh.el:
2932 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2933 load "tramp.el" `tramp-set-completion-function'.
2934
e17d9003
SM
29352011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * shell.el: Require and use pcomplete.
2938 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2939 (shell-completion-vars): Set pcomplete-default-completion-function.
2940
6c4cab03
DD
29412011-06-04 Deniz Dogan <deniz@dogan.se>
2942
2943 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2944 `memq' (Bug#8799).
2945
ea9fafe0
SM
29462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2949
b3e945d3
JB
29502011-06-02 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * bs.el (bs--mark-unmark, bs--nth-wrapper):
2953 * mpc.el (mpc-select-extend, mpc-songpointer-context):
2954 * vc/log-view.el (log-view-beginning-of-defun):
2955 * vc/smerge-mode.el (smerge-apply-resolution-patch)
2956 (smerge-refine-forward, smerge-refine-chopup-region):
2957 Silence warning for unused `dotimes' counter variables.
2958
7d520089
SM
29592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * net/tramp.el (tramp-with-progress-reporter): Rename from
2962 with-progress-reporter. Use `declare'.
2963 * net/tramp-smb.el:
2964 * net/tramp-sh.el:
2965 * net/tramp-gvfs.el: Update all uses.
2966
a1c2400f
JB
29672011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
2968
2969 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2970 buffer isn't killed before making it current.
2971
2403c841
SM
29722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 Silence various byte-compiler warnings.
2975 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2976 `access-type' and new obsolescence format.
2977 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2978 new format.
2979 (byte-compile-check-variable): New `access-type' argument.
2980 Only warn if the access-type is obsolete.
2981 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2982 (byte-compile-variable-set): Adjust callers.
2983 * help-fns.el (describe-variable): Adjust to new obsolescence format.
2984 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2985 setting it as obsolete.
2986 * simple.el (minibuffer-completing-symbol):
2987 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2988 access as obsolete.
2989 * minibuffer.el (minibuffer-completing-file-name): Don't make it
2990 obsolete yet.
2991 * international/quail.el (quail-mouse-choose-completion): Remove unused
2992 code referring to obsolete var.
2993 (quail-choose-completion-string): Remove.
2994 * server.el (server-clients-with, server-kill-buffer-query-function)
2995 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2996 * proced.el (proced-send-signal):
2997 * emacs-lisp/lisp.el (lisp-complete-symbol):
2998 Replace completion-annotate-function with completion-extra-properties.
2999
2462470b
SM
30002011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3001
fb5b2591
SM
3002 * simple.el (goto-line): Use read-number.
3003 (overriding-map-is-bound): Remove.
3004 (saved-overriding-map): Change default.
3005 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3006 Take the map as argument.
3007 (universal-argument, negative-argument, digit-argument): Use it.
3008 (restore-overriding-map): Adjust.
3009 (do-auto-fill): Use fill-forward-paragraph.
3010 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3011
fd6fa53f
SM
3012 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3013 (minibuffer-inactive-mode): New major mode.
3014 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3015 the *Messages* buffer" hack.
3016 (mouse-popup-menubar): Don't burp if the event is a normal key.
3017
2462470b
SM
3018 Miscellaneous tweaks.
3019 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3020 lexical scoping as in subr.el's dolist and dotimes.
3021 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3022 Silence compiler warning.
3023 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3024 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3025 * international/ccl.el (ccl-compile): Trivial simplification.
3026 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3027 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3028 `printflag' argument.
3029 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3030 Purecopy the whole obsolescence data.
3031
108bf785
LL
30322011-06-01 Leo Liu <sdl.web@gmail.com>
3033
3034 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3035 improve doc-string as suggested by Marco Pessotto
3036 <melmothx@gmail.com>.
3037 (rcirc-print): Fix last change.
3038
30a23501
SM
30392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * minibuffer.el (complete-with-action): Return nil for the metadata and
3042 boundaries of non-functional tables.
3043 (completion-table-dynamic): Return nil for the metadata.
3044 (completion-table-with-terminator): Add default case, using
3045 complete-with-action.
3046 (completion--metadata): New function.
3047 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3048 to try and avoid pathological performance problems.
3049 (completion--embedded-envvar-table): Return `category' metadata.
3050
bcd54f83
LMI
30512011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3052
3053 * subr.el (process-alive-p): New tiny convenience function.
3054
e227544d
SM
30552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3058 content but also its previous major mode.
3059
e8296fdc
HE
30602011-05-31 Helmut Eller <eller.helmut@gmail.com>
3061
3062 * debug.el (debug): Restore the previous content of the
3063 *Backtrace* buffer when we exit with C-M-c.
3064
620c53a6
SM
30652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * minibuffer.el: Add metadata method to completion tables.
3068 (completion-category-overrides): New defcustom.
3069 (completion-metadata, completion--field-metadata)
3070 (completion-metadata-get, completion--styles)
3071 (completion--cycle-threshold): New functions.
3072 (completion-try-completion, completion-all-completions):
3073 Add `metadata' argument to choose completion-styles.
3074 (completion--do-completion): Use metadata to choose cycling.
3075 (completion-all-sorted-completions): Use metadata for sorting.
3076 Remove :completion-cycle-penalty which is not needed any more.
3077 (completion--try-word-completion): Add `metadata' argument.
3078 (minibuffer-completion-help): Check metadata for annotation function
3079 and sorting.
3080 (completion-file-name-table): Return `category' metadata.
3081 (minibuffer-completing-file-name): Make obsolete.
3082 * simple.el (minibuffer-completing-symbol): Make obsolete.
3083 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3084 completion-try-completion.
3085
1257e755
SM
30862011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3089
3767e706
LL
30902011-05-30 Leo Liu <sdl.web@gmail.com>
3091
3092 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
3093 (rcirc-print): Decode all incoming messages (bug#8744).
3094 (rcirc-decode-coding-system): Allow value nil for automatic coding
3095 system detection.
3767e706 3096
d1a5d56a
GM
30972011-06-01 Glenn Morris <rgm@gnu.org>
3098
3099 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3100
e8cbec34
CY
31012011-05-29 Chong Yidong <cyd@stupidchicken.com>
3102
3103 * image.el (image-animate-max-time): Allow nil and t values.
3104 Default to nil.
3105 (create-animated-image): Doc fix.
3106 (image-animate-start): Remove second arg; just use
3107 image-animate-max-time.
3108 (image-animate-timeout): Doc fix. Args changed.
3109
3110 * image-mode.el (image-toggle-display-image): Ensure that the
3111 image spec passed to the animate timer is the same object as in
3112 the the buffer's display property (Bug#6981).
3113 (image-transform-properties): Doc fix.
3114
3115 * image.el (image-animate-max-time): Default to nil.
3116
159daf87
MR
31172011-05-29 Martin Rudalics <rudalics@gmx.at>
3118
3119 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3120 entire buffer list (Bug#8184).
3121
d66c4c7c
CY
31222011-05-29 Chong Yidong <cyd@stupidchicken.com>
3123
3124 * image.el (imagemagick-types-inhibit)
3125 (imagemagick-register-types): Doc fix.
3126
80aec780
DD
31272011-05-29 Deniz Dogan <deniz@dogan.se>
3128
3129 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3130 default.
3131
1dd3c2d9
CY
31322011-05-29 Chong Yidong <cyd@stupidchicken.com>
3133
3134 * select.el: Don't perform clipboard-manager saving in hooks;
3135 leave the hooks empty.
3136
60e56523
LL
31372011-05-28 Leo Liu <sdl.web@gmail.com>
3138
3139 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3140 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3141 (occur-edit-mode): New major mode (Bug#8463).
3142 (occur-after-change-function): New function.
3143 (occur-engine): Give Occur tags a read-only property.
3144
2b1e1a22
KR
31452011-05-28 Kevin Ryde <user42@zip.com.au>
3146
3147 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3148
5d344e88
CY
31492011-05-28 Chong Yidong <cyd@stupidchicken.com>
3150
8e6ca83d
CY
3151 * bindings.el (help-echo): Make the initial non-indicator dash
3152 empty on graphical terminals (Bug#7295).
3153
5d344e88
CY
3154 * files.el (auto-mode-alist): Move config rule after the
3155 in-stripping one (Bug#8547).
3156
bfbbace7
CY
3157 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3158
fbeba6e2
CY
3159 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3160 setting (Bug#8740).
3161
60ed8c72
AA
31622011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3163
4ac619f0
AA
3164 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3165 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3166 (Bug#8539).
60ed8c72 3167
23db196e
CY
31682011-05-28 Chong Yidong <cyd@stupidchicken.com>
3169
3170 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3171
5012f24c
DK
31722011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3173
3174 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3175 (hs-hide-block-at-point, hs-find-block-beginning)
3176 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3177 (Bug#8279).
3178
6a639b16
GM
31792011-05-28 Glenn Morris <rgm@gnu.org>
3180
3181 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3182
d43eaf2c
CY
31832011-05-28 Chong Yidong <cyd@stupidchicken.com>
3184
5199bde1
CY
3185 * help-fns.el (describe-function-1): If the function is a derived
3186 major mode, print the parent mode.
3187
d43eaf2c
CY
3188 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3189 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3190
423428a8
SM
31912011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3192
0ff8e1ba
SM
3193 * minibuffer.el (completion--capf-wrapper): Check applicability before
3194 retuning non-nil for non-exclusive completion data.
3195 * progmodes/etags.el (tags-completion-at-point-function):
3196 * info-look.el (info-lookup-completions-at-point): Mark as
3197 non-exclusive.
3198 (info-complete): Adjust accordingly.
3199
423428a8
SM
3200 * info-look.el: Convert to lexical-binding and completion-at-point.
3201 (info-lookup-completions-at-point): New function.
3202 (info-complete): Use it and completion-in-region.
3203
b74aa22b
DA
32042011-05-28 Drew Adams <drew.adams@oracle.com>
3205
3206 * isearch.el: Let M-e start with point at the first mismatched char.
3207 (isearch-fail-pos): New function.
3208 (isearch-edit-string): Use it.
3209
66e2e71d
DK
32102011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3211
3212 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3213
eb95d01d
TC
32142009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3215
3216 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3217 traversal functions for avl-trees.
3218 (avl-tree--stack): New struct.
3219 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3220 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
3221 (avl-tree--do-enter): Add optional `updatefun' arg.
3222 Change return value.
eb95d01d 3223 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
3224 (avl-tree--do-delete): Add `test' and `nilflag' args.
3225 Change return value.
eb95d01d
TC
3226 (avl-tree-member): Add optional `nilflag'
3227 (avl-tree-member-p): New function.
3228 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3229 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3230 (avl-tree-stack-empty-p): New functions.
3231
3769ddcf
TC
32322009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3233
3234 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3235 avl-tree--del-balance1 and make it work both ways.
3236 (avl-tree--del-balance2): Remove.
3237 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3238 make it work both ways.
3239 (avl-tree--enter-balance2): Remove.
3240 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3241 New macros.
3242 (avl-tree--mapc, avl-tree-map): Add direction argument.
3243
eb95d01d 32442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
3245
3246 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3247
a9f737ee
CY
32482011-05-27 Chong Yidong <cyd@stupidchicken.com>
3249
3250 * select.el: Support clipboard managers with built-in function
3251 x-clipboard-manager-save, via delete-frame-functions and
3252 kill-emacs-hook.
3253 (xselect-convert-to-targets): Add MULTIPLE target to list.
3254 (xselect-convert-to-save-targets): New function.
3255
c92a1e54
KH
32562011-05-27 Kenichi Handa <handa@m17n.org>
3257
3258 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3259 let-binding rfc2047-encode-encoded-words to nil.
3260
e145f188
GM
32612011-05-27 Glenn Morris <rgm@gnu.org>
3262
5ec8a862
GM
3263 * mail/emacsbug.el: Don't require url-util.
3264
4b29d9fb
GM
3265 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3266
e145f188
GM
3267 * files.el (set-auto-mode):
3268 Also respect mode: entries at the end of the file. (Bug#8586)
3269
7d15102b
GM
32702011-05-26 Glenn Morris <rgm@gnu.org>
3271
98f593b8
GM
3272 * files.el (hack-local-variables-prop-line, hack-local-variables):
3273 Downcase mode names, as seems to be traditional.
27b48e63 3274 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 3275
7d15102b
GM
3276 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3277 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3278
51d5b4ec
JD
32792011-05-25 Julien Danjou <julien@danjou.info>
3280
3281 * textmodes/rst.el (rst-define-level-faces): Do not define face
3282 symbol if it is already defined.
3283
91513f63
VB
32842011-05-24 Vincent BelaĆÆche <vincentb1@users.sourceforge.net>
3285
3286 * play/5x5.el (5x5-new-game, 5x5-randomize):
3287 Reset 5x5-solver-output to nil when a new grid is cast.
3288 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3289 these debugging traces, as defmacro breaks the compiled code.
3290
4d90d6d0
DK
32912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3292
3293 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3294
e1b90ef6
LL
32952011-05-24 Leo Liu <sdl.web@gmail.com>
3296
3297 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3298 (vc-bzr-sha1): Adapt.
3299
d8e4b68b 3300 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
3301
3302 * bindings.el: Provide sha1 feature.
3303
db0406bb 33042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
3305
3306 * mail/sendmail.el: Require `rfc2047'.
3307 (mail-insert-from-field): Do not perform RFC2047 encoding.
3308 (mail-encode-header): New function.
3309 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
3310 buffer to the return value of select-message-coding-system.
3311 Call mail-encode-header.
b8d747b9
KH
3312
3313 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3314
db0406bb 33152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 3316
4d90d6d0
DK
3317 * mail/supercite.el (sc-default-cite-frame):
3318 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 3319
eb8a5e9b
GM
33202011-05-24 Glenn Morris <rgm@gnu.org>
3321
f8630703
GM
3322 * progmodes/python.el (brm-menu): Declare.
3323
8831bbed
GM
3324 * emulation/viper.el (viper-set-hooks): Declare.
3325
eb8a5e9b
GM
3326 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3327 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3328 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3329 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3330 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3331 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3332
a2a25d24
SM
33332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 Add an :exit-function for completion-at-point.
3336
3337 * minibuffer.el (completion--done): New fun.
3338 (completion--do-completion): Use it. New arg `expect-exact'.
3339 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3340 since completion--do-completion does it for us now.
3341 (minibuffer-force-complete): Use completion--done and
3342 completion--replace. Handle sole-completion case with more care.
3343 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3344 (completion-extra-properties): New var.
3345 (completion-annotate-function): Make obsolete.
3346 (minibuffer-completion-help): Adjust accordingly.
3347 Use completion-list-insert-choice-function.
3348 (completion-at-point, completion-help-at-point):
3349 Bind completion-extra-properties.
3350 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3351 * simple.el (completion-list-insert-choice-function): New var.
3352 (completion-setup-function): Preserve it.
3353 (choose-completion): Pay attention to it, shuffle the code a bit.
3354 (choose-completion-string): New arg `insert-function'.
3355
3356 * textmodes/bibtex.el: Convert to lexical binding.
3357 (bibtex-mode-map): Use completion-at-point.
3358 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3359 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3360 (bibtex-complete): Define as obsolete alias.
3361 (bibtex-complete-internal): Remove.
3362 (bibtex-format-entry): Remove unused sub-group in regexp.
3363 * shell.el (shell--command-completion-data)
3364 (shell-environment-variable-completion):
3365 * pcomplete.el (pcomplete-completions-at-point):
3366 * comint.el (comint--complete-file-name-data): Use :exit-function
3367 instead of completion-table-with-terminator so it also works for
3368 choose-completion.
3369
e44e373d
SM
33702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3371
4f91a816
SM
3372 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3373
782fc819
SM
3374 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3375 (bug#8710).
3376
e44e373d
SM
3377 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3378
381987c3
KM
33792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3380
3381 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3382 customization variable and implement: If non-nil, auto-fill will
3383 be inhibited while on topic's header line.
3384
b776bc70
VB
33852011-05-23 Vincent BelaĆÆche <vincentb1@users.sourceforge.net>
3386
3387 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 3388 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
3389 always have a solution in grid size = 5 cases.
3390 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3391 (5x5-solver-output, 5x5-log-buffer): New vars.
3392 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3393 Make these variables buffer local to achieve 5x5 multi-session-ness.
3394 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3395 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3396 (5x5-solve-suggest): New funs.
3397 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3398 randomize a grid so that we ensure that there is always a solution.
3399 (5x5-make-random-grid): Allow other movement than flipping.
3400
7de88b6e
KR
34012011-05-23 Kevin Ryde <user42@zip.com.au>
3402
3403 * emacs-lisp/advice.el (ad-read-advised-function):
3404 Use `function-called-at-point' as the default default, if it has
3405 advice and passes PREDICATE.
3406
b1ef1257
SM
34072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3408
bbca48fe
SM
3409 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3410 byte-compile-lambda if it's actually a lambda.
3411
b1ef1257
SM
3412 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3413 Fix function quoting. Use backquote better.
3414
92a9cc65
YS
34152011-05-22 Yuanle Song <sylecn@gmail.com>
3416
3417 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3418 matching (Bug#8516).
3419
f0fb8059
JA
34202011-01-22 Jari Aalto <jari.aalto@cante.net>
3421
3422 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3423 different face (Bug#8178).
3424
d5b44c93
CY
34252011-05-22 Chong Yidong <cyd@stupidchicken.com>
3426
3427 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3428 defface (Bug#8144).
3429
79106a44
SM
34302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3431
9c848d8a
SM
3432 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3433 funcall as well (bug#8712). Warn when performing those conversions.
3434 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3435
79106a44
SM
3436 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3437
88dfa756
GM
34382011-05-22 Glenn Morris <rgm@gnu.org>
3439
3440 * files.el (hack-local-variables-prop-line): Small simplifications.
3441 (hack-local-variables, hack-local-variables-prop-line):
3442 If MODE-ONLY, return the mode, rather than just `t'.
3443
b7cf2c79
SM
34442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3447
3f1a8558
GM
34482011-05-21 Glenn Morris <rgm@gnu.org>
3449
7e4ccca3
GM
3450 * files.el (hack-local-variables-prop-line, hack-local-variables):
3451 If only interested in the mode, don't bother doing the other stuff.
3452
637d46ca
GM
3453 * image-mode.el (image-after-revert-hook):
3454 Redraw all frames on which the image is visible. (Bug#8567)
3455
973d955b
GM
3456 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3457
3f1a8558
GM
3458 * wid-edit.el (widget-checklist-match-inline):
3459 Fix 2011-04-19 change. (Bug#8649)
3460
96479927
SM
34612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3462
1dcf791f
SM
3463 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3464 Also allow singlespace after single-letter capitals followed by a dot.
3465
96479927
SM
3466 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3467 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3468
35fd0881
N
34692011-05-20 Nix <nix@esperi.org.uk>
3470
3471 * files.el (basic-save-buffer-2):
3472 Fix handling of break-hardlink-on-save with non-existent files.
3473
82745640
DD
34742011-05-19 Deniz Dogan <deniz@dogan.se>
3475
3476 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 3477 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 3478
4a720484
GM
34792011-05-19 Glenn Morris <rgm@gnu.org>
3480
d1f21341
GM
3481 * progmodes/f90.el (f90-type-def-re):
3482 Handle "type, bind(c)". (Bug#8691)
3483
4a720484
GM
3484 * emacs-lisp/autoload.el (batch-update-autoloads):
3485 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3486
2fb0a219
MA
34872011-05-18 Michael Albinus <michael.albinus@gmx.de>
3488
3489 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3490 property for the correct connection in case of multihops.
3491
e565dd37
GM
34922011-05-18 Glenn Morris <rgm@gnu.org>
3493
c2571358 3494 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
3495 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3496
e565dd37
GM
3497 Rationalize calendar handling of day and month abbrev-arrays.
3498 * calendar/calendar.el (calendar-customized-p): New function.
3499 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3500 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3501 Add :set function.
3502 (calendar-abbrev-length, calendar-day-abbrev-array)
3503 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3504 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3505 Elements may no longer be nil.
3506 (calendar-day-name, calendar-month-name):
3507 Update for changed nature of abbrev arrays.
3508 * calendar/diary-lib.el (diary-name-pattern):
3509 Update for changed nature of abbrev arrays.
3510 (diary-mark-entries-1): Update calendar-make-alist calls.
3511 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3512 * calendar/cal-html.el (cal-html-day-abbrev-array):
3513 Simply inherit from calendar-day-abbrev-array.
3514
1d99a745
SM
35152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * progmodes/grep.el (grep-mode): Disable default
3518 compilation-directory-matcher setting (bug#8684).
3519
7c1d9aa0
MA
35202011-05-17 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3523 instead of "head" and "tail". There were problems with SunOS 5.9,
3524 and it performs better.
3525
3952e9d8
GM
35262011-05-17 Glenn Morris <rgm@gnu.org>
3527
2dd12e7f
GM
3528 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3529
e4157b9c
GM
3530 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3531 Replace obsolete function.
3532
8e249bbd
GM
3533 * shell.el (pcomplete-parse-arguments-function): Declare.
3534
3952e9d8
GM
3535 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3536 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3537 (appt-check): Doc fixes.
3538 (appt-disp-window-function, appt-delete-window-function):
3539 Remove needless special case in custom :type.
3540 (appt-display-count): Default to 0, not nil.
3541 (appt-check): Reset appt-display-count to 0, not nil.
3542
c71a0d48 35432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 3544
c71a0d48
GM
3545 * progmodes/python.el (python-font-lock-keywords):
3546 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 3547
31d55be9
SM
35482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3551
3bfacb2f
KR
35522011-05-16 Kevin Ryde <user42@zip.com.au>
3553
3554 * info-look.el (makefile-automake-mode): New setups, looking in
3555 automake manual, then makefile-mode.
3556 (makefile-mode): Remove automake manual, have it just in
3557 makefile-automake-mode since there's various things different or
3558 not relevant to plain make.
3559 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3560 believe a hypothetical automake-mode would go to makefile-mode,
3561 not the other way around.
3562
c8e83751
CY
35632011-05-15 Chong Yidong <cyd@stupidchicken.com>
3564
5e9e35cd
CY
3565 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3566 hunk-end tags (Bug#8672).
3567
c8e83751
CY
3568 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3569 vc-annotate-show-diff-revision-at-line (Bug#8671).
3570
50b23e5a
GM
35712011-05-14 Glenn Morris <rgm@gnu.org>
3572
7210a739
GM
3573 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3574 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
3575 (change-log-font-lock-keywords): Also handle multiple author lines
3576 with leading tabs. (Bug#8644)
7210a739 3577
4691905a
GM
3578 * calendar/appt.el (appt-check): Rename some local variables.
3579 Some simplification/reordering.
3580
50b23e5a
GM
3581 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3582 (feedmail-sendmail-f-doesnt-sell-me-out)
3583 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3584 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3585 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
3586 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3587 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
3588 (feedmail-binmail-gnulinuxish-template):
3589 Rename from feedmail-binmail-linuxish-template.
3590 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3591 Use insert-buffer-substring.
3592
215cda7c
BC
35932011-05-14 Bill Carpenter <bill@carpenter.org>
3594
3595 * mail/feedmail.el (feedmail-patch-level): Increase.
3596 (feedmail-debug): New custom group.
3597 (feedmail-confirm-outgoing-timeout)
3598 (feedmail-sendmail-f-doesnt-sell-me-out)
3599 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3600 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3601 (feedmail-sender-line, feedmail-from-line)
3602 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 3603 (feedmail-spray-this-address)
215cda7c
BC
3604 (feedmail-spray-address-fiddle-plex-list)
3605 (feedmail-queue-use-send-time-for-date)
3606 (feedmail-queue-use-send-time-for-message-id)
3607 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3608 (feedmail-buffer-eating-function):
3609 Doc fixes.
3610 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3611 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3612 (feedmail-message-action-scroll-down): New functions.
3613 (feedmail-queue-directory, feedmail-queue-draft-directory):
3614 Use expand-file-name.
3615 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3616 Remove C-v help entry.
3617 (feedmail-queue-buffer-file-name): New variable.
3618 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3619 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3620 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3621 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3622 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3623 (feedmail-message-action-toggle-spray)
3624 (feedmail-run-the-queue-no-prompts)
3625 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3626 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3627 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3628 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3629 (feedmail-envelope-deducer, feedmail-fiddle-from)
3630 (feedmail-fiddle-sender, feedmail-default-date-generator)
3631 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3632 (feedmail-fiddle-spray-address)
3633 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3634 (feedmail-fiddle-list-of-fiddle-plexes)
3635 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3636 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3637 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3638 Change default. Doc fix.
3639 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3640 (feedmail-binmail-linuxish-template): New constant.
3641 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3642 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3643 (feedmail-send-it): Add debug call.
3644 Use feedmail-queue-buffer-file-name, and
3645 feedmail-send-it-immediately-wrapper.
3646 (feedmail-message-action-send): Add debug call.
3647 Use feedmail-send-it-immediately-wrapper.
3648 (feedmail-queue-express-to-queue): Add debug call.
3649 Run feedmail-queue-express-hook.
3650 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3651 (feedmail-message-action-help-blat):
3652 Rename from feedmail-queue-send-edit-prompt-help-first.
3653 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3654 Check line-endings. Handle errors better.
3655 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3656 Doc fix. Add debug call.
3657 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3658 Use feedmail-queue-send-edit-prompt-inner.
3659 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3660 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3661 from feedmail-queue-send-edit-prompt.
3662 (feedmail-queue-send-edit-prompt-help)
3663 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3664 (feedmail-tidy-up-slug): Add debug call.
3665 Respect feedmail-queue-slug-suspect-regexp.
3666 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3667 (feedmail-dump-message-to-queue): Add debug call.
3668 Expand queue-directory.
3669 (feedmail-dump-message-to-queue): Change message slightly.
3670 Use feedmail-say-chatter.
3671 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3672 (feedmail-send-it-immediately-wrapper): New function.
3673 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3674 Insert empty string rather than newline. Handle full-frame case.
3675 Use catch/throw. Use feedmail-say-chatter.
3676 (feedmail-fiddle-from): Try mail-host-address.
3677 (feedmail-default-message-id-generator): Doc fix.
3678 Bind system-time-locale. Handle missing end.
3679 (feedmail-fiddle-x-mailer): Add debug call.
3680 Handle feedmail-x-mailer-line being nil.
3681 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3682 Add debug call. Use buffer-substring-no-properties.
3683 (feedmail-say-debug, feedmail-say-chatter): New functions.
3684 (feedmail-find-eoh): Give an explicit error.
3685
42c7e61e
UJ
36862011-05-13 Ulf Jasper <ulf.jasper@web.de>
3687
c2571358 3688 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 3689 family from helvetica to sans.
c2571358 3690 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3691 etc/images/newsticker.
3692
c2571358 3693 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
3694 family from helvetica to sans.
3695
3696 * net/newst-plainview.el (newsticker-new-item-face)
3697 (newsticker-old-item-face, newsticker-immortal-item-face)
3698 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 3699 (newsticker-statistics-face): Change default family from
42c7e61e 3700 helvetica to sans.
c2571358 3701 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
3702 etc/images/newsticker.
3703
3704 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3705 (newsticker--process-auto-mark-filter-match): : Tell user about
3706 auto-marking.
3707
8497a297
DV
37082011-05-13 Didier Verna <didier@xemacs.org>
3709
3710 Common Lisp indentation improvements on defmethod and lambda-lists.
3711 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3712 (lisp-lambda-list-keyword-parameter-indentation)
3713 (lisp-lambda-list-keyword-parameter-alignment)
3714 (lisp-lambda-list-keyword-alignment): New customizable user options.
3715 (lisp-indent-defun-method): Improve docstring.
3716 (extended-loop-p): Fix comment.
3717 (lisp-indent-lambda-list-keywords-regexp): New variable.
3718 (lisp-indent-lambda-list): New function.
3719 (lisp-indent-259): Use it.
3720 (lisp-indent-defmethod): Support for more than one
3721 method qualifier and properly indent methods lambda-lists.
3722 (defgeneric): Provide a missing common-lisp-indent-function property.
3723
f278f87f
SM
37242011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3727 bounds for the empty string (bug#8667).
3728
5233edd7
GM
37292011-05-13 Glenn Morris <rgm@gnu.org>
3730
5237a44f
GM
3731 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3732
8340026c 3733 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 3734 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 3735
5233edd7 3736 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 3737 (appt-time-msg-list): Doc fix.
a5464014 3738 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 3739
92d10796
AS
37402011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * progmodes/ld-script.el (ld-script-keywords)
3743 (ld-script-builtins): Update keywords list.
3744
914a0ae1
SM
37452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3746
c89be45f
SM
3747 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3748
914a0ae1
SM
3749 * shell.el (shell-completion-vars): New function.
3750 (shell-mode):
3751 * simple.el (read-shell-command): Use it.
3752 (blink-matching-open): No need for " [...]" in minibuffer-message.
3753
98dc3df3
GM
37542011-05-12 Glenn Morris <rgm@gnu.org>
3755
3756 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3757 (appt-check): Simplify.
3758
d2fc7e3d 37592011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
3760
3761 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3762 literal "/dev/null".
3763
d2fc7e3d 37642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
3765
3766 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3767 Fix typo.
3768
d2fc7e3d 37692011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 3770
3f254caa
SM
3771 * progmodes/which-func.el (which-function):
3772 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
3773 which might not be defined (Bug#8260).
3774
d45885f7
GM
37752011-05-12 Glenn Morris <rgm@gnu.org>
3776
3777 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3778 Let byte-compile-initial-macro-environment always take precedence.
3779
488086f4
SM
37802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * net/rcirc.el: Add support for SSL/TLS connections.
3783 (rcirc-server-alist): New field `encryption'.
3784 (rcirc): Check `encryption' settings.
3785 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3786 Merge make-local-variable into `set'.
3787 (rcirc--connection-open-p): New function.
3788 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3789 the process is not a network process (e.g. running gnutls-cli).
3790 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3791 Make rcirc-(en|de)code-coding-system local here.
3792 (rcirc-mode): Merge make-local-variable into `set'.
3793 (rcirc-parent-buffer): Make permanent buffer-local.
3794 (rcirc-multiline-minor-mode): Don't do it here.
3795 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3796 there's no server buffer.
3797
7d3b9d44
GM
37982011-05-11 Glenn Morris <rgm@gnu.org>
3799
f64049c6
GM
3800 * newcomment.el (comment-kill): Prefix "unused" local.
3801
93c9df73
GM
3802 * term/w32console.el (get-screen-color): Declare.
3803
7d3b9d44
GM
3804 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3805 Handle symbol elements of byte-compile-initial-macro-environment.
3806
9e2dd53f
LL
38072011-05-10 Leo Liu <sdl.web@gmail.com>
3808
488086f4
SM
3809 * bookmark.el (bookmark-bmenu-mode-map):
3810 Bind bookmark-bmenu-search to `/'.
8b340240 3811
9e2dd53f 3812 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
3813 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3814 (Footnote-unicode): New function.
3815 (footnote-style-alist): Add unicode style to the list.
3816 (footnote-style): Doc fix.
9e2dd53f 3817
79b70037
GM
38182011-05-10 Jim Meyering <meyering@redhat.com>
3819
3820 Fix doubled-word typos.
3821 * international/quail.el (quail-insert-kbd-layout): and and -> and
3822 * kermit.el: and and -> and
3823 * net/ldap.el (ldap-search-internal): to to -> to
3824 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3825 * progmodes/js.el (js-mode): and and -> and
3826 * textmodes/artist.el (artist-move-to-xy): at at -> at
3827 (artist-draw-region-trim-line-endings): if if -> if
3828 And Safetyc -> Safety.
3829 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3830
b8f82dc1 38312011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 3832 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
3833
3834 * files.el (hack-one-local-variable-eval-safep):
3835 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3836
4f99f44b
GM
38372011-05-10 Glenn Morris <rgm@gnu.org>
3838
3839 * calendar/diary-lib.el (diary-list-entries-hook)
3840 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3841 (diary-nongregorian-marking-hook, diary-list-entries)
3842 (diary-include-other-diary-files, diary-mark-entries)
3843 (diary-mark-included-diary-files): Doc fixes.
3844
84f29e6b
JB
38452011-05-09 Juanma Barranquero <lekktu@gmail.com>
3846
3847 * misc.el: Require tabulated-list.el during compilation.
3848
9bedd73a
CY
38492011-05-09 Chong Yidong <cyd@stupidchicken.com>
3850
488086f4
SM
3851 * progmodes/compile.el (compilation-start):
3852 Run compilation-filter-hook for the async case too.
9bedd73a
CY
3853 (compilation-filter-hook): Doc fix.
3854
797c735c
DD
38552011-05-09 Deniz Dogan <deniz@dogan.se>
3856
3857 * wdired.el: Remove outdated installation comment. Fix usage
3858 comment.
3859
5f4b1dfe
JB
38602011-05-09 Juanma Barranquero <lekktu@gmail.com>
3861
3862 * misc.el: Implement new command `list-dynamic-libraries'.
3863 (list-dynamic-libraries--loaded-only-p): New variable.
3864 (list-dynamic-libraries--refresh): New function.
3865 (list-dynamic-libraries): New command.
3866
4c44026c
CY
38672011-05-09 Chong Yidong <cyd@stupidchicken.com>
3868
488086f4
SM
3869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3870 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
3871 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
3872 higher priority to avoid clobbering by gnu.
3873
027f966d
CY
38742011-05-08 Chong Yidong <cyd@stupidchicken.com>
3875
3876 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3877 if the face has existing theme settings (Bug#8454).
3878
085f5d7d
CY
38792011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3880
488086f4
SM
3881 * progmodes/perl-mode.el (perl-imenu-generic-expression):
3882 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 3883
2a86a00c
RS
3884 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3885 special file names `.' and `..' (Bug#8259).
3886
d9c54a06
CY
38872011-05-08 Chong Yidong <cyd@stupidchicken.com>
3888
488086f4
SM
3889 * progmodes/grep.el (grep-mode-font-lock-keywords):
3890 Remove buffer-changing entries.
d9c54a06
CY
3891 (grep-filter): New function.
3892 (grep-mode): Add it to compilation-filter-hook.
3893
3894 * progmodes/compile.el (compilation-filter-hook)
3895 (compilation-filter-start): New defvars.
3896 (compilation-filter): Call compilation-filter-hook prior to
3897 updating the process mark.
3898
c4662635
SM
38992011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3902
b0512a1d
EZ
39032011-05-07 Eli Zaretskii <eliz@gnu.org>
3904
605c9376
EZ
3905 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3906 mailclient-send-it even if window-system is nil. (Bug#8595)
3907
c4662635
SM
3908 * term/w32console.el (terminal-init-w32console):
3909 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
3910 background-mode. (Bug#8597)
3911
d1dc2cc2
SM
39122011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 Make bytecomp.el understand that defmethod defines funs (bug#8631).
3915 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3916 New functions.
3917 (defgeneric, eieio--defmethod): Use them.
3918 (eieio-defgeneric): Remove.
3919 (defmethod): Call defgeneric in a way visible to the byte-compiler.
3920
915d1300
GM
39212011-05-07 Glenn Morris <rgm@gnu.org>
3922
a3961c3e
GM
3923 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3924 Use let rather than let*.
3925 (timeclock-find-discrep): Remove unused local.
3926
314347b9
GM
3927 * calendar/diary-lib.el (diary-comment-start): Doc fix.
3928
915d1300
GM
3929 * calendar/appt.el (appt-time-msg-list): Doc fix.
3930
275b59b0
NF
39312011-05-06 Noah Friedman <friedman@splode.com>
3932
3933 * apropos.el (apropos-print-doc): Only use
3934 emacs-lisp-docstring-fill-column when it is bound to an integer,
3935 per that variable's documentation.
3936
6c19f744
SM
39372011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 3940 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 3941
60f884b2
GM
39422011-05-06 Glenn Morris <rgm@gnu.org>
3943
5006e634
GM
3944 * calendar/appt.el (appt-message-warning-time): Doc fix.
3945 (appt-warning-time-regexp): New option.
3946 (appt-make-list): Respect appt-message-warning-time.
3947
548d0a63
GM
3948 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3949 New options.
3950 (diary-add-to-list): Strip comments from the displayed string.
3951 (diary-mode): Set comment-start and comment-end.
3952
60f884b2
GM
3953 * vc/diff-mode.el (smerge-refine-subst): Declare.
3954 (diff-refine-hunk): Don't require smerge-mode when compiling.
3955
989681bb
JB
39562011-05-06 Juanma Barranquero <lekktu@gmail.com>
3957
3958 * simple.el (list-processes): Return nil as the docstring says.
3959
a6bc05e1
MA
39602011-05-05 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3963 to "".
3964 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3965 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3966 determining of binary transfer. (Bug#7383)
3967
23c22e9a
MA
39682011-05-05 Michael Albinus <michael.albinus@gmx.de>
3969
c4662635
SM
3970 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3971 Fix port computation bug. (Bug#8618)
23c22e9a 3972
0bff894f
GM
39732011-05-05 Glenn Morris <rgm@gnu.org>
3974
b8296902
GM
3975 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3976
1f522ce8
GM
3977 * simple.el (shell-dynamic-complete-functions)
3978 (comint-dynamic-complete-functions): Declare.
3979
cf5bee67
GM
3980 * net/network-stream.el (gnutls-negotiate):
3981 * simple.el (tabulated-list-print): Fix declarations.
3982
3983 * progmodes/gud.el (syntax-symbol, syntax-point):
3984 Remove unnecessary and incorrect declarations.
3985
0bff894f
GM
3986 * emacs-lisp/check-declare.el (check-declare-scan):
3987 Handle byte-compile-initial-macro-environment in bytecomp.el
3988
9869b3ae
SM
39892011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 Fix earlier half-done eieio-defmethod change (bug#8338).
3992 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3993 Streamline and change calling convention.
3994 (defmethod): Adjust accordingly and simplify.
3995 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3996 new eieio--defmethod.
3997 (slot-boundp): Minor CSE simplification.
3998
9c1d5ac5
MZ
39992011-05-05 Milan Zamazal <pdm@zamazal.org>
4000
4001 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4002 (glasses-make-readable): Use glasses-separate-capital-groups.
4003
455c834e
JB
40042011-05-05 Juanma Barranquero <lekktu@gmail.com>
4005
4006 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4007 (warning-series): Doc fix.
4008 (display-warning): Don't try to create the buffer if we just found it.
4009
9ed7c8cb
CY
40102011-05-04 Chong Yidong <cyd@stupidchicken.com>
4011
4012 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4013 (autoload-find-generated-file): New function.
4014 (generate-file-autoloads): Bind generated-autoload-file to
4015 buffer-file-name.
9869b3ae
SM
4016 (update-file-autoloads, update-directory-autoloads):
4017 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
4018 output file (Bug#7989).
4019 (batch-update-autoloads): Doc fix.
4020
0898ca10
JB
40212011-05-04 Juanma Barranquero <lekktu@gmail.com>
4022
4023 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4024
31dfb76c
GM
40252011-05-04 Glenn Morris <rgm@gnu.org>
4026
f330b642
GM
4027 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4028 function, so it follows changes in calendar-date-style.
4029 (diary-fancy-date-matcher): New function.
4030 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4031 (diary-fancy-font-lock-fontify-region-function):
4032 Use diary-fancy-date-pattern as a function.
4033
31dfb76c
GM
4034 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4035 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4036
48e79d6a
TZ
40372011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4038
4039 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4040 instead of positional arguments. Allow :keylist and :crlfiles
4041 arguments.
4042 (open-gnutls-stream): Call it.
4043
4044 * net/network-stream.el (network-stream-open-starttls): Adjust to
4045 call `gnutls-negotiate' with :process and :hostname arguments.
4046
dd5a5ee0
SM
40472011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4048
ef80fc09
SM
4049 * minibuffer.el (completion--message): New function.
4050 (completion--do-completion, minibuffer-complete)
4051 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4052 (completion--do-completion): Don't ignore completion-auto-help when in
4053 icomplete-mode.
4054
dd5a5ee0
SM
4055 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4056 internal encoding (e.g. tibetan zero is not whitespace).
4057 (global-whitespace-mode): Prefer save-current-buffer.
4058 (whitespace-trailing-regexp): Remove useless save-match-data.
4059 (whitespace-empty-at-bob-regexp): Minor simplification.
4060
b7d22a83
CY
40612011-05-03 Chong Yidong <cyd@stupidchicken.com>
4062
4063 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4064
5192af46
AM
40652011-05-03 AgustĆ­n MartĆ­n Domingo <agustin.martin@hispalinux.es>
4066
4067 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 4068 Use `concat' to create string for insertion.
5192af46 4069
5767d190
SM
40702011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4073 Avoid open-line which runs post-self-insert-hook.
4074 (bibtex-fill-entry): Remove unused `end' var.
4075
bf242939
AM
40762011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4077
5767d190
SM
4078 * textmodes/ispell.el (ispell-add-per-file-word-list):
4079 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 4080
25666126
LL
40812011-05-03 Leo Liu <sdl.web@gmail.com>
4082
4083 * isearch.el (isearch-yank-pop): New command.
5767d190 4084 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
4085 (isearch-forward): Mention it.
4086
52d3c2d0
SM
40872011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4088
1bcace58
SM
4089 * simple.el (minibuffer-complete-shell-command): Remove.
4090 (minibuffer-local-shell-command-map): Use completion-at-point.
4091 (read-shell-command): Setup completion vars here instead.
4092 (read-expression-map): Bind TAB to symbol completion.
4093
52d3c2d0
SM
4094 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4095 error directly rather via storing it into `results'.
4096
35813471
LL
40972011-05-02 Leo Liu <sdl.web@gmail.com>
4098
4099 * vc/diff.el: Fix description.
4100
e793a940
LMI
41012011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102
4103 * server.el (server-eval-at): New function.
4104
8de66e05
LMI
41052011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4106
4107 * net/network-stream.el (open-network-stream): Take a :nowait
4108 parameter and pass it on to `make-network-process'.
4109 (network-stream-open-plain): Ditto.
4110
dcb79f20
AS
41112011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4112
4113 * faces.el (face-spec-set-match-display): Don't match toolkit
4114 options on terminal frames.
4115
14a7fbd8
SM
41162011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4117
7eabc1be
SM
4118 * progmodes/pascal.el: Use lexical binding.
4119 (pascal-mode-map): Remove author preferences.
4120
14a7fbd8
SM
4121 * pcomplete.el (pcomplete-std-complete): Don't abuse
4122 completion-at-point.
4123
50f84510
JB
41242011-04-28 Juanma Barranquero <lekktu@gmail.com>
4125
6e087a44
JB
4126 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4127 removing code that has been dead since 1991 or so.
4128
50f84510
JB
4129 * startup.el (command-line): When warning about "_emacs", use a
4130 delayed warning to allow the user to filter it out.
4131
0ba690bd
DD
41322011-04-28 Deniz Dogan <deniz@dogan.se>
4133
4134 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4135 user has not joined.
4136
08abfaad
SM
41372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4140 aren't any completions at point.
4141
638f053a
JB
41422011-04-28 Juanma Barranquero <lekktu@gmail.com>
4143
4144 * subr.el (display-delayed-warnings): New function.
4145 (delayed-warnings-hook): New variable.
4146
8fff8daa
SM
41472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4148
08abfaad
SM
4149 * minibuffer.el (completion-at-point, completion-help-at-point):
4150 Don't presume that a given completion-at-point-function will always
4151 use the same calling convention.
4152
8fff8daa
SM
4153 * pcomplete.el (pcomplete-completions-at-point):
4154 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4155 pcomplete-seen is non-nil.
4156 (pcomplete-comint-setup): Also recognize the new comint/shell
4157 completion functions.
4158 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4159 pcomplete-seen is non-nil.
4160
841a1577 41612011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 4162
841a1577 4163 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 4164 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 4165 the first character in the entry. This allows for code to add its
211ec907
UJ
4166 own uid to the entry.
4167 (icalendar--convert-float-to-ical): Add export of
4168 `diary-float'-entries save for those with the optional DAY
4169 argument.
4170
2a782793
DC
41712011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4172
4173 * subr.el (shell-quote-argument): Use alternate escaping strategy
4174 when we spot a variable reference in a string.
4175
0438ce91
DC
41762011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4177
4178 * cus-start.el (all): Define customization for debug-on-event.
4179
841a1577 41802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
4181
4182 * subr.el (shell-quote-argument): Escape correctly under Windows.
4183
d090ed6c
SM
41842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4187
bfd31217
MA
41882011-04-25 Michael Albinus <michael.albinus@gmx.de>
4189
d090ed6c
SM
4190 * net/tramp.el (tramp-process-actions): Add POS argument.
4191 Delete region between POS and (pos).
bfd31217 4192
d090ed6c
SM
4193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4194 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
4195 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4196
4197 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4198 position in `tramp-process-actions' call.
4199
4200 * net/trampver.el: Update release number.
4201
e92f3bd3
SM
42022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4203
850256b5
SM
4204 * custom.el (defcustom): Obey lexical-binding.
4205
e92f3bd3
SM
4206 Fix octave-inf completion problems reported by Alexander Klimov.
4207 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4208 Inherit from octave-mode-syntax-table.
4209 (inferior-octave-mode): Set info-lookup-mode.
4210 (inferior-octave-completion-at-point): New function.
4211 (inferior-octave-complete): Use it and completion-in-region.
4212 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4213 comint-filename-completion.
4214 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4215 symbol elements which shouldn't be word elements.
4216 (octave-font-lock-keywords, octave-beginning-of-defun)
4217 (octave-function-header-regexp): Adjust regexps accordingly.
4218 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4219
cd22b309
JB
42202011-04-25 Juanma Barranquero <lekktu@gmail.com>
4221
4222 * net/gnutls.el (gnutls-errorp): Declare before first use.
4223
8b492194
TZ
42242011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4225
4226 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4227 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
4228 default trustfile exists before going to use it. Add missing
4229 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
4230 Reported by Claudio Bley <claudio.bley@gmail.com>.
4231 (open-gnutls-stream): Add usage example.
4232
4233 * net/network-stream.el (network-stream-open-starttls): Give host
4234 parameter to `gnutls-negotiate'.
4235 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 4236 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 4237
841a1577 42382011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 4239
cd22b309
JB
4240 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4241 Use correct match group (bug#8438).
05842630 4242
3ba7869c
CY
42432011-04-24 Chong Yidong <cyd@stupidchicken.com>
4244
512e3ae1
CY
4245 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4246 (package-menu--generate): New arg specifying packages to show.
4247 (package-menu-refresh, package-menu-execute, list-packages):
4248 Callers changed.
4249 (package-show-package-list): New function, replacing deleted
4250 package--list-packages (renamed because it is non-internal).
4251
4252 * finder.el (finder-list-matches): Use package-show-package-list
4253 instead of deleted package--list-packages.
4254
e92f3bd3
SM
4255 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4256 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
4257 (vc-annotate-mode-map): Bind it to RET.
4258
7031be6d
UR
42592011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4260
4261 * progmodes/etags.el (next-file): Don't use set-buffer to change
4262 buffers (Bug#8478).
4263
4ef177aa
CY
42642011-04-24 Chong Yidong <cyd@stupidchicken.com>
4265
c8d173eb
CY
4266 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4267
4ef177aa
CY
4268 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4269 (apropos-accumulator): Doc fix.
4270 (apropos-function, apropos-macro, apropos-command)
4271 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4272 (apropos-plist): Add face property.
4273 (apropos-symbols-internal): Fix indentation.
4274 (apropos-print): Simplify help, and recognize apropos-multi-type.
4275 (apropos-print-doc): Use button-type-get to extract the button's
4276 face property. Fill docstring (Bug#8352).
4277
4ffd0d6b 42782011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
4279
4280 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4281
c6c32125 4282 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 4283 (mpuz-mode-map): Use mapc.
c6c32125
JB
4284 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4285 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4286 Fix typos in docstrings.
4287
58d468b4
JB
4288 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4289 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4290
6470c3c6
JB
4291 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4292
4ffd0d6b 42932011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
4294
4295 * minibuffer.el (completion--do-completion): Avoid the "Next char
4296 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4297
3ad8bad0
CY
4298 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4299 mouse-2 into unread-command-events, it is interpreted correctly.
4300
71d73c9c 4301 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 4302 (image-toggle-display): Doc fix.
71d73c9c 4303
841a1577 43042011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 4305
4ffd0d6b
GM
4306 * textmodes/page.el (what-page): Use line-number-at-pos to
4307 calculate line number (Bug#6825).
6e1dbaa9 4308
c2fb1b60
JB
43092011-04-22 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4312 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4313 Pass argument NO-DEFAULT to `find-tag-interactive'.
4314
e02f48d7
JB
43152011-04-22 Juanma Barranquero <lekktu@gmail.com>
4316
4317 Lexical-binding cleanup.
4318
4319 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4320 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4321 * progmodes/ada-prj.el (ada-prj-initialize-values)
4322 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4323 (ada-prj-show-value):
4324 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4325 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4326 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4327 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4328 * progmodes/bug-reference.el (bug-reference-push-button):
4329 * progmodes/fortran.el (fortran-line-length):
4330 * progmodes/glasses.el (glasses-change):
4331 * progmodes/octave-mod.el (octave-fill-paragraph):
4332 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4333 (python-pdbtrack-grub-for-buffer, python-sentinel):
4334 * progmodes/sql.el (sql-save-connection):
4335 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4336 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4337 Mark unused parameters.
4338
4339 * progmodes/compile.el (compilation--flush-directory-cache)
4340 (compilation--flush-parse, compile-internal): Mark unused parameters.
4341 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4342 (compilation-next-error-function): Remove unused variable `timestamp'.
4343
4344 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4345 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4346
4347 * progmodes/dcl-mode.el (dcl-end-of-command):
4348 Remove unused variable `start'.
4349 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4350 (dcl-option-value-basic, dcl-option-value-offset)
4351 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4352 Mark unused parameters.
4353 (dcl-save-local-variable): Remove unused variable `val'.
4354 (mode): Declare.
4355
4356 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4357 Mark unused parameters.
4358 (delphi-ignore-changes): Move before first use.
4359 (delphi-charset-token-at): Remove unused variable `start'.
4360 (delphi-else-start): Remove unused variable `if-count'.
4361 (delphi-comment-block-start, delphi-comment-block-end):
4362 Remove unused variable `kind'.
4363 (delphi-indent-line): Remove unused variable `new-point'.
4364
4365 * progmodes/ebrowse.el (ebrowse-files-list)
4366 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4367 Mark unused parameters. Don't quote `lambda'.
4368 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4369 Don't quote `lambda'.
4370 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4371 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4372 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4373 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4374 Use `ignore-errors'.
4375 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4376 (ebrowse-view/find-file-and-search-pattern)
4377 (ebrowse-view/find-member-declaration/definition):
4378 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4379 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4380 Rename parameter PREFIX-ARG to PREFIX.
4381 (ebrowse-tags-read-name): Remove unused variables `start' and
4382 `member-info'.
4383 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4384 to `tags-file'.
4385
4386 * progmodes/etags.el (local-find-tag-hook): Declare.
4387 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4388 Mark unused parameters.
4389
4390 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4391 (executable-interpret): Mark unused parameter.
4392
4393 * progmodes/flymake.el (flymake-process-sentinel)
4394 (flymake-after-change-function)
4395 (flymake-create-temp-with-folder-structure)
4396 (flymake-get-include-dirs-dot): Mark unused parameters.
4397 (flymake-safe-delete-directory): Remove unused variable `err'.
4398
4399 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4400 (speedbar-timer-fn, speedbar-line-text)
4401 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4402 (speedbar-center-buffer-smartly): Declare functions.
4403 (gdb-find-watch-expression): Remove unused variable `array'.
4404 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4405 (gdb-starting): Mark unused parameters.
4406 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4407 (gdb-table-string): Remove unused variable `res'.
4408 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4409 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4410 (gdb-display-buffer): Remove unused variable `cur-size'.
4411
4412 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4413 allow lexical-binding compilation.
4414 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4415 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4416 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4417 Mark unused parameters.
4418 (gud-gdb-marker-filter): Remove unused variable `match'.
4419 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4420 lambda expressions and funcall them, instead of using `fset'.
4421
4422 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4423 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4424
4425 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4426 variable `header-beg'; use `let'.
4427
4428 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4429 `restart', `last-sexp' and `at-do'.
4430
4431 * progmodes/js.el (js--debug): Mark unused parameter.
4432 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4433 (js--splice-into-items): Remove unused variable `item'.
4434 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4435
4436 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4437 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4438 (makefile-complete): Remove unused variable `try'.
4439 (makefile-fill-paragraph, makefile-match-function-end):
4440 Mark unused parameters.
4441
4442 * progmodes/octave-inf.el (inferior-octave-complete):
4443 Remove unused variable `proc'.
4444 (inferior-octave-output-digest): Mark unused parameter.
4445
4446 * progmodes/perl-mode.el (perl-calculate-indent):
4447 Remove unused variable `err'.
4448
4449 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4450 (prolog-indent-line): Mark unused parameters.
4451 (prolog-indent-line): Remove unused variable `beg'.
4452
4453 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4454 (reporter-dont-compact-list): Declare.
4455
4456 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4457 Remove unused variable `char'.
4458 (sh-debug): Mark unused parameter.
4459 (sh-get-indent-info): Remove unused variable `start'.
4460 (sh-calculate-indent): Remove unused variable `var'.
4461
4462 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4463 (simula-electric-keyword): Remove unused variable `null'.
4464 (simula-search-backward, simula-search-forward): Remove unused
4465 variables `begin' and `end'.
4466
4467 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4468 Remove unused variable `pos'.
4469 (vera-electric-tab, vera-comment-uncomment-region):
4470 Mark unused parameters.
4471 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4472
7ede3b65
CY
44732011-04-22 Chong Yidong <cyd@stupidchicken.com>
4474
4475 * emacs-lisp/package.el (package--builtins, package-alist)
4476 (package-load-descriptor, package-built-in-p, package-activate)
4477 (define-package, package-installed-p)
4478 (package-compute-transaction, package-buffer-info)
4479 (package--push): Doc fix. Distinguish more clearly between
4480 version strings and version lists.
4481
121656e9
JB
44822011-04-21 Juanma Barranquero <lekktu@gmail.com>
4483
4484 Lexical-binding cleanup.
4485
4486 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4487 (5x5-make-mutate-best):
4488 * play/fortune.el (fortune-in-buffer):
4489 * play/gomoku.el (gomoku-init-display):
4490 * play/solitaire.el (solitaire, solitaire-do-check):
4491 * play/tetris.el (tetris-default-update-speed-function):
4492 Mark unused parameters.
4493
4494 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4495 (bubbles--shift): Remove unused variable `char-org'.
4496 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4497 (bubbles--show-images): Remove unused variable `char'.
4498
4499 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4500 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4501 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4502 (decipher-analyze-buffer): Use ?\s.
4503 (decipher-make-checkpoint): Remove unused variable `mapping'.
4504
4505 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4506
4507 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4508 Remove unused variable `result'; use `let'.
4509
4510 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4511 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4512 (gametree-children-shown-p, gametree-compute-reduced-score):
4513 Use `ignore-errors'.
4514
4515 * play/handwrite.el (ps-lpr-switches): Declare.
4516 (handwrite): Remove unused variables `pmin' and `lastp'.
4517
4518 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4519
4520 * play/landmark.el (landmark-init-display)
4521 (landmark-update-naught-weights): Mark unused parameters.
4522 (landmark-y): Remove unused variable `noise'. Simplify.
4523 (landmark-human-plays): Remove unused variable `score'.
4524
4525 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4526 (mpuz-try-proposal): Remove unused variable `game'.
4527
4528 * play/zone.el (life-patterns): Declare.
4529
80f499c7
JB
45302011-04-20 Juanma Barranquero <lekktu@gmail.com>
4531
4532 * vc/vc.el (ediff-vc-internal): Declare function.
4533
024ff170
SM
45342011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4535
c0a193ea
SM
4536 * shell.el: Use lexical-binding and std completion UI.
4537 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4538 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4539 comint-preoutput-filter-functions rather than on
4540 comint-output-filter-functions.
4541 (shell-command-completion, shell--command-completion-data)
4542 (shell-filename-completion, shell-environment-variable-completion)
4543 (shell-c-a-p-replace-by-expanded-directory): New functions.
4544 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4545 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4546 (shell-dynamic-complete-environment-variable): Use them.
4547 (shell-dynamic-complete-as-environment-variable)
4548 (shell-dynamic-complete-as-command): Remove.
4549 (shell-match-partial-variable): Match past point.
4550 * comint.el: Clean up use of completion-at-point-functions.
4551 (comint-completion-at-point): New function.
4552 (comint-mode): Use it completion-at-point-functions.
4553 (comint-dynamic-complete): Make it obsolete.
4554 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4555 (comint-c-a-p-replace-by-expanded-history): New function.
4556 (comint-dynamic-complete-functions)
4557 (comint-replace-by-expanded-history): Use it.
4558 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4559 termination strings. Try harder to avoid second try-completion.
4560 (completion-in-region-mode-map): Disable bindings that don't work yet.
4561
2dbaa080
SM
4562 * comint.el: Use lexical-binding. Require CL.
4563 (comint-dynamic-complete-functions): Use comint-filename-completion.
4564 (comint-completion-addsuffix): Tweak custom type.
4565 (comint-filename-completion, comint--common-suffix)
4566 (comint--common-quoted-suffix, comint--table-subvert)
4567 (comint--complete-file-name-data): New functions.
4568 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4569 (comint-dynamic-list-filename-completions): Use them.
4570 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 4571
2dbaa080
SM
4572 * minibuffer.el (completion-in-region-mode):
4573 Keep completion-in-region-mode--predicate global.
4574 (completion-in-region--postch):
4575 Assume completion-in-region-mode--predicate is not null.
4576
c79a6f38
SM
4577 * progmodes/flymake.el (flymake-start-syntax-check-process):
4578 Obey `dir'. Simplify.
4579
024ff170
SM
4580 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4581 we're in VC after all.
4582
1c6c854e
CS
45832011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4584
4585 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 4586 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
4587 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4588
bed7f140
SM
45892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4590
332e62ab
SM
4591 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4592 add sanity check.
4593
bed7f140
SM
4594 * obsolete/erc-hecomplete.el: Make obsolete.
4595 * obsolete/: Standardize obsolescence info in the header.
4596
f195c582
GM
45972011-04-20 Glenn Morris <rgm@gnu.org>
4598
4599 * calendar/solar.el (solar-horizontal-coordinates):
4600 Use the longitude argument rather than `calendar-longitude'.
4601 (solar-date-next-longitude): Remove unused locals.
4602
cb79b8c0
VJL
46032011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4604
4605 * whitespace.el: New version 13.2.1.
4606
46072011-04-20 felix <EmacsWiki> (tiny change)
4608
d8e4b68b 4609 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
4610 switching between major modes on a file.
4611
602ea69d
SM
46122011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4615 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4616 multi-line comments as well.
4617
06b60517
JB
46182011-04-19 Juanma Barranquero <lekktu@gmail.com>
4619
4620 Lexical-binding cleanup.
4621
4622 * arc-mode.el (archive-mode-revert):
4623 * cmuscheme.el (scheme-interactively-start-process):
4624 * custom.el (custom-initialize-delay):
4625 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4626 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4627 * emacs-lock.el (emacs-lock-clear-sentinel):
4628 * ezimage.el (defezimage):
4629 * follow.el (follow-avoid-tail-recenter):
4630 * fringe.el (set-fringe-mode-1):
4631 * generic-x.el (bat-generic-mode-compile):
4632 * help-mode.el (help-info-variable, help-do-xref)
4633 (help-mode-revert-buffer):
4634 * help.el (view-emacs-todo):
4635 * iswitchb.el (iswitchb-completion-help):
4636 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4637 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4638 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4639 * locate.el (locate-update):
4640 * longlines.el (longlines-encode-region)
4641 (longlines-after-change-function):
4642 * outline.el (outline-isearch-open-invisible):
4643 * ps-def.el (declare-function, charset-dimension, char-width)
4644 (encode-char):
4645 * ps-mule.el (ps-mule-plot-string):
4646 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4647 (recentf-edit-list-select, recentf-edit-list-validate)
4648 (recentf-open-files-action):
4649 * rect.el (delete-whitespace-rectangle-line)
4650 (rectangle-number-line-callback):
4651 * register.el (window-configuration-to-register)
4652 (frame-configuration-to-register):
4653 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4654 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4655 (xselect-convert-to-targets, xselect-convert-to-delete)
4656 (xselect-convert-to-filename, xselect-convert-to-charpos)
4657 (xselect-convert-to-lineno, xselect-convert-to-colno)
4658 (xselect-convert-to-os, xselect-convert-to-host)
4659 (xselect-convert-to-user, xselect-convert-to-class)
4660 (xselect-convert-to-name, xselect-convert-to-integer)
4661 (xselect-convert-to-atom, xselect-convert-to-identity):
4662 * subr.el (declare, ignore, process-kill-without-query)
4663 (text-clone-maintain):
4664 * terminal.el (te-get-char, te-tic-sentinel):
4665 * tool-bar.el (tool-bar-make-keymap):
4666 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4667 * type-break.el (type-break-mode, type-break-noninteractive-query):
4668 * view.el (View-back-to-mark):
4669 * wid-browse.el (widget-browse-action, widget-browse-widget)
4670 (widget-browse-widgets, widget-browse-sexp):
4671 * widget.el (define-widget-keywords):
4672 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4673 Mark unused parameters.
4674
4675 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4676 (align-areas): Remove unused variable `look'.
4677 (align-region): Remove unused variables `real-end' and `pos-list'.
4678
4679 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4680
4681 * bindings.el (mode-line-modified, mode-line-remote):
4682 Mark unused parameters.
4683 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4684
4685 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4686 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4687
4688 * comint.el (comint-history-isearch-pop-state)
4689 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4690 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4691 (comint-substitute-in-file-name): Doc fix.
4692
4693 * completion.el (cmpl-statistics-block): Mark unused parameter.
4694 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4695 (save-completions-to-file, load-completions-from-file):
4696 Remove unused local variable `e'.
4697
4698 * composite.el (compose-chars): Remove unused variable `len'.
4699 (lgstring-insert-glyph): Remove unused variable `g'.
4700 (compose-glyph-string): Remove unused variables `ascent',
4701 `descent', `lbearing' and `rbearing'.
4702 (compose-glyph-string-relative): Remove unused variables
4703 `lbearing', `rbearing' and `wadjust'.
4704 (compose-gstring-for-graphic): Remove unused variables `header',
4705 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4706 (compose-gstring-for-terminal): Remove unused variables `header'
4707 and `nchars'. Use `let', not `let*'.
4708
4709 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4710 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4711 (Custom-buffer-done, custom-buffer-create-internal)
4712 (custom-browse-visibility-action, custom-browse-group-tag-action)
4713 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4714 (widget-magic-mouse-down-action, custom-toggle-parent)
4715 (custom-add-parent-links, custom-toggle-hide-variable)
4716 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4717 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4718 (custom-face-menu-create, custom-variable-menu-create, get)
4719 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4720 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4721 (customize-apropos): Remove unused variable `tests'.
4722 (custom-group-value-create): Remove unused variable `hidden-p'.
4723 (sort-fold-case): Declare.
4724
4725 * cus-theme.el (custom-reset-standard-faces-list)
4726 (custom-reset-standard-variables-list): Declare.
4727 (customize-create-theme, custom-theme-revert, custom-theme-write)
4728 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4729 Mark unused parameters.
4730
4731 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4732
4733 * delim-col.el (delimit-columns-max): Move defvar before first use.
4734
4735 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 4736 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
4737
4738 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4739 (auto-insert): Declare.
4740 (desktop-restore-file-buffer): Rename desktop-* parameters;
4741 mark unused ones.
4742 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4743 (desktop-buffer): Rename desktop-* parameters.
4744
4745 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4746 (dframe-reposition-frame-xemacs, dframe-help-echo)
4747 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4748 Mark unused parameters.
4749
4750 * dired-aux.el (backup-extract-version-start, overwrite-query)
4751 (overwrite-backup-query, rename-regexp-query)
4752 (rename-non-directory-query): Declare.
4753 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4754 (dired-add-entry): Remove unused variable `orig-file-name'.
4755 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4756 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4757 `dired-copy-preserve-time' directly.
4758 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4759 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4760
4761 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4762 (dired-virtual-revert, dired-make-relative-symlink):
4763 Mark unused parameters.
4764 (manual-program): Declare.
4765 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4766 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4767 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4768
4769 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4770
4771 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4772
4773 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4774 Declare.
4775
4776 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4777
4778 * electric.el (Electric-command-loop): Rename parameter
4779 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4780
4781 * expand.el (expand-in-literal): Remove unused variable `here'.
4782
4783 * facemenu.el (facemenu-add-new-color):
4784 Remove unused variable `docstring'.
4785
4786 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4787 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4788 (face-attr-construct): Mark unused parameter. Doc fix.
4789 (read-color): Remove unused variable `hex-string'.
4790
4791 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4792 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4793 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4794 (display-buffer-other-frame): Remove unused variable `old-window'.
4795 (kill-buffer-hook): Declare.
4796 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4797 Mark unused parameters.
4798 (after-find-file): Pass 1 to `auto-save-mode', not t.
4799
4800 * files-x.el (auto-insert): Declare.
4801 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4802
4803 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 4804 variable `buf'. Mark unused parameter.
06b60517
JB
4805 (find-lisp-insert-directory): Mark unused parameter.
4806
4807 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4808 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4809 (format-common-tail): Remove, unused.
4810 (format-deannotate-region): Remove unused variable `loc'.
4811 (format-annotate-region): Remove unused variable `p'.
4812 (format-annotate-single-property-change): Remove unused variables
4813 `default' and `tail'.
4814
4815 * forms.el (read-file-filter): Declare.
4816 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4817
4818 * frame.el (frame-creation-function-alist): Mark unused parameter.
4819 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4820
4821 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4822 Remove unused parameters.
4823 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4824 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4825
4826 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4827 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4828 (hfy-prepare-tag-map): Mark unused parameters.
4829 (htmlfontify-buffer): Use `called-interactively-p'.
4830
4831 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4832 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4833 (ibuffer-do-occur): Mark unused parameters.
4834 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4835 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4836
4837 * ibuffer.el: Don't quote `lambda'.
4838 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4839 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4840 Mark unused parameters.
4841
4842 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4843 (ido-completing-read): Mark unused parameters.
4844 (ido-copy-current-word): Mark unused parameters;
4845 remove unused variable `name'.
4846 (ido-sort-merged-list): Remove unused parameter `dirs'.
4847
4848 * ielm.el (ielm-input-sender): Mark unused parameter.
4849 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4850 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4851 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4852 `ielm-string' as a dynamic variable accessible from the IELM prompt.
4853 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
4854
4855 * image-dired.el (image-dired-display-thumbs): Remove unused
4856 variables `curr-file' and `count'.
4857 (image-dired-remove-tag): Remove unused variable `start'.
4858 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4859 variable `curr-file'
4860 (image-dired-rotate-original): Remove unused variable `temp-file'.
4861 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4862 Remove unused variable `file'.
4863 (image-dired-gallery-generate): Remove unused variable `curr'.
4864 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4865
4866 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4867
4868 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4869
4870 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4871
4872 * isearch.el (minibuffer-history-symbol): Declare.
4873 (isearch-edit-string): Remove unused variable `err'.
4874 (isearch-message-prefix, isearch-message-suffix):
4875 Mark unused parameters.
4876
4877 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4878
4879 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4880
4881 * makesum.el (double-column): Remove unused variable `cnt'.
4882
4883 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4884 (ido-ignore-item-temp-list): Declare.
4885
4886 * mouse-drag.el (mouse-drag-throw): Remove unused variables
4887 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4888 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4889 (mouse-drag-drag): Remove unused variables `mouse-delta' and
4890 `mouse-col-delta'.
4891
4892 * mouse-sel.el (mouse-extend-internal):
4893 Remove unused variable `orig-window-frame'.
4894
4895 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4896 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4897 Move declarations before first use.
4898 (pcomplete-opt): Mark unused parameters; doc fix.
4899
4900 * proced.el (proced-revert): Mark unused parameter.
4901 (proced-send-signal): Remove unused variable `err'.
4902
4903 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4904 Rename parameter PREFIX-ARG to ARG.
4905 (ps-basic-plot-string, ps-basic-plot-whitespace):
4906 Mark unused parameters.
4907
4908 * replace.el (replace-count): Define.
4909 (occur-revert-function): Mark unused parameters.
4910 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4911 (isearch-case-fold-search, isearch-string): Declare.
4912 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4913 bind `case-fold-search'. Remove unused variables `beg' and `end',
4914 and simplify.
4915 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4916 COUNT and bind `replace-count'.
4917 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4918 to COUNT.
4919
4920 * savehist.el (print-readably, print-string-length): Declare.
4921
4922 * shadowfile.el (shadow-expand-cluster-in-file-name):
4923 Remove unused variable `cluster'.
4924 (shadow-copy-file): Remove unused variable `i'.
4925 (shadow-noquery, shadow-clusters, shadow-site-cluster)
4926 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4927 (shadow-define-literal-group, shadow-define-regexp-group)
4928 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4929
4930 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4931 (shell): Use `called-interactively-p'.
4932 (shell-directory-tracker): Remove unused variable `chdir-failure'.
4933
4934 * simple.el (compilation-context-lines, comint-file-name-quote-list)
4935 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4936 (delete-backward-char): Remove unused variable `ocol'.
4937 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4938 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4939 (event-apply-hyper-modifier, event-apply-shift-modifier)
4940 (event-apply-control-modifier, event-apply-meta-modifier):
4941 Mark unused parameters.
4942 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4943 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4944
4945 * speedbar.el (speedbar-ignored-directory-expressions)
4946 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4947 (speedbar-find-file, speedbar-dir-follow)
4948 (speedbar-directory-buttons-follow, speedbar-tag-find)
4949 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4950 (speedbar-buffers-line-directory, speedbar-buffer-click):
4951 Mark unused parameters.
4952 (speedbar-tag-file): Remove unused variable `mode'.
4953 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4954
4955 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4956
4957 * talk.el (talk): Remove unused variable `display'.
4958
4959 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4960 (tar-write-region-annotate): Mark unused parameter.
4961
4962 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4963 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4964 Declare them, wrapped in `with-no-warnings' to avoid replacing one
4965 warning by another.
4966
4967 * time-stamp.el (time-stamp-string-preprocess):
4968 Remove unused variable `require-padding'.
4969
4970 * tree-widget.el (widget-glyph-enable): Declare.
4971 (tree-widget-action): Mark unused parameter.
4972
4973 * w32-fns.el (x-get-selection): Mark unused parameter.
4974 (autoload-make-program, generated-autoload-file): Declare.
4975
4976 * wdired.el (wdired-revert): Mark unused parameters.
4977 (wdired-xcase-word): Remove unused variable `err'.
4978
4979 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4980 (whitespace-help-scroll): Remove unused variable `data-help'.
4981
4982 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4983 (widget-image-insert, widget-after-change, default)
4984 (widget-default-format-handler, widget-default-notify)
4985 (widget-default-prompt-value, widget-info-link-action)
4986 (widget-url-link-action, widget-function-link-action)
4987 (widget-variable-link-action, widget-file-link-action)
4988 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4989 (widget-field-prompt-internal, widget-field-action, widget-field-match)
4990 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4991 (widget-insert-button-action, widget-delete-button-action, visibility)
4992 (widget-documentation-link-action, widget-documentation-string-action)
4993 (widget-const-prompt-value, widget-regexp-match, symbol)
4994 (widget-coding-system-prompt-value)
4995 (widget-key-sequence-value-to-external, sexp)
4996 (widget-sexp-value-to-internal, character, vector, cons)
4997 (widget-choice-prompt-value, widget-boolean-prompt-value)
4998 (widget-color--choose-action): Mark unused parameters.
4999 (widget-item-match-inline, widget-choice-match-inline)
5000 (widget-checklist-match, widget-checklist-match-inline)
5001 (widget-group-match): Rename parameter VALUES to VALS.
5002 (widget-field-value-set): Remove unused variable `size'.
5003 (widget-color-action): Remove unused variables `value' and `start'.
5004
5005 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 5006 variable `dir'. Doc fix.
06b60517
JB
5007 (windmove-find-other-window): Don't pass it.
5008
5009 * window.el (count-windows): Mark unused parameter.
5010 (bw-adjust-window): Remove unused variable `err'.
5011
5012 * woman.el (woman-file-name): Remove unused variable `default'.
5013 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5014 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5015 (global-font-lock-mode): Declare.
5016 (woman-decode-region): Mark unused parameter.
5017 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5018
5019 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5020 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5021 (x-dnd-handle-moz-url): Remove unused variable `title'.
5022 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5023
5024 * xml.el (xml-parse-tag, xml-parse-attlist):
5025 Remove unused variable `pos'.
5026
bc4f7f3d
GM
50272011-04-19 Glenn Morris <rgm@gnu.org>
5028
5029 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5030 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5031 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5032 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5033 * calendar/cal-html.el (cal-html-insert-minical):
5034 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5035 (calendar-mark-date-pattern):
5036 Prefix "unused" locals.
5037
5038 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5039 optional argument `style'.
5040
5041 * calendar/appt.el (appt-make-list):
5042 * calendar/cal-china.el (calendar-chinese-date-string):
5043 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5044 (diary-hebrew-yahrzeit):
5045 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5046 * calendar/calendar.el (calendar-generate-window):
5047 * calendar/time-date.el (time-to-days):
5048 Remove unused local variables.
5049
16a43933
CY
50502011-04-18 Chong Yidong <cyd@stupidchicken.com>
5051
5052 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5053 glyphless-char-display table.
5054 (tabulated-list-glyphless-char-display): New var.
5055
7eed1860
SS
50562011-04-18 Sam Steingold <sds@gnu.org>
5057
5058 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5059 to acknowledgments.
5060
4d2d1ccd
GM
50612011-04-17 Glenn Morris <rgm@gnu.org>
5062
5063 * calendar/diary-lib.el (diary-sexp-entry):
5064 * calendar/holidays.el (holiday-sexp):
5065 Set debug-on-error rather than the removed stack-trace-on-error.
5066
239da61d
GM
50672011-04-16 Glenn Morris <rgm@gnu.org>
5068
5069 * progmodes/f90.el: Use lexical-binding.
5070 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5071
8b05752a
SM
50722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5073
daca8ba5
SM
5074 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5075 (mail-mode): Setup mailalias completion here instead.
5076 * mail/mailalias.el: Use lexical-binding.
5077 (pattern, mailalias-done): Declare dynamic.
5078 (mail-completion-at-point-function): New function, from mail-complete.
5079 (mail-complete): Use it.
5080 (mail-completion-expand): New function.
5081 (mail-get-names): Use it.
5082 (mail-directory, mail-directory-process, mail-directory-stream):
5083 Don't use `pattern' for lexically bound arg.
5084
6f542485
SM
5085 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5086
037e7c3f
SM
5087 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5088 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5089 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5090
8b05752a
SM
5091 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5092 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5093 (byte-interactive-p): Define them again, for use when inlining
5094 old code.
5095
49093f60
JB
50962011-04-15 Juanma Barranquero <lekktu@gmail.com>
5097
5098 * loadup.el: Use `string-to-number', not `string-to-int'.
5099
b5b8e7de
SM
51002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5103 gud-gdb-complete-command.
5104 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5105 (gud-gdb-completion-at-point): New function.
5106 (gud-gdb-completions): Remove.
5107
f42efeb5
MA
51082011-04-14 Michael Albinus <michael.albinus@gmx.de>
5109
49093f60
JB
5110 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5111 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5112 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5113 whether `executable-find' is bound.
f42efeb5
MA
5114
5115 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5116
e240cc21
SM
51172011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * minibuffer.el (completion-in-region-mode-predicate)
5120 (completion-in-region-mode--predicate): New vars.
5121 (completion-in-region, completion-in-region--postch)
5122 (completion-in-region-mode): Use them.
5123 (completion--capf-wrapper): Also return the hook function.
5124 (completion-at-point, completion-help-at-point):
5125 Adjust and provide a predicate.
c2bd2ab0
SM
5126
5127 Preserve arg names for advice of subr and lexical functions (bug#8457).
5128 * help-fns.el (help-function-arglist): Consolidate the subr and
5129 new-byte-code cases. Add argument `preserve-names' to extract names
5130 from the docstring when needed.
5131 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5132 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5133 (ad-arglist): Use help-function-arglist's new arg.
5134 (ad-definition-type): Use cond.
5135
c183f693
JB
51362011-04-13 Juanma Barranquero <lekktu@gmail.com>
5137
06641a47
JB
5138 * autorevert.el (auto-revert-handler):
5139 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5140 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5141 Don't quote lambda.
5142
c183f693
JB
5143 * image-mode.el (image-transform-set-scale):
5144 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5145
1e3b6001
G
51462011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5147
5148 * net/network-stream.el (network-stream-open-starttls): Only do
5149 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5150 Upgrades via gnutls-cli are too slow to be done opportunistically.
5151
2d6af8dd
JB
51522011-04-12 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * dframe.el (dframe-current-frame): Remove spurious quote.
5155
c0749a51
GM
51562011-04-12 Glenn Morris <rgm@gnu.org>
5157
088d0d61
GM
5158 * calendar/cal-tex.el (cal-tex-end-document):
5159 Try to automatically use latin1 input if needed.
5160
c0749a51
GM
5161 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5162 Don't try to cons a mark onto an empty element.
5163
5c90fde0
LL
51642011-04-11 Leo Liu <sdl.web@gmail.com>
5165
5166 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5167 buffers.
5168 (ido-kill-buffer-at-head): Support killing virtual buffers.
5169
369e974d
CY
51702011-04-10 Chong Yidong <cyd@stupidchicken.com>
5171
5172 * minibuffer.el (completion-show-inline-help): New var.
5173 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
5174 (minibuffer-force-complete, minibuffer-complete-word):
5175 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
5176
5177 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5178 to avoid interference from inline help (Bug#5849).
5179
37f1c930
LL
51802011-04-10 Leo Liu <sdl.web@gmail.com>
5181
099c39a4
JB
5182 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5183 Fix typo.
37f1c930 5184
a32d4040
CY
51852011-04-09 Chong Yidong <cyd@stupidchicken.com>
5186
5187 * image-mode.el (image-toggle-display-image): Signal an error if
5188 not in Image mode.
5189 (image-transform-mode, image-transform-resize)
5190 (image-transform-set-rotation): Doc fix.
daca8ba5 5191 (image-transform-set-resize): Delete.
a32d4040
CY
5192 (image-transform-set-scale, image-transform-fit-to-height)
5193 (image-transform-fit-to-width): Handle image-toggle-display-image
5194 and image-transform-resize directly.
5195
099c39a4 51962011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
5197
5198 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
5199 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5200 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
5201 (doc-view-mode-map): Add bindings for the new functions.
5202
099c39a4 52032011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
5204
5205 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5206 Fix typo in docstring.
5207
3726838a
EZ
52082011-04-08 Eli Zaretskii <eliz@gnu.org>
5209
04f33f1e
EZ
5210 * files.el (file-size-human-readable): Produce one digit after
5211 decimal, like "ls -lh" does.
5212
5213 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5214 the file size representation.
5215
3726838a
EZ
5216 * simple.el (list-processes): If async subprocesses are not
5217 available, error out with a clear error message.
5218
cbb59342
CY
52192011-04-08 Chong Yidong <cyd@stupidchicken.com>
5220
5221 * help.el (help-form-show): New function, to be called from C.
5222 Put help-form output in a buffer named differently than *Help*.
5223
e3971c44
EZ
52242011-04-08 Eli Zaretskii <eliz@gnu.org>
5225
5226 * files.el (file-size-human-readable): New function.
5227
5228 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5229 computing the representation inline. Don't require `cl'.
5230
12544bbe
GM
52312011-04-08 Glenn Morris <rgm@gnu.org>
5232
a1de6c6a
GM
5233 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5234
3c4671f4
GM
5235 * net/browse-url.el (browse-url-firefox):
5236 Test system-type, not system-configuration.
5237
b605679c
GM
5238 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5239 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5240 Use log-edit-empty-buffer-p. (Bug#7598)
5241
56442f0c
GM
5242 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5243 (rlogin-mode-map): Initialize in the defvar.
5244 (rlogin): Use ignore-errors.
5245
12544bbe
GM
5246 * replace.el (occur-mode-map): Some fixes for menu items.
5247
eb237b0f
AH
52482011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5249
5250 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5251
7d668f2c
CY
52522011-04-06 Chong Yidong <cyd@stupidchicken.com>
5253
e67a13ab
CY
5254 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5255 issuing unused warnings.
5256
5257 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5258 macro directly.
5259
7d668f2c
CY
5260 * simple.el: Lisp reimplement of list-processes. Based on an
5261 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5262 (process-menu-mode): New major mode.
5263 (list-processes--refresh, list-processes):
5264 (process-menu-visit-buffer): New functions.
5265
5266 * files.el (save-buffers-kill-emacs): Don't assume any return
5267 value of list-processes, which is undocumented anyway.
5268
a83ec3c9
CY
52692011-04-06 Chong Yidong <cyd@stupidchicken.com>
5270
5271 * emacs-lisp/tabulated-list.el: New file.
5272
e91a96fe
CY
5273 * emacs-lisp/package.el: Use Tabulated List mode.
5274 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5275 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5276 table format using Tabulated List mode variables.
5277 (package--push): New macro, replacing package-list-maybe-add.
5278 (package-menu--generate): Use package--push. Renamed from
5279 package--generate-package-list.
5280 (package-menu-refresh, list-packages): Use it.
daca8ba5 5281 (package-menu--print-info): Rename from package-print-package.
e91a96fe 5282 Return insertion data instead of inserting it directly.
099c39a4
JB
5283 (package-menu-describe-package, package-menu-execute):
5284 Use tabulated-list-get-id.
e91a96fe
CY
5285 (package-menu-mark-delete, package-menu-mark-install)
5286 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
5287 (package-menu-mark-obsolete-for-deletion):
5288 Use tabulated-list-put-tag.
e91a96fe
CY
5289 (package--list-packages, package-menu-revert)
5290 (package-menu-get-package, package-menu-get-version)
5291 (package-menu-sort-by-column): Functions deleted.
5292 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5293 (package-menu--status-predicate, package-menu--version-predicate)
5294 (package-menu--name-predicate)
5295 (package-menu--description-predicate): Handle arguments in the
5296 Tabulated List format.
5297 (package-list-packages-no-fetch): Call list-packages.
5298
3e214b50
JB
52992011-04-06 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 5302 (after-find-file): Don't bind it.
3e214b50
JB
5303 (revert-buffer-in-progress-p): New variable.
5304 (revert-buffer): Bind it.
5305 Pass nil for `after-find-file-from-revert-buffer'.
5306
5307 * saveplace.el (save-place-find-file-hook): Use new variable
5308 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5309
3f0f1700
GM
53102011-04-06 Glenn Morris <rgm@gnu.org>
5311
c0274801
GM
5312 * Makefile.in (AUTOGEN_VCS): New variable.
5313 (autoloads): Use $AUTOGEN_VCS.
5314
3f0f1700
GM
5315 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5316 * calendar/calendar.el (calendar-mode-map):
5317 Check for toolkit scroll bars. (Bug#8305)
5318
41ea9e48
CY
53192011-04-05 Chong Yidong <cyd@stupidchicken.com>
5320
5321 * minibuffer.el (completion-in-region--postch)
5322 (completion-in-region-mode): Remove unnecessary messages.
5323
6194c800
JB
53242011-04-05 Juanma Barranquero <lekktu@gmail.com>
5325
33256f14
JB
5326 * font-lock.el (font-lock-refresh-defaults):
5327 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5328 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5329
6194c800
JB
5330 * info.el (Info-directory-list, Info-read-node-name-2)
5331 (Info-split-parameter-string): Doc fixes.
5332 (Info-virtual-nodes): Reflow docstring.
5333 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5334 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5335 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5336 Fix typos in docstrings.
5337 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5338 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5339 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5340 (Info-restore-desktop-buffer): Mark unused parameters.
5341 (Info-directory-find-file, Info-directory-find-node)
5342 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5343 (Info-virtual-index-find-node, Info-apropos-find-file)
5344 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 5345 Mark unused parameters; fix typos in docstrings.
6194c800
JB
5346 (Info-virtual-index): Remove unused local variable `nodename'.
5347
b87a8200 53482011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 5349
b87a8200
DD
5350 * net/rcirc.el: Update my e-mail address.
5351 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 5352
3b2ff876
CY
53532011-04-05 Chong Yidong <cyd@stupidchicken.com>
5354
5355 * startup.el (command-line): Save the cursor's theme-face
5356 directly, instead of using face-override-spec.
5357
5358 * custom.el (load-theme): Minor optimization in assigning faces.
5359
8d17e7ca
JB
53602011-04-04 Juanma Barranquero <lekktu@gmail.com>
5361
5362 * help-fns.el (describe-variable): Complete all variables having
5363 documentation, including keywords.
5364 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5365
2fbc1934
JB
53662011-04-04 Juanma Barranquero <lekktu@gmail.com>
5367
5368 Convert to lexical-binding.
5369
5370 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5371 (bs--get-marked-string, bs--get-modified-string)
5372 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5373 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5374 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5375
5376 * ehelp.el (electric-help-execute-extended)
5377 (electric-help-ctrl-x-prefix):
5378 * hexl.el (hexl-revert-buffer-function):
5379 * linum.el (linum-after-change, linum-after-scroll):
5380 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5381
5382 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5383
74f50695
DU
53842011-04-04 Daiki Ueno <ueno@unixuser.org>
5385
5386 * epa-dired.el:
5387 * epa-mail.el:
5388 * epa-hook.el:
5389 * epa-file.el:
5390 * epa.el:
5391 * epg.el: Use lexical binding.
5392
c11325f7
CY
53932011-04-03 Chong Yidong <cyd@stupidchicken.com>
5394
0d9e9a12
CY
5395 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5396
c11325f7 5397 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
5398 dictionary case for flyspell-mark-duplications-exceptions.
5399 Use regexp matching for languages.
c11325f7
CY
5400 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5401 default dictionary (Bug#7926).
5402
da91b5f2
CY
54032011-04-02 Chong Yidong <cyd@stupidchicken.com>
5404
099c39a4
JB
5405 * emacs-lisp/package.el (package--with-work-buffer):
5406 Recognize https URLs.
da91b5f2 5407
099c39a4
JB
5408 * net/network-stream.el: Move from gnus/proto-stream.el.
5409 Change prefix to network-stream throughout.
da91b5f2
CY
5410 (open-protocol-stream): Merge into open-network-stream, leaving
5411 open-protocol-stream as an alias. Handle nil BUFFER args.
5412
5413 * subr.el (open-network-stream): Move to net/network-stream.el.
5414
afa8e9f6
GM
54152011-04-02 Glenn Morris <rgm@gnu.org>
5416
1d2e369d
GM
5417 * find-dired.el (find-exec-terminator): New option.
5418 (find-ls-option): Test for -ls support.
5419 (find-ls-subdir-switches): Test for -b in find-ls-option.
5420 (find-dired, find-grep-dired): Doc fixes.
5421 (find-dired): Use find-exec-terminator.
5422
8abb7da8 5423 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
5424 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5425 (find-name-arg): Remove purecopy.
8abb7da8 5426
f3ca7378
GM
5427 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5428 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5429 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5430 accordingly. Don't add the null-device if not needed.
5431
afa8e9f6
GM
5432 * files.el (save-some-buffers): Doc fix.
5433
35eae264
EZ
54342011-04-02 Eli Zaretskii <eliz@gnu.org>
5435
5436 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5437
26b51db5
JB
54382011-04-01 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5441 Use `dolist' rather than `mapcar'.
5442
7200d79c
SM
54432011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5444
03408648 5445 Add lexical binding.
7200d79c 5446
03408648
SM
5447 * subr.el (apply-partially): Use new closures rather than CL.
5448 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5449 (dolist, dotimes): Use slightly different expansion for lexical code.
5450 (functionp): Move to C.
5451 (letrec): New macro.
5452 (with-wrapper-hook): Use it and apply-partially instead of CL.
5453 (eval-after-load): Preserve lexical-binding.
5454 (save-window-excursion, with-output-to-temp-buffer): Turn them
5455 into macros.
7200d79c 5456
03408648
SM
5457 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5458
5459 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5460 than the arglist.
5461 (help-add-fundoc-usage): Don't add `Not documented'.
5462 (help-function-arglist): Handle closures, subroutines, and new
5463 byte-code-functions.
5464 (help-make-usage): Remove leading underscores.
5465 (describe-function-1): Handle closures.
5466 (describe-variable): Use special-variable-p for completion.
5467
5468 * files.el (lexical-binding): Declare safe.
f488fb65 5469
03408648
SM
5470 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5471 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5472 (pcase): Add `let' pattern.
5473 Change memoization so it actually works.
5474 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5475 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5476 <let>: New case.
f488fb65 5477
03408648
SM
5478 * emacs-lisp/macroexp.el: Use lexical binding.
5479 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5480 Don't convert ' to #' without checking that it's indeed quoting
5481 a lambda.
5482
5483 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 5484 Use eval-sexp-add-defvars.
03408648
SM
5485 (eval-sexp-add-defvars): New fun.
5486
5487 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5488
5489 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5490 Don't autoload.
5491 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5492 than the internal `byte-compile-lambda'.
5493 (defmethod): Don't hide code under quotes.
5494 (eieio-defmethod): New `code' argument.
5495
5496 * emacs-lisp/eieio-comp.el: Remove.
5497
5498 * emacs-lisp/edebug.el (edebug-eval-defun)
5499 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5500 (edebug-toggle): Avoid `eval'.
5501
5502 * emacs-lisp/disass.el (disassemble-internal): Handle new
5503 `closure' objects.
5504 (disassemble-1): Handle new byte codes.
5505
5506 * emacs-lisp/cl.el (pushnew): Silence warning.
5507
5508 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5509 (cl-byte-compile-throw): Remove.
5510 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5511
5512 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5513 closures.
5514
5515 * emacs-lisp/cconv.el: New file.
5516
5517 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5518 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5519 (byte-compile-initial-macro-environment):
5520 Handle declare-function here.
5521 (byte-compile--lexical-environment): New var.
5522 (byte-stack-ref, byte-stack-set, byte-discardN)
5523 (byte-discardN-preserve-tos): New lap codes.
5524 (byte-interactive-p): Don't use any more.
5525 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5526 New macros.
5527 (byte-compile-lapcode): Use them and handle new lap codes.
5528 (byte-compile-obsolete): Remove.
5529 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5530 (byte-compile-arglist-warn): Check late def of inlinable funs.
5531 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5532 since they should have been expanded by now.
5533 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5534 (byte-compile-from-buffer): Remove unused second arg.
5535 (byte-compile-preprocess): New function.
5536 (byte-compile-toplevel-file-form): New function to distinguish
5537 file-form calls from outside from file-form calls from hunk-handlers.
5538 (byte-compile-file-form): Simplify.
5539 (byte-compile-file-form-defsubst): Remove.
5540 (byte-compile-file-form-defmumble): Simplify now that
5541 byte-compile-lambda always returns a byte-code-function.
5542 (byte-compile): Preprocess.
5543 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5544 Remove, not used any more.
5545 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5546 (byte-compile-make-args-desc): New funs.
5547 (byte-compile-lambda): Handle lexical functions. Always return
5548 a byte-code-function.
5549 (byte-compile-reserved-constants): New var, to make up room for
5550 closed-over variables.
5551 (byte-compile-constants-vector): Obey it.
5552 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5553 (byte-compile-macroexpand-declare-function): New function.
5554 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5555 byte-code-functions.
5556 (byte-compile-form): Check obsolescence here.
5557 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5558 (byte-compile-variable-ref): Remove.
5559 (byte-compile-dynamic-variable-op): New fun.
5560 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5561 (byte-compile-variable-set): New funs.
5562 (byte-compile-discard): Add 2 args.
5563 (byte-compile-stack-ref, byte-compile-stack-set)
5564 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5565 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5566 macroexpand-all instead.
5567 (byte-compile-quote-form): Remove.
5568 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5569 (byte-compile-bind, byte-compile-unbind): New funs.
5570 (byte-compile-let): Handle let* and lexical binding.
5571 (byte-compile-let*): Remove.
5572 (byte-compile-catch, byte-compile-unwind-protect)
5573 (byte-compile-track-mouse, byte-compile-condition-case):
5574 Handle a new :fun-body form, used for lexical scoping.
5575 (byte-compile-save-window-excursion)
5576 (byte-compile-with-output-to-temp-buffer): Remove.
5577 (byte-compile-defun): Simplify.
5578 (byte-compile-stack-adjustment): New fun.
5579 (byte-compile-out): Use it.
5580 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5581
5582 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5583 handler any more.
5584
5585 * emacs-lisp/byte-opt.el: Use lexical binding.
5586 (byte-inline-lapcode): Remove (to bytecomp).
5587 (byte-compile-inline-expand): Pay attention to inlining to/from
5588 lexically bound code.
5589 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5590 any more.
5591 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5592 any more and don't call compiler-macros.
5593 (byte-compile-splice-in-already-compiled-code): Remove.
5594 (byte-code): Don't inline any more.
5595 (disassemble-offset): Receive `bytes' as argument rather than via
5596 dynamic scoping.
5597 (byte-compile-tag-number): Declare before first use.
5598 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5599 `return' even if make-spliceable.
5600 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5601 obsolete interactive-p.
5602 (byte-optimize-lapcode): Optimize new lap-codes.
5603 Don't trip up on new form of `byte-constant' lap code.
5604
5605 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5606
5607 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5608
5609 * custom.el (custom-initialize-default, custom-declare-variable):
5610 Use `defvar'.
5611
5612 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5613 New variables.
5614 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5615 (COMPILE_FIRST): Add macroexp and cconv.
5616 * makefile.w32-in: Mirror changes in Makefile.in.
5617
5618 * vc/cvs-status.el:
5619 * vc/diff-mode.el:
5620 * vc/log-edit.el:
5621 * vc/log-view.el:
5622 * vc/smerge-mode.el:
5623 * textmodes/bibtex-style.el:
5624 * textmodes/css.el:
5625 * startup.el:
5626 * uniquify.el:
da91b5f2
CY
5627 * minibuffer.el:
5628 * newcomment.el:
5629 * reveal.el:
5630 * server.el:
5631 * mpc.el:
5632 * emacs-lisp/smie.el:
5633 * doc-view.el:
5634 * dired.el:
03408648
SM
5635 * abbrev.el: Use lexical binding.
5636
0f0c1f27
EZ
56372011-04-01 Eli Zaretskii <eliz@gnu.org>
5638
5639 * info.el (info-display-manual): New function.
5640
c82b2579
SM
56412011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5644
221ddf68
TH
56452011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5646
5647 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 5648 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 5649
cba6e77e
GM
56502011-03-31 Glenn Morris <rgm@gnu.org>
5651
e040639f
GM
5652 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5653
cba6e77e
GM
5654 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5655
6d0f1c9e
CS
56562011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5657
5658 * progmodes/python.el (python-default-interpreter)
5659 (python-python-command-args, python-jython-command-args)
5660 (python-which-shell, python-which-args, python-which-bufname)
5661 (python-file-queue, python-comint-output-filter-function)
5662 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5663 variables and functions.
5664
3e2d70fd
SM
56652011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5668 (completion-in-region-mode): New minor mode.
5669 (completion-in-region): Use it.
5670 (completion-in-region--data, completion-in-region-mode-map): New vars.
5671 (completion-in-region--postch): New function.
5672 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5673 New vars.
5674 (completion--capf-wrapper): New function.
5675 (completion-at-point): Use it to track well-behavedness of
5676 hook functions.
5677 (completion-help-at-point): New command.
5678
f3e4086c
JM
56792011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5680
5681 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5682 syntax class to search for whitespace on a single line
5683 (Message-ID: <4D938140.4030905@redhat.com>).
5684
eb7ffc14
LL
56852011-03-30 Leo Liu <sdl.web@gmail.com>
5686
5687 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5688 New commands.
5689 (edit-abbrevs-map): Bind them here.
5690 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5691
d806ab68
KM
56922011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5693
5694 * allout.el (allout-hide-by-annotation, allout-flag-region):
5695 Reduce possibility of overlay leakage by making them volatile.
5696
5697 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5698 hash is not shared between buffers. Mode initialization is
5699 responsible for giving it a useful starting value.
5700 (allout-item-span): Reduce possibility of overlay leakage by
5701 making them volatile.
5702 (allout-widgets-count-buttons-in-region): Add diagnostic function
5703 for tracking down button overlay leaks.
5704
ea622834
LL
57052011-03-29 Leo Liu <sdl.web@gmail.com>
5706
5707 * ido.el (ido-read-internal): Use the default history var
5708 minibuffer-history if no HISTORY is specified.
5709
b62f8267
G
57102011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5711
03408648
SM
5712 * net/imap.el (imap-shell-open, imap-process-connection-type):
5713 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
5714 Kerberos, SSL, other subprocesses.
5715
947b6566
LL
57162011-03-28 Leo Liu <sdl.web@gmail.com>
5717
5718 * abbrev.el (abbrev-table-empty-p): New function.
5719 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5720 nonempty ones. (Bug#5937)
5721
5ffb62aa
JD
57222011-03-27 Jan DjƤrv <jan.h.d@swipnet.se>
5723
5724 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5725
7a097943
LL
57262011-03-27 Leo Liu <sdl.web@gmail.com>
5727
5728 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5729 for foreground and background colors.
5730 (ansi-color-make-color-map): Adapt.
5731
c5b40130
LL
57322011-03-25 Leo Liu <sdl.web@gmail.com>
5733
1f48f7d2
LL
5734 * midnight.el (midnight-time-float): Remove. Note it calculates
5735 the microsecond component incorrectly and seconds-to-time does the
5736 same job.
625897ec 5737 Remove redundant (require 'timer).
1f48f7d2 5738
c5b40130
LL
5739 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5740 (ido-completions): Remove unused arguments. (Bug#8329)
5741
d86d2721
SM
57422011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * minibuffer.el (completion--flush-all-sorted-completions):
5745 Remove itself from hook.
5746 (completion-at-point): Let the functions perform the completion
5747 immediately and return nil or t.
5748 * comint.el (comint-dynamic-complete-functions): Now identical to
5749 completion-at-point-functions.
5750 (comint-dynamic-list-input-ring): Remove unused var `index'.
5751 (comint--match-partial-filename, comint--unquote&expand-filename):
5752 New funs, split from comint-match-partial-filename.
5753 (comint-dynamic-complete): Use completion-at-point.
5754 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5755
e8974c48
DA
57562011-03-24 Drew Adams <drew.adams@oracle.com>
5757
5758 * thingatpt.el: Support `defun'.
5759
def71b5e
LL
57602011-03-23 Leo Liu <sdl.web@gmail.com>
5761
cb5af48e
LL
5762 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5763
def71b5e
LL
5764 * help-mode.el (help-mode-finish): Tweak regexp.
5765
927c53e7
GM
57662011-03-23 Glenn Morris <rgm@gnu.org>
5767
18d05bed
GM
5768 * eshell/esh-opt.el (eshell-eval-using-options):
5769 Do not bind unused local variable `eshell-option-stub'.
5770
927c53e7
GM
5771 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5772
9d0da923
JB
57732011-03-22 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5776 keymap variable in `with-no-warnings' to avoid a warning when the
5777 keymap has been already `defconst'ed.
5778
4b978a67
LL
57792011-03-22 Leo Liu <sdl.web@gmail.com>
5780
5781 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5782 encode all chars in abbrevs; otherwise use emacs-mule or
5783 utf-8-emacs. (Bug#8308)
5784
5fd62452
JB
57852011-03-22 Juanma Barranquero <lekktu@gmail.com>
5786
0b1596c6
JB
5787 * simple.el (backward-delete-char-untabify):
5788 Avoid warning about using `delete-backward-char'.
5789
5fd62452
JB
5790 * image.el (image-type-file-name-regexps): Make it variable.
5791 `imagemagick-register-types' modifies it, and the user may want
5792 to add new extensions for known image types.
5793 (imagemagick-register-types): Throw error if not using ImageMagick.
5794
0b4e93f1
LL
57952011-03-22 Leo Liu <sdl.web@gmail.com>
5796
5797 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5798 located before rcirc-prompt-end-marker.
5799 (rcirc-complete): Error if point is not after rcirc prompt.
5800 Handle the case when table is nil.
9882e214 5801 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 5802
fccee4ab
CY
58032011-03-22 Chong Yidong <cyd@stupidchicken.com>
5804
5805 * custom.el (custom--inhibit-theme-enable): Make it affect only
5806 custom-theme-set-variables and custom-theme-set-faces.
5807 (provide-theme): Ignore custom--inhibit-theme-enable.
5808 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5809 (custom-enabling-themes): Delete variable.
d86d2721
SM
5810 (enable-theme): Accept only loaded themes as arguments.
5811 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
5812 (custom-enabled-themes): Forbid themes from setting this.
5813 Eliminate use of custom-enabling-themes.
5814 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 5815
af896da6
LL
58162011-03-21 Leo Liu <sdl.web@gmail.com>
5817
5818 * ido.el (ido-read-internal): Add ido-selected to history instead
5819 of user input.
5820
78f64af0
SM
58212011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * subr.el (deferred-action-list, deferred-action-function):
5824 Mark obsolete.
5825
b16ac1ec
LL
58262011-03-21 Leo Liu <sdl.web@gmail.com>
5827
810f7698
LL
5828 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5829 change on 2011-02-13 (bug#8309).
5830
b16ac1ec
LL
5831 * minibuffer.el (read-file-name-function): Change default value.
5832 (read-file-name--defaults): Rename from read-file-name-defaults.
5833 (read-file-name-default): Rename from read-file-name.
5834 (read-file-name): Call read-file-name-function.
5835
4e05e67e
GM
58362011-03-21 Glenn Morris <rgm@gnu.org>
5837
5838 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5839 Doc fixes.
5840
4359915b
CY
58412011-03-21 Chong Yidong <cyd@stupidchicken.com>
5842
5843 * cus-theme.el: Add missing provide statement.
5844 (customize-create-theme): Extract theme value correctly.
5845 (custom-theme-visit-theme): Autoload.
5846 (customize-create-theme): Prompt before inserting default faces.
5847
1fe275ee
JB
58482011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5849
5850 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5851 units and musical notes.
5852
3ec03f7e
LL
58532011-03-20 Leo <sdl.web@gmail.com>
5854
5855 * ido.el (ido-read-internal): Use completing-read-default.
5856 (ido-completing-read): Fix compatibility with completing-read.
5857
7d476bde
CO
58582011-03-20 Christian Ohler <ohler@gnu.org>
5859
5860 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5861 (ert-delete-all-tests): Use `called-interactively-p' rather than
5862 `interactive-p'.
5863 (ert--make-xrefs-region): Respect END.
5864
fe0fb33e
CY
58652011-03-19 Chong Yidong <cyd@stupidchicken.com>
5866
ff854b0b
CY
5867 * dired-aux.el (dired-create-directory): Signal an error if the
5868 directory already exists (Bug#8246).
5869
fe0fb33e
CY
5870 * facemenu.el (list-colors-display): Call list-faces-display
5871 inside with-help-window.
5872 (list-colors-print): Use display property to align the final
5873 column, instead of checking window-width.
5874
576bce32
EZ
58752011-03-19 Eli Zaretskii <eliz@gnu.org>
5876
5877 * emerge.el (emerge-metachars): Separate value for ms-dos and
5878 windows-nt systems.
5879 (emerge-protect-metachars): Quote correctly for ms-dos and
5880 windows-nt systems.
5881
89c41d68 58822011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
5883
5884 * info.el (info-initialize): Replace all uses of `:' with
5885 path-separator for compatibility with non-Unix systems.
5886 Cache quoting of path-separator. (Bug#8258)
5887
b14e3e21 58882011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
5889
5890 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5891 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5892 (mouse-avoidance-mode): Fix typos in docstrings.
5893
4525ce3e
CY
58942011-03-19 Chong Yidong <cyd@stupidchicken.com>
5895
5896 * startup.el (package-subdirectory-regexp): Move from package.el.
5897 Omit \\` and \\', and let callers add them.
5898
5899 * emacs-lisp/package.el (package-strip-version)
5900 (package-load-all-descriptors): Add \\` and \\' to
5901 package-subdirectory-regexp before using it.
5902 (package-untar-buffer): New arg DIR; ensure that file untars only
5903 into this expected directory. Remove superfluous delete-region.
5904 (package-unpack): Caller changed.
5905 (package-tar-file-info): Use package-subdirectory-regexp.
5906
a904a09a 59072011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 5908
a904a09a
SM
5909 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5910 diff-mode-shared-map (bug#8284).
5911 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
5912
59132011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914
5915 * calendar/time-date.el (format-seconds): Use assoc instead of
5916 assoc-string, since assoc-string doesn't exist in XEmacs.
5917
171fc304
JB
59182011-03-17 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * custom.el (custom-known-themes): Reflow docstring.
5921 (custom-theme-load-path): Fix typo in docstring.
5922 (load-theme): Fix typo in error message.
5923 (custom-available-themes, custom-variable-theme-value):
5924 Use `let', not `let*'.
5925
d71990a1
JB
59262011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5927
5928 * calc/README: Mention inclusion of musical notes.
5929
5930 * calc/calc-units.el (calc-lu-quant): Rename from
5931 `calc-logunits-quantity'.
5932 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5933 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5934 (calc-db): Rename from `calc-dblevel'.
5935 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5936 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5937 (calc-np): Rename from `calc-nplevel'.
5938 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5939 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5940 (calc-lu-plus): Rename from `calc-logunits-add'.
5941 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5942 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5943 (calc-lu-minus): Rename from `calc-logunits-sub'.
5944 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5945 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5946 (calc-lu-times): Rename from `calc-logunits-mul'.
5947 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5948 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5949 (calc-lu-divide): Rename from `calc-logunits-div'.
5950 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5951 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5952
5953 * calc/calc-ext.el (calc-init-extensions): Update the names of the
5954 functions being autoloaded.
5955
5956 * calc/calc.el (calc-lu-power-reference): Rename from
5957 `calc-logunits-power-reference'.
5958 (calc-lu-field-reference): Rename from
5959 `calc-logunits-field-reference'.
5960
5961 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5962
40c2934b
SM
59632011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * minibuffer.el (completion-all-sorted-completions):
5966 Use :completion-cycle-penalty text property if present.
5967
b0911414
KM
59682011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
5969
5970 * allout.el (allout-yank-processing): Adjust for new rebulleting
5971 regime so bullet being yanked is used without prompting the user
5972 for a choice.
5973
8a05b668
JB
59742011-03-16 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * startup.el (command-line): Warn the user that _emacs is deprecated.
5977
5ba5fb81
JB
59782011-03-16 Juanma Barranquero <lekktu@gmail.com>
5979
5980 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5981 (delphi-verbose, delphi-comment-face, delphi-string-face)
5982 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5983 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5984 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5985 (delphi-new-comment-line, delphi-font-lock-defaults)
5986 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5987 Fix typos in docstrings.
5988
2dab465b
KM
59892011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
5990
5ba5fb81 5991 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
5992 Invert the roles of character and string values for INSTEAD, so a
5993 string is used for the more common case of a defaulting prompt.
5994
0adf5618
SM
59952011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * progmodes/ruby-mode.el (ruby-backward-sexp):
5998 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5999 * play/gamegrid.el (gamegrid-make-face):
6000 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6001 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6002 * notifications.el (notifications-notify):
6003 * net/xesam.el (xesam-search-engines):
6004 * net/quickurl.el (quickurl-list-insert):
6005 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6006
d72700e5
CY
60072011-03-15 Chong Yidong <cyd@stupidchicken.com>
6008
6009 * startup.el (command-line): Update package subdirectory regexp.
6010
49c5410a
SM
60112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6012
c6eee9aa
SM
6013 * allout.el (allout-abbreviate-flattened-numbering)
6014 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6015
49c5410a
SM
6016 * subr.el (read-char-choice): Only show the cursor after the prompt,
6017 not after the answer.
6018
047b2bb9
KR
60192011-03-15 Kevin Ryde <user42@zip.com.au>
6020
6021 * help-fns.el (variable-at-point): Skip leading quotes, if any
6022 (bug#8253).
6023
0a57d256
SM
60242011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6027 warning message.
6028
77c992bc
MA
60292011-03-14 Michael Albinus <michael.albinus@gmx.de>
6030
6031 * shell.el (shell): When called interactively, offer to change the
6032 shell file name on remote hosts.
6033
eebc475d
TZ
60342011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6035
6036 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6037 integration for LDAP parameters. The host, base, user or binddn,
6038 and secret tokens can be specified in a netrc file, for instance.
6039 This is optional because an `auth-source' parameter must be
6040 specified in the search attributes.
6041
9d05d1ba
JB
60422011-03-13 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6045
09d9db2c
GM
60462011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6049 into declaration. Remove redundant and harmful binding.
6050
60512011-03-12 Eli Zaretskii <eliz@gnu.org>
6052
6053 * files.el (file-ownership-preserved-p): Pass `integer' as an
6054 explicit 2nd argument to `file-attributes'. If the file's owner
6055 is the Administrators group on Windows, and the current user is
6056 Administrator, consider that a match.
6057
6058 * server.el (server-ensure-safe-dir): Consider server directory
6059 safe on MS-Windows if its owner is the Administrators group while
6060 the current Emacs user is Administrator. Use `=' to compare
6061 numerical UIDs, since they could be integers or floats.
6062
219bd536
JB
60632011-03-12 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6066
f3afd36b
MA
60672011-03-12 Michael Albinus <michael.albinus@gmx.de>
6068
6069 Sync with Tramp 2.2.1.
6070
6071 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6072
6073 * net/trampver.el: Update release number.
6074
3aaaa6f1
SM
60752011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6076
94642599
SM
6077 * progmodes/compile.el (compilation--previous-directory): Fix up
6078 various nil/dead-marker mismatches (bug#8014).
6079 (compilation-directory-properties, compilation-error-properties):
6080 Don't call it at a position past the one we're about to change.
6081
3aaaa6f1
SM
6082 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6083 Disable obsolescence warnings in the file that declares it.
6084
14239447
KM
60852011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6086
099c39a4
JB
6087 * allout-widgets.el (allout-widgets-tally):
6088 Initialize allout-widgets-tally as a hash table rather than nil to
6089 prevent mode-line redisplay warnings. Also, clarify the module
6090 description and fix a comment typo.
14239447 6091
135e287c
JB
60922011-03-11 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * help-fns.el (describe-variable): Don't complete keywords.
6095 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6096
ffbf300e
CY
60972011-03-10 Chong Yidong <cyd@stupidchicken.com>
6098
ba08b241
CY
6099 * emacs-lisp/package.el (package-version-join): Impose a standard
6100 string representation for pre/alpha/beta version lists.
6101 (package-unpack-single): Standardize the directory name by passing
6102 it through package-version-join.
6103 (package-strip-rcs-id): Accept any version string that does not
6104 signal an error in version-to-list.
ffbf300e 6105
f346fd6b
MA
61062011-03-10 Michael Albinus <michael.albinus@gmx.de>
6107
6108 * simple.el (delete-trailing-whitespace): Return nil for the
6109 benefit of `write-file-functions'.
6110
ccb55d27
GM
61112011-03-10 Glenn Morris <rgm@gnu.org>
6112
5ceaac0c
GM
6113 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6114
02da65ff
GM
6115 * vc/vc-git.el (vc-git-program): New option.
6116 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6117 (vc-git--call): Use it.
6118
b2f603cc
GM
6119 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6120
5772caab
GM
6121 * cus-edit.el (Custom-newline): If no button at point, look
6122 for a subgroup button at start-of-line. (Bug#2298)
6123
ccb55d27
GM
6124 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6125
ec6ecaed
JD
61262011-03-10 Julien Danjou <julien@danjou.info>
6127
6128 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6129 `cursor-type' is nil.
6130
9d5aa01d
JB
61312011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6132
6133 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6134
b6a5875b
KM
61352011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6136
6137 * allout.el Summary: Change so yank of distinctive-bullet items
6138 preserves the existing header prefix, rebulleting it if necessary,
6139 rather than replacing it. This is necessary for proper operation
6140 of cooperative addons like allout-widgets.
219bd536 6141 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
6142 SOLICIT arg to INSTEAD, and interpret additionally a string value
6143 as alternate bullet to be used, instead of prompting the user for
6144 a bullet character.
6145
ee545c35
MA
61462011-03-09 Michael Albinus <michael.albinus@gmx.de>
6147
d86d2721
SM
6148 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6149 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
6150 `tramp-default-port'.
6151
c47971d7
DD
61522011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6153
6154 * net/rcirc.el (rcirc-handler-001): Remove useless
6155 with-rcirc-process-buffer.
6156 (rcirc-check-auth-status): Swap arguments to string-match.
6157
13522cb4
GM
61582011-03-09 Glenn Morris <rgm@gnu.org>
6159
0be6f4f1
GM
6160 * shell.el (shell-mode):
6161 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6162
13522cb4
GM
6163 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6164 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6165
515de2e3
CY
61662011-03-08 Chong Yidong <cyd@stupidchicken.com>
6167
6168 * emacs-lisp/package.el (package-refresh-contents)
6169 (package-menu-execute): Use condition-case-no-debug.
6170
b511b994
MA
61712011-03-08 Michael Albinus <michael.albinus@gmx.de>
6172
6173 * simple.el (shell-command-to-string): Use `process-file'.
6174
6175 * emacs-lisp/package.el (package-tar-file-info): Handle also
6176 remote files.
6177
d86d2721
SM
6178 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6179 Use `equal' for upload base check.
b511b994 6180
25bbfb31
AM
61812011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6182
6183 * textmodes/texinfo.el (texinfo-environments):
6184 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6185
be996521
GM
61862011-03-08 Glenn Morris <rgm@gnu.org>
6187
e9c8529f
GM
6188 * cus-start.el (cursor-in-non-selected-windows):
6189 Fix :set quoting oddness. (Bug#8192)
6190
be996521
GM
6191 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6192 in some setf expressions. (Bug#2159)
6193
2bb5649e
CY
61942011-03-08 Chong Yidong <cyd@stupidchicken.com>
6195
6196 * custom.el (custom-available-themes): Return themes in
6197 alphabetical order.
6198
33383987 6199See ChangeLog.15 for earlier changes.
e3d51b27
MR
6200
6201;; Local Variables:
6202;; coding: utf-8
e3d51b27
MR
6203;; End:
6204
33383987 6205 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
6206
6207 This file is part of GNU Emacs.
6208
6209 GNU Emacs is free software: you can redistribute it and/or modify
6210 it under the terms of the GNU General Public License as published by
6211 the Free Software Foundation, either version 3 of the License, or
6212 (at your option) any later version.
6213
6214 GNU Emacs is distributed in the hope that it will be useful,
6215 but WITHOUT ANY WARRANTY; without even the implied warranty of
6216 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6217 GNU General Public License for more details.
6218
6219 You should have received a copy of the GNU General Public License
6220 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.