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