Fix my email address.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9a40b8d4
GM
12012-03-08 Glenn Morris <rgm@gnu.org>
2
3 * files.el (locate-dominating-file, dir-locals-find-file):
4 Undo 2012-03-06 change.
5
7a08ed35
EZ
62012-03-07 Eli Zaretskii <eliz@gnu.org>
7
8 * international/quail.el (quail-help): Force
9 bidi-paragraph-direction be left-to-right. See discussion in
10 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11 for the reason.
12
5aca4f71 132012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
14
15 Avoid superfluous registering of signals. (Bug#10807)
16
17 * notifications.el (notifications-on-action-object)
18 (notifications-on-close-object): New defvars.
19 (notifications-on-action-signal, notifications-on-closed-signal):
20 Unregister the signal if not needed any longer.
21 (notifications-notify): Register `notifications-action-signal' or
22 `notifications-closed-signal', if :on-action or :on-close has been
23 passed as argument.
24
78e8b10a
CY
252012-03-07 Chong Yidong <cyd@gnu.org>
26
27 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
28 non-X platforms.
29
69481eb8
GM
302012-03-06 Glenn Morris <rgm@gnu.org>
31
32 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
33 (x-disown-selection-internal, x-get-selection-internal):
34 Doc fix (add arglist signatures). (Bug#10783)
35
133b8e11
KS
362012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
37
38 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
39 Handle breakpoints with no "type".
40
99a83064
GM
412012-03-06 Glenn Morris <rgm@gnu.org>
42
43 * files.el (locate-dominating-file): Add optional predicate argument.
44 (dir-locals-find-file): Make use of above change.
45
17798e78
TTN
462012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
47
48 * info.el (Info-insert-dir): Also try "dir.gz".
49
eb182446
GM
502012-03-06 Glenn Morris <rgm@gnu.org>
51
8f2114ee
GM
52 * files.el (dir-locals-find-file):
53 Ignore non-readable or non-regular files. (Bug#10928)
54
eb182446
GM
55 * files.el (locate-dominating-file): Doc fix.
56
24679323
AS
572012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
58
59 * calendar/calendar.el (calendar-set-mode-line):
60 `getenv' returns a string. (Bug#10951)
61
01d972a9
LL
622012-03-05 Leo Liu <sdl.web@gmail.com>
63
109aa8a9
LL
64 * simple.el (backward-delete-char-untabify): Constrain point to
65 field (Bug#10939).
66
01d972a9
LL
67 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
68
10607bea
CY
692012-03-05 Chong Yidong <cyd@gnu.org>
70
71 * simple.el (count-words): If called from Lisp, return the word
72 count, for symmetry with `count-lines'. Arglist changed.
73 (count-words--message): Args changed. Consolidate counting code
74 from count-words and count-words-region.
75 (count-words-region): Caller changed.
76 (count-lines-region): Make it an obsolete alias.
77
5dd11cfe
TH
782012-03-04 Tassilo Horn <tassilo@member.fsf.org>
79
80 * saveplace.el (save-place-to-alist)
81 (save-place-ignore-files-regexp): Allow value nil to disable this
82 feature.
83
c349f4e6
CY
842012-03-04 Chong Yidong <cyd@gnu.org>
85
86 * faces.el (face-spec-reset-face): For the default face, reset the
87 attributes to default values (Bug#10748).
88
e627be4c
LMI
892012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
90
91 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
92 previous patch: Check `message-send-mail-function', and not the
93 default function (bug#10897).
94
ebeabff4
MA
952012-03-04 Michael Albinus <michael.albinus@gmx.de>
96
a41a6cf4
MA
97 * notifications.el (notifications-on-action-signal)
98 (notifications-on-closed-signal): Check for unique service name of
99 incoming event. Fix error in removing entry.
ebeabff4 100 (top): Register for signals with wildcard service name.
a41a6cf4 101 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 102
c1ca42b4
CY
1032012-03-04 Chong Yidong <cyd@gnu.org>
104
105 * cus-start.el: Make x-select-enable-clipboard-manager
106 customizable.
107
ea16568d
GM
1082012-03-04 Glenn Morris <rgm@gnu.org>
109
110 * abbrev.el (copy-abbrev-table, abbrev-table-p)
111 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
112 (expand-abbrev, define-abbrev-table): Doc fixes.
113
fbae4637
LMI
1142012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
115
116 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
117 `message-default-send-mail-function' and not `send-mail-function'
118 when doing the prompting for `sendmail-query-once' before sending
119 in Message buffers (bug#10897).
120
a1e7225c
LMI
121 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
122 This is inconsistent with all the other stream functions, which leave
123 the setting up to the higher levels (if so wanted) (bug#10931).
124
56d093a9
AM
1252012-03-02 Alan Mackenzie <acm@muc.de>
126
127 Depessimize the handling of very large macros.
128
129 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
130 (c-macro-cache-syntactic): New variables to implement a one
131 element macro cache.
132 (c-invalidate-macro-cache): New function.
133 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
134 Adapt to use the new cache.
135 (c-state-safe-place): Use better the cache of safe positions.
136 (c-state-semi-nonlit-pos-cache)
137 (c-state-semi-nonlit-pos-cache-limit):
138 New variables for...
139 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
140 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
141 (c-in-literal, c-literal-limits, c-determine-limit-get-base): Use
142 c-state-semi-safe-place.
143
144 * progmodes/cc-langs.el (c-get-state-before-change-functions): Add
145 c-invalidate-macro-cache to the C, C++, Obj entries.
146
817e5c3d
MA
1472012-03-02 Michael Albinus <michael.albinus@gmx.de>
148
149 * jka-compr.el (jka-compr-call-process): Apply
150 `file-accessible-directory-p' only when the default directory is
151 not remote.
152
a032a702
MA
1532012-03-01 Michael Albinus <michael.albinus@gmx.de>
154
155 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
156 access of FILE2, if FILE1 does not exist.
157
99a54f21
MA
158 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
159 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
160
161 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
162 Add "PAGER=" to `process-environment'.
163
f6561e1f
MM
1642012-03-01 Michael R. Mauger <mmaug@yahoo.com>
165
166 * progmodes/sql.el: Bug fix
167 (sql-get-login-ext): Save login values in globals.
168 (sql-get-login): Use new version of `sql-get-login-ext'.
169 (sql-interactive-mode): Set global `sql-connection' to nil.
170 (sql-connect): Set global values for connection.
171 (sql-product-interactive): Save global values as buffer local.
172
2d44d9cc
LL
1732012-02-29 Leo Liu <sdl.web@gmail.com>
174
175 * abbrev.el (define-abbrevs): Reset sys to nil.
176
96b49301 1772012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
178
bf7f9bc5
JB
179 * files.el (file-equal-p): Rename from `files-equal-p'.
180 Return nil when one or both files don't exist.
96b49301 181 (file-subdir-of-p): Now only top directory must exists,
182 return nil if it doesn't.
bf7f9bc5
JB
183 (copy-directory): No need to test with `file-subdir-of-p' after
184 creating dir.
185 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
186 to `file-equal-p'.
96b49301 187
44e97401
GM
1882012-02-28 Glenn Morris <rgm@gnu.org>
189
190 * shell.el (shell-mode):
191 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
192 * play/landmark.el (landmark-font-lock-face-O):
193 * play/handwrite.el (handwrite):
194 * play/gomoku.el (gomoku-O):
195 * net/browse-url.el (browse-url-browser-display):
196 * international/mule.el (define-charset):
197 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
198 * filesets.el (filesets-find-file-delay):
199 * eshell/em-xtra.el (eshell-xtra):
200 * eshell/em-unix.el (eshell-grep):
201 * emulation/viper.el (viper-mode):
202 * emacs-lisp/regexp-opt.el (regexp-opt-group):
203 * emacs-lisp/easymenu.el (easy-menu-define):
204 * calendar/timeclock.el (timeclock-use-display-time):
205 * bs.el (bs-mode):
206 * bookmark.el (bookmark-save-flag):
207 Doc fix (standardize possessive apostrophe usage).
208
c98c6276
CY
2092012-02-27 Chong Yidong <cyd@gnu.org>
210
bf7f9bc5
JB
211 * emulation/viper-cmd.el (viper-intercept-ESC-key):
212 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 213
c98c6276
CY
214 * font-lock.el (font-lock-specified-p): Rename from
215 font-lock-spec-present. Callers changed.
216
9c62cd04 2172012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 218
bf7f9bc5
JB
219 * emacs-lisp/package.el (package-compute-transaction):
220 Handle holding a package version to t in package-load-list.
8ac9e529 221
530739c9
MA
2222012-02-26 Michael Albinus <michael.albinus@gmx.de>
223
224 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
225 (tramp-get-inode, tramp-get-device): Use cached values.
226
487915d7
AM
2272012-02-26 Alan Mackenzie <acm@muc.de>
228
229 Check there is a font-lock specification before doing initial
230 fontification.
231
232 * font-core.el (font-lock-mode): Move the conditional from
233 :after-hook to font-lock-initial-fontify.
234 (font-lock-default-function): Move the check for a specification
235 to font-lock-spec-present.
236
237 * font-lock.el (font-lock-initial-fontify): call ...
238 (font-lock-spec-present): New function.
239
4fd96557
JB
2402012-02-26 Jim Blandy <jimb@red-bean.com>
241
242 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
243 (gdb-send): Apply it to the operand of the '-interpreter-exec
244 console' command, so that we can pass arguments with (say) quotes
245 in them. Store exact string sent in gdb-debug-log (Bug#10765).
246
9a4888c0
CY
2472012-02-26 Chong Yidong <cyd@gnu.org>
248
07498861
CY
249 * help-fns.el (describe-function-1): Clarify description of
250 remapping (Bug#10844).
251
9a4888c0
CY
252 * files.el (files-equal-p): Doc fix.
253 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
254 and quit the loop once a mismatch is found.
255
ea8fb88d
JB
2562012-02-25 Juanma Barranquero <lekktu@gmail.com>
257
258 * bs.el (bs--show-with-configuration): Don't throw an error
259 if the window cannot be split; otherwise, subsequent calls to
260 bs-show fail, restoring a stale window config. (Bug#10882)
261
525795c1
JD
2622012-02-25 Jan Djärv <jan.h.d@swipnet.se>
263
264 * term/ns-win.el (global-map): Bind ns-drag-file to
265 ns-find-file (Bug#5855, Bug#10050).
266
f008086f
AS
2672012-02-25 Andreas Schwab <schwab@linux-m68k.org>
268
269 * calendar/parse-time.el (parse-time-string): Allow extractor to
270 return nil.
271
a3fcfa99
MA
2722012-02-25 Michael Albinus <michael.albinus@gmx.de>
273
91027d08
JB
274 * net/tramp.el (tramp-file-name-for-operation):
275 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
276
277 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
278 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
279 Add COPY-CONTENTS argument.
a3fcfa99 280
67b0de11
CY
2812012-02-25 Chong Yidong <cyd@gnu.org>
282
283 Add custom groups for VC backends, for consistency with vc-bzr.
284
285 * vc/vc-arch.el (vc-arch):
286 * vc/vc-cvs.el (vc-cvs):
287 * vc/vc-git.el (vc-git):
288 * vc/vc-hg.el (vc-hg):
289 * vc/vc-mtn.el (vc-mtn):
290 * vc/vc-rcs.el (vc-rcs):
291 * vc/vc-sccs.el (vc-sccs):
292 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
293 All relevant defcustoms reassigned.
294
3c9dfce6
CY
2952012-02-25 Chong Yidong <cyd@gnu.org>
296
1339bf43
CY
297 * newcomment.el (comment-styles): Add autoload (Bug#10868).
298
3c9dfce6
CY
299 * term/x-win.el (x-initialize-window-system): Reduce default for
300 x-selection-timeout to 5 seconds (Bug#8869).
301
53a46cd0 3022012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 303
53a46cd0 304 * files.el (file-subdir-of-p): Fix typo.
14a8a663 305
25b2e303 3062012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
307
ec70a47d
GM
308 * files.el (files-equal-p, file-subdir-of-p): New functions.
309 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 310 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
311 * dired-aux.el (dired-copy-file-recursive): Same.
312 (dired-create-files): Modify destination when source is equal to
313 dest when copying files.
53a46cd0 314 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 315
914260cd
MA
3162012-02-24 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
319 (Bug#10874)
320
2cb228f7
AM
3212012-02-23 Alan Mackenzie <acm@muc.de>
322
323 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
324 parameter "after-hook:" to allow the expansion to run code after
325 the execution of the mode hooks.
326
327 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 328 from font-lock-mode-internal.
2cb228f7 329
91027d08 330 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
331 :after-hook.
332
8f0fde21
SM
3332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
334
3e88618b
SM
335 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
336 (completion--cache-all-sorted-completions): New function.
337 (completion-all-sorted-completions): Use it.
338 (completion--do-completion, minibuffer-force-complete):
339 Use it to re-instate the flush hook.
340
8f0fde21
SM
341 * icomplete.el (icomplete-completions): Replace last fix with a better
342 one (bug#10850).
343
8e911f6f
DG
3442012-02-23 Dmitry Gutov <dgutov@yandex.ru>
345
346 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
347 when it might call us back infinitely (bug#10797).
348
49fe4321
GM
3492012-02-23 Glenn Morris <rgm@gnu.org>
350
351 * minibuffer.el (completion-category-overrides): Doc fix.
352
b291b572
SM
3532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * minibuffer.el (completion-table-with-context): Fix inf-loop.
356 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
357
31a9ef2e
GM
3582012-02-23 Glenn Morris <rgm@gnu.org>
359
5e6e6794 360 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
361 (authors-obsolete-files-regexps, authors-ignored-files)
362 (authors-ambiguous-files, authors-renamed-files-alist):
363 Add more entries.
364
0bd1e074
JL
3652012-02-23 Juri Linkov <juri@jurta.org>
366
367 * isearch.el (isearch-occur): Sync interactive spec with occur's
368 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
369
b617673c
JL
370 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
371
19e9789e
JL
3722012-02-22 Juri Linkov <juri@jurta.org>
373
374 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
375 (ucs-insert): Doc fix. Check for hex digits in the string.
376 Don't display `nil' in the error message. (Bug#10857)
377
f41ce09d
AM
3782012-02-22 Alan Mackenzie <acm@muc.de>
379
7a71b18d 380 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 381
ac2eceee
GM
3822012-02-22 Glenn Morris <rgm@gnu.org>
383
384 * ffap.el (ffap-c-path):
385 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
386
abd1f678
CY
3872012-02-22 Chong Yidong <cyd@gnu.org>
388
389 * custom.el (load-theme): Doc fix.
390
f25aef2e
GM
3912012-02-22 Glenn Morris <rgm@gnu.org>
392
393 * dired-x.el (dired-guess-shell-alist-default):
394 Remove escape sequences from nroff output. (Bug#172)
395
5f8dc2ca
GM
3962012-02-21 Glenn Morris <rgm@gnu.org>
397
6ff86ec4
GM
398 * vc/emerge.el (emerge-defvar-local):
399 Set `permanent-local' property rather than unused `preserved'.
400
be3223a3 401 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
402 (picture-mode-map): Use it. (Bug#10860)
403 (picture-mode): Doc fix.
404
3fe58f4f
JB
4052012-02-21 Juanma Barranquero <lekktu@gmail.com>
406
407 * newcomment.el (uncomment-region-default): Remove unused binding.
408
f9a998c3
GM
4092012-02-21 Glenn Morris <rgm@gnu.org>
410
411 * textmodes/picture.el (picture-motion, picture-motion-reverse)
412 (picture-self-insert, picture-tab-chars): Doc fix.
413 (picture-mode-map): Fix C-a, C-e.
414
c6029348
GM
4152012-02-20 Glenn Morris <rgm@gnu.org>
416
417 * emacs-lisp/authors.el (authors-aliases): Add another entry.
418
ab1ce9d7
LL
4192012-02-20 Leo Liu <sdl.web@gmail.com>
420
421 * icomplete.el (icomplete-completions): Check FROM arg before
422 passing to substring (Bug#10850).
423
0fd40f89
CY
4242012-02-19 Chong Yidong <cyd@gnu.org>
425
426 * comint.el: Require ansi-color.
427 (comint-output-filter-functions): Add ansi-color-process-output.
428
429 * ansi-color.el: Don't set comint-output-filter-functions; it is
430 now in the initial value defined in comint.el.
431 (ansi-color-apply-face-function): New variable.
432 (ansi-color-apply-on-region): Use it.
433 (ansi-color-apply-overlay-face): New function.
434
435 * shell.el (shell): No need to require ansi-color.
436 (shell-mode): Use ansi-color-apply-face-function to highlight
437 color escapes using font-lock-face property (Bug#10835).
438
20af2394
CY
4392012-02-19 Chong Yidong <cyd@gnu.org>
440
441 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
442 mode-line formats (Bug#10839).
443
e23a3fbe
GM
4442012-02-18 Glenn Morris <rgm@gnu.org>
445
b474519e
GM
446 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
447
448 * mail/undigest.el (unforward-rmail-message): Doc fix.
449
e23a3fbe
GM
450 * saveplace.el (save-place-ignore-files-regexp): Add :version.
451
57939ff4
EZ
4522012-02-18 Eli Zaretskii <eliz@gnu.org>
453
454 * international/characters.el (script-list): Sync with the latest
455 Unicode Character Database.
456
0c23686e
AS
4572012-02-18 Andreas Schwab <schwab@linux-m68k.org>
458
459 * international/titdic-cnv.el: Remove duplicate coding tag.
460 * language/cham.el: Likewise.
461 * language/tai-viet.el: Likewise.
462
6818b449
GM
4632012-02-18 Glenn Morris <rgm@gnu.org>
464
465 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
466 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
467 (calendar-bahai-all-holidays-flag, calendar-other-dates):
468 * calendar/diary-lib.el (diary-abbreviated-year-flag):
469 * calendar/holidays.el (holiday-bahai-holidays)
470 (calendar-holidays, list-holidays):
471 Use utf-8 Bahá'í in doc-strings, menus, etc.
472
0311a3fc
TH
4732012-02-17 Tassilo Horn <tassilo@member.fsf.org>
474
475 * saveplace.el (save-place-ignore-files-regexp): New variable
476 allowing for excluding files from saving their location of point.
477 The default value matches the temporary commit message editing
478 files from Git, SVN, Bazaar, and Mercurial.
479 (save-place-to-alist): Use it.
480
eb864a71
LM
4812012-02-17 Lawrence Mitchell <wence@gmx.li>
482 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * newcomment.el (uncomment-region-default): Don't leave extra space
485 when an arg is provided (bug#8150).
486
ee0ce425
TZ
4872012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
488
eb864a71 489 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 490
95ddf442
GM
4912012-02-17 Glenn Morris <rgm@gnu.org>
492
493 * net/socks.el: Require network-stream. (Bug#10599)
494
48dd1e39 4952012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
496
497 * international/charprop.el:
498 * international/uni-name.el:
499 * international/uni-old-name.el:
500 * international/uni-comment.el: Regenerate.
501
d68cd087
GM
5022012-02-16 Glenn Morris <rgm@gnu.org>
503
504 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
505 Interactively in calendar buffer, give an error if not on a date.
506
13932042
GM
5072012-02-15 Glenn Morris <rgm@gnu.org>
508
509 * shell.el (shell-delimiter-argument-list):
510 Revert 2011-02-17 change. (Bug#8027)
511
c3a70e2b
CY
5122012-02-15 Chong Yidong <cyd@gnu.org>
513
60236b0d
CY
514 * minibuffer.el (completion-at-point-functions): Doc fix.
515
c3a70e2b
CY
516 * custom.el (defcustom): Doc fix; note use of defvar.
517
9f26dc24
GM
5182012-02-15 Glenn Morris <rgm@gnu.org>
519
520 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
521 Doc fixes.
522
6546b134
GM
5232012-02-14 Glenn Morris <rgm@gnu.org>
524
525 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
526
d29b2b4c
LI
5272012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
528
529 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
530 way the ports list is computed.
835bdcba
LI
531 (smtpmail-query-smtp-server): Prompt the user for a port number if
532 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 533
08dcdbc9
TZ
5342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
535
536 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
537
2605051a
GM
5382012-02-13 Glenn Morris <rgm@gnu.org>
539
540 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
541
7ee99f32
TZ
5422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
543
544 * net/gnutls.el (gnutls-trustfiles): New variable.
545 (gnutls-negotiate): Use it.
546
5f0af64f
LI
5472012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
548
549 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
550 does its stuff if Gnus is running.
551
c14fcc95
AM
5522012-02-13 Alan Mackenzie <acm@muc.de>
553
554 Fix a loop in c-set-fl-decl-start.
555
7a71b18d 556 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
557 c-backward-syntactic-ws actually moves backwards.
558
142b4d90
LL
5592012-02-13 Leo Liu <sdl.web@gmail.com>
560
561 * net/rcirc.el (rcirc-markup-attributes): Move point to the
562 beginning so that all \C-o chars are removed.
563
fa9958a6
TZ
5642012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
565
566 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
567 tag.
568
0bc5886a
AM
5692012-02-12 Alan Mackenzie <acm@muc.de>
570
571 Fix infinite loop with long macros.
572 * cc-engine.el (c-state-safe-place): Handle macros properly.
573
d4bd55e7
CY
5742012-02-12 Chong Yidong <cyd@gnu.org>
575
576 * window.el (display-buffer): Doc fix (Bug#10785).
577
66f3fe22
GM
5782012-02-12 Glenn Morris <rgm@gnu.org>
579
bd7da63e
GM
580 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
581 (x-disown-selection-internal, x-get-selection-internal):
582 Sync docs with the xselect.c versions.
583
66f3fe22
GM
584 * allout-widgets.el: Add missing license notice.
585
3e0d2fa7
GM
5862012-02-11 Glenn Morris <rgm@gnu.org>
587
cfecdf09
GM
588 * select.el (x-get-selection-internal, x-own-selection-internal)
589 (x-disown-selection-internal):
590 * x-dnd.el (x-get-selection-internal): Update declarations.
591
6d216d7f
GM
592 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
593
2bed3f04
GM
594 * window.el (window-sides-slots):
595 * tool-bar.el (tool-bar-position):
596 * term/xterm.el (xterm-extra-capabilities):
597 * ses.el (ses-self-reference-early-detection):
598 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
599 (verilog-auto-wire-type)
600 (verilog-auto-delete-trailing-whitespace)
601 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
602 (verilog-auto-tieoff-declaration):
603 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
604 (sql-oracle-statement-starters, sql-oracle-scan-on):
605 * progmodes/prolog.el (prolog-align-comments-flag)
606 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
607 (prolog-left-indent-regexp, prolog-paren-indent-p)
608 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
609 (prolog-types, prolog-mode-specificators)
610 (prolog-determinism-specificators, prolog-directives)
611 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
612 (prolog-electric-dot-flag)
613 (prolog-electric-dot-full-predicate-template)
614 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
615 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
616 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
617 (prolog-program-switches, prolog-prompt-regexp)
618 (prolog-debug-on-string, prolog-debug-off-string)
619 (prolog-trace-on-string, prolog-trace-off-string)
620 (prolog-zip-on-string, prolog-zip-off-string)
621 (prolog-use-standard-consult-compile-method-flag)
622 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
623 (prolog-imenu-max-lines, prolog-info-predicate-index)
624 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
625 (prolog-char-quote-workaround):
626 * progmodes/cc-vars.el (c-defun-tactic):
627 * net/tramp.el (tramp-encoding-command-interactive)
628 (tramp-local-end-of-line):
629 * net/soap-client.el (soap-client):
630 * net/netrc.el (netrc-file):
631 * net/gnutls.el (gnutls):
632 * minibuffer.el (completion-category-overrides)
633 (completion-cycle-threshold)
634 (completion-pcm-complete-word-inserts-delimiters):
635 * man.el (Man-name-local-regexp):
636 * mail/feedmail.el (feedmail-display-full-frame):
637 * international/characters.el (glyphless-char-display-control):
638 * eshell/em-ls.el (eshell-ls-date-format):
639 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
640 (lisp-lambda-list-keyword-parameter-indentation)
641 (lisp-lambda-list-keyword-parameter-alignment):
642 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
643 * dired-x.el (dired-omit-verbose):
644 * cus-theme.el (custom-theme-allow-multiple-selections):
645 * calc/calc.el (calc-highlight-selections-with-faces)
646 (calc-lu-field-reference, calc-lu-power-reference)
647 (calc-note-threshold):
648 * battery.el (battery-mode-line-limit):
649 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
650 (archive-7z-update):
651 * allout.el (allout-prefixed-keybindings)
652 (allout-unprefixed-keybindings)
653 (allout-inhibit-auto-fill-on-headline)
654 (allout-flattened-numbering-abbreviation):
655 * allout-widgets.el (allout-widgets-auto-activation)
656 (allout-widgets-icons-dark-subdir)
657 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
658 (allout-widgets-theme-dark-background)
659 (allout-widgets-theme-light-background)
660 (allout-widgets-item-image-properties-emacs)
661 (allout-widgets-item-image-properties-xemacs)
662 (allout-widgets-run-unit-tests-on-load)
663 (allout-widgets-time-decoration-activity)
664 (allout-widgets-hook-error-post-time)
665 (allout-widgets-track-decoration):
666 Add missing :version tags to new defcustoms and defgroups.
667
5fec1b8e
GM
668 * progmodes/sql.el (sql-ansi-statement-starters)
669 (sql-oracle-statement-starters): Add custom type.
670
3e0d2fa7
GM
671 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
672 (prolog-system-version): Give it a type.
673
90b671e2
EZ
6742012-02-11 Eli Zaretskii <eliz@gnu.org>
675
676 * term/pc-win.el (x-select-text, x-selection-owner-p)
677 (x-own-selection-internal, x-disown-selection-internal)
678 (x-get-selection-internal): Sync doc strings and argument lists
679 with xselect.c, common-win.el and x-win.el. (Bug#10783)
680
5eac0c02
LL
6812012-02-11 Leo Liu <sdl.web@gmail.com>
682
683 * progmodes/python.el (python-end-of-statement): Fix infinite
684 loop. (Bug#10788)
685
f82cb659
GM
6862012-02-10 Glenn Morris <rgm@gnu.org>
687
688 * international/mule-cmds.el (unify-8859-on-encoding-mode)
689 (unify-8859-on-decoding-mode): Properly mark as obsolete.
690
cc26d239
LI
6912012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
692
693 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
694 about SMTP before checking the From header.
695
91027d08 696 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
697 into own function for reuse by emacsbug.el.
698
1be3ca5a
LL
6992012-02-10 Leo Liu <sdl.web@gmail.com>
700
701 * subr.el (condition-case-unless-debug): Rename from
702 condition-case-no-debug. All callers changed.
703 (with-demoted-errors): Fix caller.
704
705 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
706 * nxml/rng-valid.el (rng-do-some-validation):
707 * emacs-lisp/package.el (package-refresh-contents)
708 (package-menu-execute):
709 * desktop.el (desktop-create-buffer):
91027d08 710 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 711
b011fbfe
GM
7122012-02-10 Glenn Morris <rgm@gnu.org>
713
b2096d72
GM
714 * textmodes/bibtex.el:
715 Add missing :version tags for new/changed defcustoms.
716
b011fbfe
GM
717 * files.el (remote-file-name-inhibit-cache): Doc fixes.
718
4c7e65bf
LI
7192012-02-09 Lars Ingebrigtsen <larsi@rusty>
720
721 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
722 (smtpmail-via-smtp): Use it, or fall back on the From address.
723 (smtpmail-send-it): Ditto.
724
f3934f6f
SM
7252012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
728 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
729 (byte-compile-tmp-var): New const.
730 (byte-compile-defvar): Use it to minimize .elc size.
731 Just use `defvar' rather than simulate it (bug#10761).
732
a075a2c5
GM
7332012-02-09 Glenn Morris <rgm@gnu.org>
734
cf3aa21b
GM
735 * files.el (rename-uniquely): Doc fix. (Bug#3806)
736
354998cd
GM
737 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
738 Add :version tags.
739
83274125 740 * progmodes/compile.el (compilation-first-column)
34c071c6 741 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 742
dab3703d
GM
743 * vc/log-view.el (log-view-toggle-entry-display):
744 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
745
3f88cd72
GM
746 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
747 (report-emacs-bug-can-use-xdg-email):
748 (report-emacs-bug-insert-to-mailer): Doc fixes.
749 (report-emacs-bug): Message fix.
750
d95b247d
GM
751 * net/browse-url.el (browse-url-can-use-xdg-open)
752 (browse-url-xdg-open): Doc fixes.
753
a075a2c5
GM
754 * electric.el (electric-indent-mode, electric-pair-mode)
755 (electric-layout-rules, electric-layout-mode): Doc fixes.
756 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
757
ffb6157e
MR
7582012-02-08 Martin Rudalics <rudalics@gmx.at>
759
760 * server.el (server-unselect-display): Don't inadvertently kill
761 the current buffer. (Bug#10729)
762
e1ac4066
GM
7632012-02-08 Glenn Morris <rgm@gnu.org>
764
34e8a2da
GM
765 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
766 (sql-list-table): Doc fixes.
767
b4ac6e8c
GM
768 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
769 Comment out (does nothing).
770
e1ac4066
GM
771 * completion.el (dynamic-completion-mode):
772 * dirtrack.el (dirtrack-debug-mode):
773 * electric.el (electric-layout-mode):
774 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
775 * face-remap.el (text-scale-mode, buffer-face-mode):
776 * iimage.el (iimage-mode):
777 * image-mode.el (image-transform-mode):
778 * minibuffer.el (completion-in-region-mode):
779 * scroll-lock.el (scroll-lock-mode):
780 * simple.el (next-error-follow-minor-mode):
781 * tar-mode.el (tar-subfile-mode):
782 * tooltip.el (tooltip-mode):
783 * vcursor.el (vcursor-use-vcursor-map):
784 * wid-browse.el (widget-minor-mode):
785 * emulation/tpu-edt.el (tpu-edt-mode):
786 * emulation/tpu-extras.el (tpu-cursor-free-mode):
787 * international/iso-ascii.el (iso-ascii-mode):
788 * language/thai-util.el (thai-word-mode):
789 * mail/supercite.el (sc-minor-mode):
790 * net/goto-addr.el (goto-address-mode):
791 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
792 * progmodes/cwarn.el (cwarn-mode):
793 * progmodes/flymake.el (flymake-mode):
794 * progmodes/glasses.el (glasses-mode):
795 * progmodes/hideshow.el (hs-minor-mode):
796 * progmodes/pascal.el (pascal-outline-mode):
797 * textmodes/enriched.el (enriched-mode):
798 * vc/smerge-mode.el (smerge-mode):
799 Doc fixes (minor mode argument).
800
5e0d957f
EZ
8012012-02-07 Eli Zaretskii <eliz@gnu.org>
802
803 * ls-lisp.el (ls-lisp-sanitize): New function.
804 (ls-lisp-insert-directory): Use it to fix or remove any elements
805 in file-alist with missing attributes. (Bug#4673)
806
98d7371e
AM
8072012-02-07 Alan Mackenzie <acm@muc.de>
808
809 Fix spurious recognition of c-in-knr-argdecl.
810
811 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
812 putative K&R region.
813
667ced3a
AM
8142012-02-07 Alan Mackenzie <acm@muc.de>
815
eb864a71
LM
816 * progmodes/cc-engine.el (c-forward-objc-directive):
817 Prevent looping in "#pragma mark @implementation".
667ced3a 818
5b77774d
MA
8192012-02-07 Michael Albinus <michael.albinus@gmx.de>
820
821 * notifications.el (notifications-on-closed-signal): Make `reason'
822 optional. (Bug#10744)
823
af008560
GM
8242012-02-07 Glenn Morris <rgm@gnu.org>
825
60d47423
GM
826 * emacs-lisp/easy-mmode.el (define-minor-mode):
827 Doc fixes for the macro and the mode it defines.
828
dd605cc4
GM
829 * image.el (imagemagick-types-inhibit): Doc fix.
830
af008560
GM
831 * cus-start.el (imagemagick-render-type): Add it.
832
5cc59a37
LI
8332012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
834
835 * progmodes/cc-mode.el
836 (c-standard-font-lock-fontify-region-function): Set the default at
837 load time, too, so that `font-lock-fontify-buffer' can be called
838 without setting up the entire mode first. This fixes a bug in
839 `mm-inline-text' with C MIME parts.
840
9a6dd747
CY
8412012-02-06 Chong Yidong <cyd@gnu.org>
842
2d16b285
CY
843 * simple.el (list-processes--refresh): Delete exited processes
844 (Bug#8094).
845
171e9b6e
CY
846 * comint.el (comint-next-prompt): next-single-char-property-change
847 and prev-single-char-property-change never return nil (Bug#8657).
848
9a6dd747
CY
849 * custom.el (defcustom): Doc fix (Bug#9711).
850
aa4589a7
CY
8512012-02-05 Chong Yidong <cyd@gnu.org>
852
5c2a252f
CY
853 * cus-edit.el (custom-variable-reset-backup): Quote the value
854 before storing it in the customized-value property (Bug#6712).
4aab9006 855 (custom-display): Add a customization type tag.
983b9602 856 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 857
aa4589a7
CY
858 * wid-edit.el (widget-field-value-get): New optional arg to
859 suppress trailing whitespace truncation.
860 (character): Use it (Bug#2689).
861
1ff980ae
AS
8622012-02-05 Andreas Schwab <schwab@linux-m68k.org>
863
864 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
865 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
866
03988c98
CY
8672012-02-05 Chong Yidong <cyd@gnu.org>
868
eeb6cc88
CY
869 * cus-edit.el (custom-variable-value-create): For mismatched
870 types, show the current value (Bug#7600).
871
03988c98
CY
872 * custom.el (defcustom): Doc fix.
873
f8cdeef0
GM
8742012-02-05 Glenn Morris <rgm@gnu.org>
875
876 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
877
0696d255
JB
8782012-02-05 Juanma Barranquero <lekktu@gmail.com>
879
880 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
881 (pp-buffer): Use `ignore-errors', `looking-at-p'.
882 (pp-last-sexp): Use `looking-at-p'.
883
34c99998
GM
8842012-02-04 Glenn Morris <rgm@gnu.org>
885
8f05da42
GM
886 * files.el (revert-buffer):
887 Doc fix (mention revert-buffer-in-progress-p).
888
f160676e
GM
889 * emacs-lisp/ert-x.el (ert-simulate-command):
890 Check deferred-action-list (which is obsolete) is bound.
891
c7291ad9
GM
892 * subr.el (with-wrapper-hook): Doc fixes.
893
34c99998
GM
894 * simple.el (filter-buffer-substring-functions)
895 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
896
6283a7d3
LL
8972012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
898
899 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
900 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
901
e96e3013
LL
9022012-02-04 Leo Liu <sdl.web@gmail.com>
903
904 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
905
8ded50f2
GM
9062012-02-04 Glenn Morris <rgm@gnu.org>
907
82ff1d13
GM
908 * image.el (image-extension-data): Add obsolete alias.
909
987a0a16
GM
910 * isearch.el (isearch-update): Doc fix.
911
ea32ef46
GM
912 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
913
8ded50f2
GM
914 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
915
eea14f31
GM
9162012-02-03 Glenn Morris <rgm@gnu.org>
917
918 * image.el (image-animated-p): Doc fix. Use image-animated-types.
919 (image-animate-timeout): Doc fix.
920
921 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
922
12f381b7
GM
9232012-02-02 Glenn Morris <rgm@gnu.org>
924
953cebf5
GM
925 * server.el (server-auth-dir): Doc fix.
926 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
927
12f381b7
GM
928 * subr.el (run-mode-hooks): Doc fix.
929
953a8c3b
JL
9302012-02-02 Juri Linkov <juri@jurta.org>
931
932 * image-mode.el (image-toggle-display-image): Remove tautological
933 `major-mode' from the `derived-mode-p' test.
934
c5d3843c
KH
9352012-02-02 Kenichi Handa <handa@m17n.org>
936
9f6e692e 937 * composite.el (compose-region): Cancel previous change.
c5d3843c 938
159462d4 9392012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
940
941 * composite.el (compose-region, compose-string): Signal error for
942 a null string component (Bug#6988).
943
9f562668
CY
9442012-02-01 Chong Yidong <cyd@gnu.org>
945
e2cef717
CY
946 * view.el (view-buffer-other-window, view-buffer-other-frame):
947 Handle special modes like view-buffer (Bug#10650).
948 (view-buffer): Simplify.
949
9f562668
CY
950 * frame.el (set-frame-font): Tweak meaning of third argument.
951
9f6e692e
JB
952 * dynamic-setting.el (font-setting-change-default-font):
953 Use set-frame-font (Bug#9982).
9f562668 954
781acb9f
GM
9552012-02-01 Glenn Morris <rgm@gnu.org>
956
6035be52
GM
957 * progmodes/compile.el (compilation-internal-error-properties):
958 Respect compilation-first-column in the "*compilation*" buffer.
959
781acb9f
GM
960 * emacs-lisp/easy-mmode.el (define-minor-mode):
961 Relax :variable's test for a named function.
962
abbceb00
AM
9632012-01-31 Alan Mackenzie <acm@muc.de>
964
965 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
966 off by one error.
967
fce3fdeb
CY
9682012-01-31 Chong Yidong <cyd@gnu.org>
969
970 * frame.el (set-frame-font): New arg ALL-FRAMES.
971
972 * menu-bar.el (menu-set-font): Use set-frame-font.
973
974 * faces.el (face-spec-reset-face): Don't apply unspecified
975 attribute values to the default face.
976
47893581
JB
9772012-01-31 Juanma Barranquero <lekktu@gmail.com>
978
979 * progmodes/cwarn.el (cwarn): Remove dead link.
980 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
981 Remove * from defcustom docstrings.
982 (turn-on-cwarn-mode): Make obsolete.
983 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
984 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
985
e58e988a
GM
9862012-01-31 Glenn Morris <rgm@gnu.org>
987
60dc2671 988 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 989 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 990 Allow named functions to be used as the cdr of :variable.
e58e988a 991
7a3f511d
GM
9922012-01-30 Glenn Morris <rgm@gnu.org>
993
994 * emacs-lisp/authors.el (authors-fixed-entries):
995 Remove reference to deleted file rnewspost.el.
996
cb882333
JB
9972012-01-29 Juanma Barranquero <lekktu@gmail.com>
998
999 * window.el (window-with-parameter): Remove unused variable `windows'.
1000 (window--side-check): Remove unused variable `code'.
1001 (window--resize-siblings): Remove unused variable `first'.
1002 (adjust-window-trailing-edge): Remove unused variable `failed'.
1003 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1004 Use `let', not `let*'.
1005 (balance-windows-2): Remove unused variable `found'.
1006 (window--state-put-2): Remove unused variable `splits'.
1007 (window-state-put): Remove unused variable `selected'.
1008 (same-window-p): Use `string-match-p'.
1009 (display-buffer-assq-regexp): Remove unused variable `value'.
1010 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1011 Mark argument ALIST as ignored.
1012 (pop-to-buffer): Remove unused variable `old-window'.
1013
907201af
EZ
10142012-01-29 Eli Zaretskii <eliz@gnu.org>
1015
1016 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1017 and .lzma compressed files.
1018
ea162670
CY
10192012-01-29 Chong Yidong <cyd@gnu.org>
1020
5b95ee8a
CY
1021 * frame.el (window-system-default-frame-alist): Doc fix.
1022
ea162670
CY
1023 * dynamic-setting.el (font-setting-change-default-font): Don't
1024 change the default face if SET-FONT argument is non-nil (Bug#9982).
1025
d6e6f4b1
SB
10262012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1027
1028 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1029
0f29fa41 10302012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1031
1032 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1033 breakpoints in files outside current directory (Bug#6098).
1034
db174434
CY
10352012-01-29 Chong Yidong <cyd@gnu.org>
1036
6b25e4e2
SE
1037 * progmodes/python.el: Require ansi-color at top-level.
1038
6df6ae42
JB
1039 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1040 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1041 (lisp-mode-abbrev-table): Add doc.
1042 (lisp-mode-variables): Don't set local-abbrev-table.
1043 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1044
e70ee681
RW
10452012-01-28 Roland Winkler <winkler@gnu.org>
1046
1047 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1048
ace88aa2
RW
10492012-01-28 Roland Winkler <winkler@gnu.org>
1050
1051 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1052 (bibtex-set-dialect): Use it. Either set global values of
1053 dialect-dependent variables or bind these variables buffer-locally
1054 (Bug#10254).
1055 (bibtex-mode): Call bibtex-set-dialect via
1056 hack-local-variables-hook.
eb864a71
LM
1057 (bibtex-dialect): Update docstring.
1058 Add safe-local-variable predicate.
ace88aa2
RW
1059 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1060 bibtex-set-dialect.
1061 (bibtex-mode-map): Define menu for each dialect.
1062 (bibtex-entry): Fix docstring.
1063
93376c5b
CY
10642012-01-28 Chong Yidong <cyd@gnu.org>
1065
1066 * eshell/esh-arg.el (eshell-quote-argument): New function.
1067
1068 * eshell/esh-ext.el (eshell-invoke-batch-file):
1069 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1070 first arg to eshell-parse-command (Bug#10523).
1071
4372494f
DA
10722012-01-28 Drew Adams <drew.adams@oracle.com>
1073
1074 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1075 `default-directory' is non-nil.
1076
4d4ec1f8
EZ
10772012-01-28 Eli Zaretskii <eliz@gnu.org>
1078
1079 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1080 line that displays system-configuration-options. (Bug#9924)
1081
7c188927
DA
10822012-01-28 Drew Adams <drew.adams@oracle.com>
1083
1084 * descr-text.el (describe-char): Show information about POS, in
1085 addition to information about the character at POS. Improve and
1086 update the doc string. Change "code point" to "code point in
1087 charset", to avoid confusion with the character's Unicode code
1088 point shown above that. (Bug#10129)
1089
e0da685a
EZ
10902012-01-28 Eli Zaretskii <eliz@gnu.org>
1091
1092 * descr-text.el (describe-char): Show the raw character, not only
1093 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1094 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1095 for the reasons.
1096
70550acf
PH
10972012-01-28 Phil Hagelberg <phil@hagelb.org>
1098
eb864a71
LM
1099 * emacs-lisp/package.el (package-install):
1100 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1101
0ce8e868
CY
11022012-01-28 Chong Yidong <cyd@gnu.org>
1103
cb882333
JB
1104 * emacs-lisp/package.el (package-maybe-load-descriptor):
1105 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1106 (package-maybe-load-descriptor): Use it.
1107 (package-download-transaction): Fully load required packages
1108 inside the loop, so that `require' calls work (Bug#10593).
1109 (package-install): No need to call package-initialize now.
1110
2e7f3bea
CY
11112012-01-28 Chong Yidong <cyd@gnu.org>
1112
6e9bad14
CY
1113 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1114
f823b8ca
CY
1115 * tooltip.el (tooltip-mode): Doc fix.
1116 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1117
2680c309
CY
1118 * frame.el (set-cursor-color): Doc fix (Bug#352).
1119
d7a9e63b
CY
1120 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1121 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1122
2e7f3bea
CY
1123 * cus-edit.el (custom-buffer-create-internal): Fix search button
1124 action (Bug#10542).
2ae01800 1125 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1126
fc4f7a23
EW
11272012-01-27 Eduard Wiebe <usenet@pusto.de>
1128
1129 * dired.el (dired-mark-files-regexp):
1130 Include any subdirectory components. (Bug#10445)
1131
7dd37071
ML
11322012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1133
1134 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1135 Handle [host]:port syntax. (Bug#10533)
1136
a268160b
AH
11372012-01-27 Alex Harsanyi <harsanyi@mac.com>
1138
1139 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1140
e43273ef
GM
11412012-01-26 Glenn Morris <rgm@gnu.org>
1142
1143 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1144 * term.el (term-raw-escape-map): Use Control-X-prefix.
1145 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1146
1edf595d
MR
11472012-01-25 Martin Rudalics <rudalics@gmx.at>
1148
1149 * window.el (window-state-get, window--state-get-1): Don't deal
1150 with fixed-sizeness of windows. Simplify code.
1151
fa8eafef
JC
11522012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1153
6df6ae42
JB
1154 * window.el (window--state-get-1, window--state-put-2):
1155 Don't save and restore the mark.
fa8eafef 1156
0b21c100
CY
11572012-01-25 Chong Yidong <cyd@gnu.org>
1158
1159 * custom.el (custom-variable-p): Doc fix.
1160
5ae1a6c8
GM
11612012-01-25 Glenn Morris <rgm@gnu.org>
1162
40047858
GM
1163 * dired.el (dired-goto-file): Handle some of the more common
1164 characters that `ls -b' escapes. (Bug#10596)
1165
5ddce96c
GM
1166 * progmodes/compile.el (compilation-next-error-function):
1167 Respect compilation-first-column in the "*compilation*" buffer.
1168 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1169
5ae1a6c8
GM
1170 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1171
b559f1a9
GM
11722012-01-24 Glenn Morris <rgm@gnu.org>
1173
1174 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1175
6725d21a
JD
11762012-01-24 Julien Danjou <julien@danjou.info>
1177
1178 * color.el (color-rgb-to-hsl): Fix value computing.
1179 (color-hue-to-rgb): New function.
1180 (color-hsl-to-rgb): New function.
1181 (color-clamp, color-saturate-hsl, color-saturate-name)
1182 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1183 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1184
70df4bbe
GM
11852012-01-24 Glenn Morris <rgm@gnu.org>
1186
1187 * vc/vc-rcs.el (vc-rcs-create-tag):
1188 * vc/vc-sccs.el (vc-sccs-create-tag):
1189 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1190
802a2ae2
ML
11912012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1192
1193 * eshell/esh-util.el (eshell-read-hosts-file):
1194 Skip comment lines. (Bug#10549)
1195
d7128bb1
ML
1196 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1197
d1a5c3b4
JB
11982012-01-23 Juanma Barranquero <lekktu@gmail.com>
1199
2724d9c7
JB
1200 * subr.el (display-delayed-warnings): Doc fix.
1201 (collapse-delayed-warnings): New function to collapse identical
1202 adjacent warnings.
1203 (delayed-warnings-hook): Add it.
d1a5c3b4 1204
a5509865
MA
12052012-01-22 Michael Albinus <michael.albinus@gmx.de>
1206
1207 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1208
1209 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1210 properties, when "login-as" is set.
1211
1212 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1213 (tramp-default-user-alist): Don't add "pscp".
1214 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1215 property "login-as", if set. (Bug#10530)
1216
cc6d5805
MA
12172012-01-21 Michael Albinus <michael.albinus@gmx.de>
1218
1219 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1220 "plink1" and "psftp". (Bug#10530)
1221
12222012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1223
1224 * international/mule-cmds.el (prefer-coding-system): Show a
1225 warning message if the default value of file-name-coding-system
1226 was not changed.
1227
f0960428
JC
12282012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1229
cb882333
JB
1230 * windmove.el (windmove-reference-loc):
1231 Fix windmove-reference-loc miscalculation.
f0960428 1232
dd6f2a63
JB
12332012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1234
1235 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1236 default unit.
1237
7b447e9b
GM
12382012-01-21 Glenn Morris <rgm@gnu.org>
1239
117a9ea1
GM
1240 * international/mule.el (auto-coding-alist): Add .tbz.
1241
7b447e9b
GM
1242 * files.el (local-enable-local-variables): Doc fix.
1243 (inhibit-local-variables-regexps): Rename from
1244 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1245 Doc fix. Add some extensions from auto-coding-alist.
1246 (inhibit-local-variables-suffixes):
1247 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1248 (inhibit-local-variables-p):
1249 New function, extracted from set-auto-mode-1.
1250 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1251 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1252 (hack-local-variables): Doc fix. Make the mode-only case
1253 respect enable-local-variables and friends.
1254 Respect inhibit-local-variables-regexps for file-locals, but
1255 not for directory-locals.
1256 (set-visited-file-name):
1257 Take account of inhibit-local-variables-regexps.
1258 Whether it applies may change as the file name is changed.
1259 * jka-cmpr-hook.el (jka-compr-install):
1260 * jka-compr.el (jka-compr-uninstall):
1261 Update for inhibit-first-line-modes-suffixes name change.
1262
dd6e3cdd
MR
12632012-01-20 Martin Rudalics <rudalics@gmx.at>
1264
1265 * help-macro.el (make-help-screen): Temporarily restore original
1266 binding for minor-mode-map-alist (Bug#10454).
1267
0d0deb38
JD
12682012-01-19 Julien Danjou <julien@danjou.info>
1269
1270 * color.el (color-name-to-rgb): Use the white color to find the max
1271 color component value and return correctly computed values.
1272 (color-name-to-rgb): Add missing float conversion for max value.
1273
34a02f46
MR
12742012-01-19 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1277 special state value for window-persistent-parameters.
1278 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1279 (window--state-put-2): Reset all window parameters to nil before
1280 assigning values of persistent parameters.
1281
606c44c4
AM
12822012-01-18 Alan Mackenzie <acm@muc.de>
1283
1284 Eliminate sluggishness and hangs in fontification of "semicolon
1285 deserts".
1286
cb882333
JB
1287 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1288 Change value 10000 -> 3000.
606c44c4
AM
1289 (c-state-safe-place): Reformulate so it doesn't stack up an
1290 infinite number of wrong entries in c-state-nonlit-pos-cache.
1291 (c-determine-limit-get-base, c-determine-limit): New functions to
1292 determine backward search limits disregarding literals.
1293 (c-find-decl-spots): Amend commenting.
1294 (c-cheap-inside-bracelist-p): New function which detects "={".
1295
1296 * progmodes/cc-fonts.el
1297 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1298 backward search.
1299 (c-font-lock-declarations): Fix an occurrence of point being
1300 undefined. Check additionally for point being in a bracelist or
1301 near a macro invocation without a semicolon so as to avoid a
1302 fruitless time consuming search for a declarator. Give a more
1303 precise search limit for declarators using the new
1304 c-determine-limit.
1305
f3860cea
GM
13062012-01-18 Glenn Morris <rgm@gnu.org>
1307
1308 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1309 (set-auto-mode): Doc fixes.
1310
1db03b16
GM
13112012-01-17 Glenn Morris <rgm@gnu.org>
1312
0e6038be
GM
1313 * isearch.el (search-nonincremental-instead): Fix doc typo.
1314
1db03b16
GM
1315 * dired.el (dired-insert-directory): Handle newlines in directory name.
1316 (dired-build-subdir-alist): Unescape newlines in directory name.
1317
4cb0aa75
MA
13182012-01-17 Michael Albinus <michael.albinus@gmx.de>
1319
1320 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1321 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1322 (tramp-action-terminal): Use it. (Bug#10530)
1323
1d00653d
SM
13242012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1327
6a6ee00d
MR
13282012-01-16 Martin Rudalics <rudalics@gmx.at>
1329
1330 * window.el (window-state-ignored-parameters): Remove variable.
1331 (window--state-get-1): Rename argument MARKERS to IGNORE.
1332 Handle persistent window parameters. Make copy of clone-of
1333 parameter only if requested. (Bug#10348)
1334 (window--state-put-2): Install a window parameter only if it has
1335 a non-nil value or an existing parameter shall be overwritten.
1336
97912def
MA
13372012-01-15 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1340
688070a5
EZ
13412012-01-14 Eli Zaretskii <eliz@gnu.org>
1342
1343 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1344 don't pass the (nil) value of `upnode' to string-match.
1345
301afadc
CY
13462012-01-14 Chong Yidong <cyd@gnu.org>
1347
1348 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1349 Fix values recognized by the cursorBlink resource.
301afadc 1350
9e5788aa
PE
13512012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1352
1353 * epg.el (epg--make-temp-file): Avoid permission race condition
1354 when running on old Emacs versions (bug#10403).
1355
3cdb7f5a
GM
13562012-01-14 Glenn Morris <rgm@gnu.org>
1357
1358 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1359
8c82b1b4
AM
13602012-01-13 Alan Mackenzie <acm@muc.de>
1361
1362 Fix filling for when filladapt mode is enabled.
1363
1364 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1365 c-mask-paragraph, pass in `fill-paragraph' rather than
1366 `fill-region-as-paragraph'. (This is a reversion of a previous
1367 change.)
eb864a71
LM
1368 * progmodes/cc-mode.el (c-basic-common-init):
1369 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1370
e517eda4
GM
13712012-01-13 Glenn Morris <rgm@gnu.org>
1372
1498536e
GM
1373 * dired.el (dired-switches-escape-p): New function.
1374 (dired-insert-directory): Use dired-switches-escape-p.
1375 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1376
e517eda4
GM
1377 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1378
328f984d
GM
13792012-01-12 Glenn Morris <rgm@gnu.org>
1380
1381 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1382 changes in adaptive-fill-regexp. (Bug#10276)
1383
2cc769a8
AM
13842012-01-11 Alan Mackenzie <acm@muc.de>
1385
1386 Fix Emacs bug #10463 - put `widen's around the critical spots.
1387
1d00653d 1388 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1389 widen around each invocation of c-state-pp-to-literal. Remove an
1390 unused let variable.
1391
e52c37fa
GM
13922012-01-11 Glenn Morris <rgm@gnu.org>
1393
1394 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1395 Doc fix.
e52c37fa 1396
96f8741e
CY
13972012-01-10 Chong Yidong <cyd@gnu.org>
1398
1d00653d
SM
1399 * net/network-stream.el (network-stream-open-starttls):
1400 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1401 response to the capability command.
1402
b09a806e
GM
14032012-01-10 Glenn Morris <rgm@gnu.org>
1404
1405 * mail/unrmail.el (unrmail): Tweak previous change.
1406
7655cb66
CY
14072012-01-09 Chong Yidong <cyd@gnu.org>
1408
1409 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1410
9d5a8f0b
AM
14112012-01-08 Alan Mackenzie <acm@muc.de>
1412
1413 Optimise font locking in long enum definitions.
1414
1415 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1416 arm to a cond form to handle enums.
1417 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1418 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1419
9a0115ab 14202012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1421
1422 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1423 (Bug#10401)
6bb72cbd 1424
f186bb95
LMI
14252012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1426
29232a68
LMI
1427 * faces.el (set-face-attribute): Clarify the meaning of the nil
1428 frame (bug#10294).
1429
4e5d086d
LMI
1430 * subr.el (with-selected-frame): Mention that the selected frame
1431 is restored (bug#9980).
1432
8e66aebe
LMI
1433 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1434 (bug#9759).
1435
cd394be1 1436 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1437 (password-read): Don't autoload unused function.
1438
adf4e762
JB
14392012-01-07 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * progmodes/which-func.el (which-func-mode): Turn into a
1442 non-interactive function and mark as obsolete (bug#10428).
1443
89bd9ccd
CY
14442012-01-06 Chong Yidong <cyd@gnu.org>
1445
1446 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1447 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1448 functions, along with 1 and -1.
1449
4afee9d5
EZ
14502012-01-06 Eli Zaretskii <eliz@gnu.org>
1451
1452 * time.el (display-time-load-average)
1453 (display-time-default-load-average): Doc fixes. See the thread
1454 starting at
1455 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1456 for the details.
1457
536aea70
GM
14582012-01-06 Glenn Morris <rgm@gnu.org>
1459
665ae865
GM
1460 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1461 has no messages. (Bug#10377)
1462
c869783d
GM
1463 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1464 than Info-edit. (Bug#10385)
1465
2bb4227e
GM
1466 * time.el (display-time-load-average, display-time-next-load-average):
1467 Doc fixes.
1468
7d5944b9
GM
1469 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1470 local setting of buffer-read-only to the input buffer. (Bug#10419)
1471
536aea70
GM
1472 * calendar/calendar.el (calendar-mode):
1473 Locally set scroll-margin to 0. (Bug#10379)
1474
7dccca16
UM
14752012-01-06 Ulrich Mueller <ulm@gentoo.org>
1476
1477 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1478
afbb7930
GM
14792012-01-05 Glenn Morris <rgm@gnu.org>
1480
1481 * eshell/em-unix.el (diff-no-select): Autoload it.
1482 (eshell/diff): Use diff-no-select. (Bug#10420)
1483
04482335
CY
14842012-01-05 Chong Yidong <cyd@gnu.org>
1485
7baca3bc
CY
1486 * shell.el (shell-dynamic-complete-functions): Revert last change.
1487 (shell-command-completion-function): New function.
1488 (shell-completion-vars): Use it to implement
1489 shell-completion-execonly (Bug#10417).
1490
04482335
CY
1491 * custom.el (enable-theme): Don't set custom-safe-themes.
1492
1d00653d
SM
1493 * cus-theme.el (custom-theme-merge-theme):
1494 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1495
bb5aa5d6
MM
14962012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1497
1498 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1499 first prompt in `sql-interacive-mode'.
1500 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1501 keywords.
6df6ae42 1502 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1503 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1504 context of original buffer. Invoke `sql-login-hook'.
1505
a7183d7c
EZ
15062012-01-04 Eli Zaretskii <eliz@gnu.org>
1507
1508 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1509 letters in cite-prefix.
1510
a1eacd1e
LMI
15112012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1512
1513 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1514
787cdb34
CY
15152012-01-03 Chong Yidong <cyd@gnu.org>
1516
1d00653d
SM
1517 * shell.el (shell-dynamic-complete-functions):
1518 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1519 comint-filename-completion first (Bug#10417).
1520
30710442
RS
15212012-01-02 Richard Stallman <rms@gnu.org>
1522
1523 * battery.el (battery-status-function):
1524 Detect when to use battery-yeeloong-sysfs.
1525 (battery-echo-area-format): Add string for Yeeloong.
1526 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1527 (battery-yeeloong-sysfs): New function.
1528
f75bfc33
CY
15292012-01-02 Chong Yidong <cyd@gnu.org>
1530
1531 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1532 (dirtrack): Merge code for handling relative filenames in prompt
1533 from shell-dir-cookie-watcher.
1534 (dirtrack-debug-message): New arg to avoid excess format calls.
1535
1536 * shell.el (shell-dir-cookie-re): Variable deleted.
1537 (shell-dir-cookie-watcher): Function deleted.
1538 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1539 with dirtrack-mode.
1540
651e947e
EZ
15412012-01-01 Eli Zaretskii <eliz@gnu.org>
1542
1d00653d
SM
1543 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1544 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1545 libgnutls-26.dll.
1546
94d4c7dc
AS
15472011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1548
1549 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1550
8d43f3cd
EZ
15512011-12-31 Eli Zaretskii <eliz@gnu.org>
1552
1553 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1554 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1555
98c8795a
MA
15562011-12-29 Michael Albinus <michael.albinus@gmx.de>
1557
1558 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1559 also for alternative shells.
1560 (tramp-open-connection-setup-interactive-shell): Check, whether
1561 the shell is a busybox.
1562 (tramp-send-command): Don't suppress multiple prompts for
1563 busyboxes, it hurts.
1564
51281b32
CY
15652011-12-28 Chong Yidong <cyd@gnu.org>
1566
1567 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1568 (gdb-get-source-file): Move mode line update to
1569 gdb-get-source-file (Bug#10087).
1570
2170cb53
CY
15712011-12-25 Chong Yidong <cyd@gnu.org>
1572
1573 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1574 gud-gdb-marker-filter without taking it as an argument.
1575 (gud-gdb-run-command-fetch-lines): Caller changed.
1576 (gud-gdb-completion-function): New variable.
1577 (gud-gdb-completion-at-point): Use it.
1578 (gud-gdb-completions-1): Split from gud-gdb-completions.
1579
1580 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1581 function as separate arguments.
1582 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1583 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1584 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1585 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1586 (gdb-stopped, def-gdb-auto-update-trigger)
1587 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1588 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1589 Callers changed.
2170cb53
CY
1590 (gud-gdbmi-completions): New function.
1591 (gdb): Use it for generating the completion table.
1592
be8b11bb
AM
15932011-12-24 Alan Mackenzie <acm@muc.de>
1594
1595 Introduce a mechanism to widen the region used in context font
1d00653d 1596 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1597
1d00653d
SM
1598 * progmodes/cc-langs.el (c-before-font-lock-functions):
1599 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1600 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1601 functions to be run just before context (etc.) font locking.
1602
1603 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1604 New, functionality extracted from
be8b11bb 1605 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1606 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1607 (c-after-change): Set c-in-after-change-fontification.
1608 (c-set-fl-decl-start): Rejig its interface, so it can be called
1609 from both after-change and context fontifying.
b81d40f0
JB
1610 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1611 New functions.
1612 (c-standard-font-lock-fontify-region-function): New variable.
1613 (c-font-lock-fontify-region): New function.
be8b11bb 1614
341cf6ac
JL
16152011-12-24 Juri Linkov <juri@jurta.org>
1616
1617 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1618 (Bug#10348)
1619
bffcee0a
MA
16202011-12-23 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1623 existence of source file. (Bug#10325)
1624
cb5e207c
AM
16252011-12-23 Alan Mackenzie <acm@muc.de>
1626
1627 Fix unstable fontification inside templates.
1628
b81d40f0
JB
1629 * progmodes/cc-langs.el (c-before-font-lock-functions):
1630 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1631 additionally has c-set-fl-decl-start. The other languages (apart
1632 from AWK) have that as a single entry.
1633
b81d40f0
JB
1634 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1635 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1636 c-set-fl-decl-start.
1637
b81d40f0
JB
1638 * progmodes/cc-mode.el (c-common-init, c-after-change):
1639 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1640 (c-set-fl-decl-start): New function, extracted from
1641 c-font-lock-enclosing-decls and enhanced.
1642
60ff536c
JB
16432011-12-23 Juanma Barranquero <lekktu@gmail.com>
1644
1645 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1646
1c4757d6
JL
16472011-12-22 Juri Linkov <juri@jurta.org>
1648
1649 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1650
d031f2c7
CY
16512011-12-22 Chong Yidong <cyd@gnu.org>
1652
1653 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1654
bace743a
DA
16552011-12-21 Drew Adams <drew.adams@oracle.com>
1656
1657 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1658
728a1f2b
JC
16592011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1660
1661 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1662
0d373f73
TZ
16632011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1664
fec0aaa4
TZ
1665 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1666 highlighting and support. Fix up comments for capitalization.
1667 (cfengine-mode-debug): New var.
1668 (cfengine3-mode): Change the modeline indicator to "CFE3".
1669 (cfengine3-font-lock-keywords): Improve defun highlighting.
1670 (cfengine2-actions): Rename from `cfengine-actions'.
1671 (cfengine2-font-lock-keywords): Rename from
1672 `cfengine-font-lock-keywords'.
1673 (cfengine2-imenu-expression): Rename from
1674 `cfengine-imenu-expression'.
1675 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1676 (cfengine2-beginning-of-defun): Rename from
1677 `cfengine-beginning-of-defun'.
1678 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1679 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1680 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1681 modeline indicator to "CFE2".
1682 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1683 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1684
bc86f573
CY
16852011-12-21 Chong Yidong <cyd@gnu.org>
1686
1687 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1688 filename argument.
1689
d45ba96b
MR
16902011-12-20 Martin Rudalics <rudalics@gmx.at>
1691
1692 * window.el (window-normalize-buffer-to-display): Remove.
1693 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1694
a6198c90
CY
16952011-12-19 Chong Yidong <cyd@gnu.org>
1696
1697 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1698 Don't signal an error in a predicate function; return non-nil.
1699 (vc-dir-mark-file): Move the error here.
1700 (vc-dir-mark-unmark): If acting on the region, keep going if one
1701 of the entries cannot be marked/unmarked.
1702 (vc-dir-mark-all-files): If current entry is a directory, mark
1703 only child files, as documented.
1704
34c5fb55
VB
17052011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1706
1707 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1708 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1709 addition.
1710
c803b2b7
JD
17112011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1712
1713 * term/ns-win.el (ns-get-selection-internal)
1714 (ns-store-selection-internal): Declare.
1154d12e
JB
1715 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1716 Declare as obsolete.
1717 (ns-get-pasteboard, ns-paste-secondary):
1718 Use ns-get-selection-internal.
1719 (ns-set-pasteboard, ns-copy-including-secondary):
1720 Use ns-store-selection-internal.
c803b2b7 1721
9cff91f8 17222011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1723
1724 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1725 (vc-deduce-fileset): Doc fix.
99a289d9 1726
f16c898a
AS
17272011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1728
1729 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1730
763237c4
SS
17312011-12-13 Sam Steingold <sds@gnu.org>
1732
1733 * man.el (Man-getpage-in-background): When running under a
1734 window-system, ignore $MANWIDTH and $COLUMNS.
1735
5fc1c122
KH
17362011-12-15 Kenichi Handa <handa@m17n.org>
1737
1738 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1739 (setup-ethiopic-environment-internal): Comment out key-binding for
1740 ethio-toggle-punctuation.
1741
13d49cbb
AM
17422011-12-13 Alan Mackenzie <acm@muc.de>
1743
898169a2
AM
1744 Add the switch statement to AWK Mode.
1745
7a71b18d 1746 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1747 "default" to the keywords regexp.
1748
7a71b18d 1749 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1750 expression as the rest.
1d00653d
SM
1751 (c-nonlabel-token-key): Allow string literals for AWK.
1752 Refactor for the other modes.
898169a2 1753
13d49cbb 1754 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1755 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1756 routines. Limit backward searching in c-font-lock-enclosing.decl.
1757
1758 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1759 pp-state and literal type in addition to the limits.
1d00653d 1760 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1761 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1762 (c-slow-in-literal, c-fast-in-literal): Remove.
1763 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1764
1765 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1766 being in a literal. Add a limit for backward searching.
1767
1768 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1769 c-slow-in-literal.
1770
15e0efc7
SM
17712011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1774
454592a6
MR
17752011-12-13 Martin Rudalics <rudalics@gmx.at>
1776
1777 * window.el (delete-other-windows): Use correct frame in call to
1778 window-with-parameter.
1779
87393f26
DP
17802011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1781
1782 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1783 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1784 (makefile-gmake-statements, makefile-makepp-statements):
1785 Use it and add new makepp keywords.
1786 (makefile-makepp-font-lock-keywords): Add new patterns.
1787 (makefile-match-function-end): Match new [...] and [[...]].
1788
11636b22
JB
17892011-12-11 Juanma Barranquero <lekktu@gmail.com>
1790
1791 * ses.el (ses-call-printer-return, ses-cell-property-get)
1792 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1793 (ses-create-cell-variable, ses-reset-header-string)
1794 (ses-cell-set-formula, ses-repair-cell-reference-all)
1795 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1796 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1797 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1798 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1799 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1800 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1801 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1802 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1803 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1804 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1805 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1806 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1807
cf018193
VB
18082011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1809
1810 * ses.el: The overall change is to add cell renaming, that is
1811 setting fancy names for cell symbols other than name matching
1812 "\\`[A-Z]+[0-9]+\\'" regexp .
1813 (ses-create-cell-variable): New defun.
1814 (ses-relocate-formula): Relocate formulas only for cells the
1815 symbols of which are not renamed, i.e. symbols whose names do not
1816 match regexp "\\`[A-Z]+[0-9]+\\'".
1817 (ses-relocate-all): Relocate values only for cells the symbols of
1818 which are not renamed.
1819 (ses-load): Create cells variables as the (ses-cell ...) are read,
1820 in order to check row col consistency with cell symbol name only
1821 for cells that are not renamed.
1822 (ses-replace-name-in-formula): New defun.
1823 (ses-rename-cell): New defun.
1824
ee957461
CY
18252011-12-11 Chong Yidong <cyd@gnu.org>
1826
1827 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1828 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1829
9a9e9ef0
MR
18302011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1831
1832 * window.el (other-window): Fix docstring.
1833
92a8eba5
EZ
18342011-12-10 Eli Zaretskii <eliz@gnu.org>
1835
1836 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1837 `from' or `to' address before taking its substring.
1838 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1839 encoded name is chopped in the middle of the encoded string, and
1840 thus displayed encoded.
1841
e152e577
JB
18422011-12-10 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1845
e5d84bfe
EZ
18462011-12-10 Eli Zaretskii <eliz@gnu.org>
1847
1848 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1849 to use texinfo-update-node and commands that call it if the
1850 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1851 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1852 (texinfo-all-menus-update, texinfo-master-menu)
1853 (texinfo-update-node, texinfo-every-node-update)
1854 (texinfo-multiple-files-update): Doc fix. Warn against updating
1855 all the @node lines.
1856 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1857 argument is numeric. Explain better in the doc string what the
1858 function really does.
1859 (texinfo-insert-master-menu-list): Improve the error message
1860 displayed if there's no menu in the Top node.
1861 (Bug#2975) See also this thread:
e5d84bfe
EZ
1862 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1863
1d84e9bb
MG
18642011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1865
1866 * speedbar.el (speedbar-supported-extension-expressions):
1867 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1868
382c953b
JB
18692011-12-09 Juanma Barranquero <lekktu@gmail.com>
1870
1871 * printing.el (pr-mode-alist):
1872 * simple.el (filter-buffer-substring-functions)
1873 (completion-list-insert-choice-function):
1874 * window.el (window-with-parameter, window-atom-root)
1875 (window-sides-slots, window-size-fixed, window-min-delta)
1876 (window-max-delta, window--resize-mini-window)
1877 (window--resize-child-windows-normal, window-tree)
1878 (delete-other-windows, quit-window, split-window)
1879 (display-buffer-record-window, special-display-buffer-names)
1880 (special-display-regexps, special-display-popup-frame)
1881 (same-window-p, split-window-sensibly)
1882 (display-buffer-overriding-action, display-buffer-alist)
1883 (display-buffer-base-action, display-buffer, switch-to-buffer)
1884 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1885 (fit-window-to-buffer, recenter-positions)
1886 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1887 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1888 and remove unneeded backslashes in docstrings.
1889
39c9faef
SM
18902011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891
98449af8
SM
1892 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1893
39c9faef
SM
1894 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1895 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1896 end in ".mk".
1897 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1898 when reading the makefile (bug#10116).
1899
86ed9fdc
SM
19002011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1903 (bug#10116).
1904
5580f89d
GM
19052011-12-06 Glenn Morris <rgm@gnu.org>
1906
1907 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1908
28d3917c
CY
19092011-12-06 Chong Yidong <cyd@gnu.org>
1910
1911 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1912
a98edce9
JB
19132011-12-06 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * textmodes/table.el (table-shorten-cell): Fix typo.
1916
e65adfac
CG
19172011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1918
1919 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1920
71cc0b74
EZ
19212011-12-05 Eli Zaretskii <eliz@gnu.org>
1922
1923 * descr-text.el (describe-char): Fix display of strong
1924 right-to-left characters and directional embeddings and overrides.
1925
1926 * simple.el (what-cursor-position): Fix display of codepoints of
1927 strong right-to-left characters.
1928
315bc30d
CY
19292011-12-05 Chong Yidong <cyd@gnu.org>
1930
1931 * faces.el (read-color): Doc fix.
1932
58a70b94
GM
19332011-12-05 Glenn Morris <rgm@gnu.org>
1934
1935 * align.el (align--set-marker): Add doc-string.
1936 Don't try to move something that is not a marker. (Bug#10216)
1937
5158face
GM
19382011-12-04 Glenn Morris <rgm@gnu.org>
1939
1940 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1941 overly zealous deletion of trailing whitespace.
1942
520fca41
JB
19432011-12-04 Juanma Barranquero <lekktu@gmail.com>
1944
1945 * server.el (server-delete-client): On Windows, do not try to delete
1946 the only terminal.
1947 (server-process-filter): On Windows, treat requests for a tty frame as
1948 if they were for a GUI frame if the running server is in GUI mode.
1949
5e605a2e
GM
19502011-12-03 Glenn Morris <rgm@gnu.org>
1951
1952 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1953
5c3fe83f
SM
19542011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1955
6f5e57e7
SM
1956 * electric.el: Streamline electric-indent's hook.
1957 (electric-indent-chars): Revert to simple list.
1958 (electric-indent-functions): New var.
1959 (electric-indent-post-self-insert-function): Use it.
1960
5c3fe83f
SM
1961 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1962 there's no inferior buffer (bug#10196).
1963 (prolog-consult-compile): Don't use toggle-read-only.
1964
6bdac736
MA
19652011-12-02 Michael Albinus <michael.albinus@gmx.de>
1966
1967 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1968 interrupt. (Bug#10187)
1969
6131ba7f
SM
19702011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1971
99c79fee
SM
1972 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1973 (bug#9160).
1974
6131ba7f
SM
1975 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1976 (bug#10191).
1977
cb0a02ea
JL
19782011-12-02 Juri Linkov <juri@jurta.org>
1979
1980 * info.el (Info-search): Display "end of manual" when Isearch
1981 reaches the end of single-file Info manual. (Bug#9918)
1982
66e0570c
EZ
19832011-12-02 Eli Zaretskii <eliz@gnu.org>
1984
1985 * isearch.el (isearch-message-prefix): Run the input method part
1986 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1987
02b16839
JL
19882011-12-02 Juri Linkov <juri@jurta.org>
1989
1990 * isearch.el (isearch-occur): Use `word-search-regexp' for
1991 `isearch-word'.
1992 (isearch-search-and-update): Add condition for `isearch-word' and
1993 call `word-search-regexp'. (Bug#10145)
1994
0b950688
GM
19952011-12-01 Glenn Morris <rgm@gnu.org>
1996
1997 * eshell/em-hist.el (eshell-hist-initialize):
1998 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1999 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2000
9505c3c7
SM
20012011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2004
1bbe96b2 20052011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2006
a1beca85
SM
2007 * progmodes/verilog-mode.el (verilog-pretty-expr):
2008 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2009 verilog, such as += *= and the like.
2010 (verilog-assignment-operator-re): Regular expression to find the
2011 assigment operator in a verilog assignment.
2012 (verilog-assignment-operation-re): Regular expression to find an
2013 assignment statement for pretty-expr.
2014 (verilog-in-attribute-p): Query returns true if point is in an
2015 attribute context; used to skip these for expression line up from
2016 pretty-expr.
2017 (verilog-in-parameter-p): Query returns true if point is in an
2018 parameter definition context; used to skip these for expression
2019 line up from pretty-expr.
2020 (verilog-in-parenthesis-p): Query returns true if point is in a
2021 parenthetical expression, specifically ( ) but not [ ] or { };
2022 used by pretty-expr.
2023 (verilog-just-one-space): If there is no space, don't add one.
2024 (verilog-get-lineup-indent-2): Specifically skip just attribute
2025 contexts for expression lineup, rather than skipping all
2026 parenthetical expressions.
2027 (verilog-calculate-indent): Fix comment, and fix indent.
2028 (verilog-do-indent): Indent declarations in lists (suggested by
2029 Joachim Lechner).
2030 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2031 skeleton items.
2032 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2033 by Alain Mellan).
2034
1bbe96b2 20352011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2036
2037 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2038 parameters with embedded comments. Reported by Ray Stevens.
2039 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2040 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2041 Reported by Tim Holt.
2042 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2043 instantiated by upper module causing wrong expansion until AUTOed a
2044 second time. Reported by K C Buckenmaier.
2045 (verilog-diff-auto): Fix showing .* as a difference when
2046 `verilog-auto-star-save' off. Reported by Dan Dever.
2047 (verilog-auto-reset, verilog-read-always-signals)
2048 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2049 temporary signals in reset list if
2050 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2051 style to each signal's assignment type, bug381.
2052 Reported by Thomas Esposito.
6288f0ca
WS
2053 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2054 (verilog-uvm-statement-re): Support UVM indentation and
2055 highlighting, with old OVM keywords only.
a1beca85 2056 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2057 Support AUTOTIEOFF creating non-wire data types.
2058 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2059 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2060 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2061 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2062 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2063 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2064 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2065 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2066 non-numeric vector width. Reported by Alex Reed.
2067 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2068 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2069 (verilog-auto-delete-trailing-whitespace):
2070 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2071 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2072 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2073 Fix verilog-scan-cache corruption when running user AUTO expansion
2074 hooks that call indentation routines.
2075 (verilog-simplify-range-expression): Fix typo ignoring lower case
2076 identifiers.
2077 (verilog-delete-auto): Fix delete-autos to also remove user created
2078 automatics, as long as they start with AUTO.
2079 (verilog-batch-diff-auto, verilog-diff-auto)
2080 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2081 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2082 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2083 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2084 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2085 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2086 is disabled and its cache will get corrupt, causing AUTOS not to
2087 expand. Instead use only -quick functions.
2088 (verilog-scan-region): Fix scanning over escaped quotes.
2089 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2090 (verilog-re-search-backward-quick)
2091 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2092 related functions now ignore strings, to fix misparsing of strings
2093 with magic comments embedded in them.
a1beca85
SM
2094 (verilog-read-auto-template):
2095 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2096 Reported by Brad Dobbie.
2097 (verilog-read-auto-template):
2098 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2099 Reported by Brad Dobbie.
6288f0ca
WS
2100 (verilog-auto-inst, verilog-auto-inst-param)
2101 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2102 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2103 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2104 debugging templates without merge conflicts, bug357.
2105 Reported by Brad Dobbie.
2106 (verilog-read-auto-template):
2107 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2108 Reported by Brad Dobbie.
2109 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2110 abbrevs so user won't be asked to save.
2111 (verilog-read-auto-lisp-present): Fix to start at beginning of
2112 buffer in case called outside of verilog-auto.
2113 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2114 to "X-2". Reported by Matthew Myers.
2115 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2116 all inputs from module templates. Reported by Leith Johnson.
2117 (verilog-module-inside-filename-p): Fix locating programs as with
2118 modules.
2119 (verilog-auto-inst-port): Fix vl-width expressions when using
2120 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2121 (verilog-decls-get-regs, verilog-decls-get-signals,
2122 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2123 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2124 verilog-read-decls): Combine reg and wire structures into one var
2125 structure to represent SystemVerilog concepts.
2126 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2127 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2128 (verilog-auto-wire-type, verilog-insert-definition):
2129 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2130 SystemVerilog "logic" keyword instead of "wire"/"reg".
2131 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2132 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2133 ifdef or generate if so there's not a driver conflict).
2134 Reported by Matthew Myers.
2135 (verilog-auto-declare-nettype, verilog-insert-definition):
2136 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2137 `default_nettype none. Reported by Julian Gorfajn.
2138 (verilog-read-always-signals-recurse, verilog-read-decls)
2139 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2140 malformed end statement, bug325. Reported by Joshua Wise and
2141 Andrew Drake.
2142 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2143 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2144 when expanding .* in interfaces, bug320.
2145 Reported by Pierre-David Pfister.
6288f0ca 2146 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2147 name and open parenthesis, bug317.
2148 Reported by Pierre-David Pfister.
6288f0ca
WS
2149 (verilog-simplify-range-expression): Fix simplification of
2150 multiplications inside AUTOWIRE connections, bug303.
2151 (verilog-auto-inst-port): Support parameter expansion in
2152 multidimensional arrays.
2153 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2154 after "assert property". Reported by Julian Gorfajn.
2155 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2156 with multiplication, bug303.
2157 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2158 Reported by Jan Frode Lonnum.
2159
1bbe96b2
GM
21602011-11-30 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2163 (hfy-shell-file-name, hfy-shell):
2164 * international/fontset.el (x-decompose-font-name): Fix typos.
2165
21662011-11-29 Ken Brown <kbrown@cornell.edu>
2167
2168 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2169 (gdb-version): Remove defvar.
2170 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2171 (gdb-gud-context-command, gdb-non-stop-handler)
2172 (gdb-current-context-command, gdb-stopped): Use it.
2173 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2174 (gdb-non-stop-handler): Don't enable pretty-printing here.
2175 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2176 non-stop mode. Use the following.
2177 (gdb-check-target-async): New defun.
2178 (gud-watch, gdb-stopped): Fix whitespace.
2179 (gdb-get-source-file): Don't try to display the source file if
2180 `gdb-main-file' is nil.
2181
21822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * align.el: Try to generate fewer markers (bug#10047).
2185 (align--set-marker): New macro.
2186 (align-region): Use it.
2187
c935221f
SM
21882011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2191
e70b5064
CY
21922011-11-29 Chong Yidong <cyd@gnu.org>
2193
2194 * indent.el (indent-for-tab-command, indent-according-to-mode):
2195 Doc fix.
2196 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2197
f3af92b7
MA
21982011-11-29 Michael Albinus <michael.albinus@gmx.de>
2199
2200 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2201 aware of remote file names. (Bug#10124)
2202
ed472be9
CY
22032011-11-29 Chong Yidong <cyd@gnu.org>
2204
2205 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2206
24510c22
SM
22072011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * files.el (find-file): Don't use force-same-window (bug#10144).
2210 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2211 use pop-to-buffer if the selected window can't be used.
2212 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2213
c60c3703
EZ
22142011-11-28 Eli Zaretskii <eliz@gnu.org>
2215
2216 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2217 special-mode-map.
2218
e95def75
CY
22192011-11-28 Chong Yidong <cyd@gnu.org>
2220
2221 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2222
c3f1c606
NR
22232011-11-27 Nick Roberts <nickrob@snap.net.nz>
2224
2225 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2226 gdb-get-source-file-list on gdb-create-source-file-list.
2227
00db469c
EZ
22282011-11-26 Eli Zaretskii <eliz@gnu.org>
2229
2230 * whitespace.el (whitespace-newline): Use a different foreground
2231 color for 16-color light-background displays.
2232
4ad3bc2a
CY
22332011-11-24 Chong Yidong <cyd@gnu.org>
2234
2235 * window.el (display-buffer--special-action): Doc fix.
2236
e9fce1ac
JB
22372011-11-25 Juanma Barranquero <lekktu@gmail.com>
2238
2239 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2240 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2241 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2242 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2243 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2244 (avl-tree-stack-first):
2245 * emacs-lisp/cconv.el (cconv--analyse-use):
2246 * net/gnutls.el (gnutls-negotiate): Fix typos.
2247
cb825e5d
GM
22482011-11-24 Glenn Morris <rgm@gnu.org>
2249
3adbe224
GM
2250 * lpr.el (lpr-windows-system, lpr-lp-system):
2251 * mail/binhex.el (binhex-begin-line):
2252 * progmodes/grep.el (grep-history, grep-find-history):
2253 * textmodes/flyspell.el:
2254 * vc/pcvs-defs.el (cvs-global-menu):
2255 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2256 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2257 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2258
321decc8
GM
2259 * net/tls.el: Fix case of "GnuTLS".
2260
420b63ad
GM
2261 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2262
cb825e5d
GM
2263 * version.el (emacs-build-system): Give it a doc-string.
2264
a0649f08
JL
22652011-11-24 Juri Linkov <juri@jurta.org>
2266
2267 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2268
c0bc0fd4
GM
22692011-11-24 Glenn Morris <rgm@gnu.org>
2270
2271 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2272 if called on a non-mime message just toggle the headers. (Bug#8006)
2273
20db1522
JB
22742011-11-24 Juanma Barranquero <lekktu@gmail.com>
2275
2276 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2277 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2278 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2279 (allout-rebullet-heading, allout-open-sibtopic)
2280 (allout-toggle-current-subtree-encryption)
2281 (allout-toggle-subtree-encryption, allout-encrypt-string)
2282 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2283 (allout-distinctive-bullets-string, allout-auto-activation):
2284 * window.el (window-normalize-buffer-to-display):
2285 * progmodes/verilog-mode.el (verilog-batch-indent):
2286 * textmodes/bibtex.el (bibtex-field-braces-opt)
2287 (bibtex-field-strings-opt):
2288 * vc/cvs-status.el (cvs-tree-merge):
2289 Fix typos.
2290
7262a87c
MA
22912011-11-23 Michael Albinus <michael.albinus@gmx.de>
2292
2293 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2294 `non-essential' to t, in order to avoid remote connections.
2295
283430a1
EZ
22962011-11-23 Eli Zaretskii <eliz@gnu.org>
2297
a1beca85
SM
2298 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2299 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2300 case-insensitively.
2301
d2992a38
ML
23022011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2303
2304 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2305
50419064
GM
23062011-11-23 Glenn Morris <rgm@gnu.org>
2307
da94eca1
GM
2308 * paths.el (rmail-file-name): Reformat the doc-string so that it
2309 is picked up.
2310
9aac4de2
GM
2311 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2312 (rmail-auto-file): Ignore case in the "special" field names,
2313 as mail-fetch-field does for all others.
2314
8038d2d2
GM
2315 * mail/rmail.el (rmail-forward):
2316 * mail/rmailkwd.el (rmail-set-label):
2317 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2318 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2319
f3fe222a
GM
2320 * mail/rmail.el (rmail-current-message): Doc fix.
2321
50419064
GM
2322 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2323
28109f49
SM
23242011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2327
394c65f1
GM
23282011-11-22 Glenn Morris <rgm@gnu.org>
2329
2330 * mail/rmailmm.el (test-rmail-mime-handler)
2331 (test-rmail-mime-bulk-handler)
2332 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2333
f2a0aa3a
JL
23342011-11-21 Juri Linkov <juri@jurta.org>
2335
1154d12e
JB
2336 * calc/calc.el (calc-read-key-sequence):
2337 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2338
9c34a344
LMI
23392011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2340
2341 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2342 Tell the caller that the next line needs recomputation, even
2343 though it doesn't start a sexp (bug#10094).
2344
f04a3be9
SM
23452011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2348
7978747f
SM
23492011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2350
f04a3be9
SM
2351 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2352 Use force-same-window.
7978747f 2353
fe7a3057
JB
23542011-11-20 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * descr-text.el (describe-char-unicode-data):
2357 * json.el (json-string-escape):
2358 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2359 (Footnote-unicode, Footnote-style-p):
2360 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2361
24901d61
CY
23622011-11-20 Chong Yidong <cyd@gnu.org>
2363
2364 * window.el (replace-buffer-in-windows): Restore interactive spec.
2365
bac7ff22
SM
23662011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2367
24f3d7b9
SM
2368 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2369
bac7ff22
SM
2370 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2371 (byte-compile-global-not-obsolete-vars): New var.
2372 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2373 Use it.
2374 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2375
cd1181db
JB
23762011-11-20 Juanma Barranquero <lekktu@gmail.com>
2377
2378 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2379 * progmodes/pascal.el (electric-pascal-equal):
2380 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2381 * xml.el (xml-substitute-special): Fix typos.
2382
7fb18e9e
GM
23832011-11-20 Glenn Morris <rgm@gnu.org>
2384
2385 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2386 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2387 Doc fixes.
2388 (rmail-decode-mime-charset): Mark as obsolete.
2389
2390 * mail/rmailsum.el (rmail-message-regexp-p-1):
2391 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2392 Before using mime functions, check they are set. (Bug#10077)
2393
d5a6b3ba
JL
23942011-11-19 Juri Linkov <juri@jurta.org>
2395
2396 * info.el (Info-finder-find-node): Use `package--builtins' instead
2397 of `package-alist'. Use node names formed by the pattern "Keyword "
2398 and the keyword name.
2399
e981b61f
AS
24002011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2401
1d00653d 2402 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2403
3ffbc301
JL
24042011-11-19 Juri Linkov <juri@jurta.org>
2405
2406 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2407 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2408 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2409 `old-history', `old-history-forward'. Add let-binding
2410 `window-selected'. Remove calls to `kill-buffer',
2411 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2412 before calling `Info-find-node', so `Info-find-node-2' will reread
2413 the Info file. Restore window positions only when `window-selected'
2414 is non-nil.
2415
30c62133
JL
24162011-11-19 Juri Linkov <juri@jurta.org>
2417
2418 * isearch.el (isearch-lazy-highlight-new-loop):
2419 Remove condition `(not isearch-error)'. (Bug#9918)
2420
2421 * misearch.el (multi-isearch-search-fun): Add condition
2422 `(not bound)' to ignore lazy-highlighting search.
2423 Add the search-failed message "end of multi" when the end of
2424 multi-sequence is reached. Uncapitalize the search-failed
2425 message "Repeat for next buffer".
2426
2427 * info.el (Info-search): Add the search-failed message
2428 "end of the manual" when the end of the manual is reached
2429 in Isearch mode.
2430
645ca9cf
JL
24312011-11-19 Juri Linkov <juri@jurta.org>
2432
2433 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2434 Use non-destructive `remove' instead of `delete' because
2435 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2436 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2437
df754f66
JL
24382011-11-19 Juri Linkov <juri@jurta.org>
2439
2440 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2441 to nil instead of binding `search-ring' and `regexp-search-ring'.
2442 (Bug#9185)
2443
0e23d96a
EZ
24442011-11-19 Eli Zaretskii <eliz@gnu.org>
2445
2446 * simple.el (line-move): Force movement by logical lines for any
2447 hscrolled window, not only when auto-hscroll-mode is on.
2448 (line-move-visual): Update doc string to that effect. (Bug#10076)
2449
8a6ccb66
AS
24502011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2451
2452 * language/european.el (macintosh): Define as alias for mac-roman.
2453
49ae5b39
EZ
24542011-11-19 Eli Zaretskii <eliz@gnu.org>
2455
2456 * mail/rmailmm.el (rmail-mime-display-header)
2457 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2458 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2459 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2460 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2461 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2462 of a raw aref.
2463 (rmail-mime-entity-segment): To get past the tagline, move forward
2464 2 more lines, to account for the 2 empty lines that precede and
2465 follow the line with the buttons.
2466 (rmail-mime-update-tagline): Move one more line, to get past the
2467 empty line that follows the buttons in the tagline. (Bug#9520)
2468
c56cad4a
MR
24692011-11-19 Martin Rudalics <rudalics@gmx.at>
2470
2471 * window.el (window-max-delta-1, window-min-delta-1)
2472 (window-min-size-1, window-state-get-1, window-state-put-1)
2473 (window-state-put-2): Use "window--" prefix.
2474
cbe71af3
SM
24752011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2ad52c60
SM
2477 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2478 (smie-warning-count): New var.
2479 (smie-set-prec2tab): Use it.
2480 (smie-bnf->prec2): Improve warnings. Add docstring.
2481 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2482 (smie-bnf--set-class): New function.
2483 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2484 corner case.
2485
6944dbc1
SM
2486 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2487 (compilation-error-properties, compilation-move-to-column):
2488 Handle compilation-first-column while in the target buffer.
2489
c400c4d7
SM
2490 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2491 Don't hardcode point-min==1.
2492
6dbe3e96
SM
2493 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2494 (eshell-rewrite-for-command): Remove workaround.
2495 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2496 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2497 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2498
cbe71af3
SM
2499 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2500
a8e1496d
GM
25012011-11-17 Glenn Morris <rgm@gnu.org>
2502
2503 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2504 Ignore buffer-local generated-autoload-file if it is the same
2505 as the global value. (Bug#10049)
2506
df85d315
JB
25072011-11-17 Juanma Barranquero <lekktu@gmail.com>
2508
2509 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2510 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2511 (reftex-toc-previous-heading, reftex-toc-max-level)
2512 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2513 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2514 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2515 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2516 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2517 (reftex-toc-rename-label, reftex-toc-visit-location)
2518 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2519 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2520 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2521 leaving "*toc*" only for references to the buffer.
2522
a0c2d0ae
MR
25232011-11-17 Martin Rudalics <rudalics@gmx.at>
2524
2525 * window.el (window-resize, delete-window, split-window):
2526 Replace window-splits by window-combination-resize.
1d00653d 2527 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2528
35c0bac8
GM
25292011-11-17 Glenn Morris <rgm@gnu.org>
2530
2531 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2532 Make bash entry derive from sh entry, not shell entry.
2533
d0c8fc8a
MA
25342011-11-16 Michael Albinus <michael.albinus@gmx.de>
2535
d0c8fc8a
MA
2536 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2537 properties of linked files. (Bug#9879)
2538
7262a87c
MA
2539 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2540 local file name.
2541
7877f373
JB
25422011-11-16 Juanma Barranquero <lekktu@gmail.com>
2543
2544 * menu-bar.el (menu-bar-file-menu):
2545 * printing.el (pr-ps-utility):
2546 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2547 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2548 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2549 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2550 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2551 (icalendar--convert-cyclic-to-ical)
2552 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2553 (icalendar--convert-ical-to-diary)
2554 (icalendar--convert-recurring-to-diary)
2555 (icalendar--convert-non-recurring-all-day-to-diary)
2556 (icalendar-import-format-sample):
2557 * progmodes/idlw-shell.el (idlwave-shell-mode):
2558 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2559 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2560 (vhdl-ps-print-init): Fix typos.
2561
10649b82
KM
25622011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2563
9d0cfcd6
GM
2564 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2565 FSF and collapse date sequence, obscure author/maintainer email address
2566 better, remove extra version line, track relocation of author's webpage.
10649b82 2567
9d0cfcd6
GM
2568 * progmodes/python.el (python-pdbtrack-input-prompt)
2569 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2570 regular python pdb prompts. Adjustments shamelessly taken exactly as
2571 suggested in EmacsWiki page (tiny change):
2572 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2573
58179cce
JB
25742011-11-16 Juanma Barranquero <lekktu@gmail.com>
2575
2576 * expand.el (expand-pos, expand-index, expand-point):
2577 Remove redundant info from docstring.
2578 (expand-add-abbrevs): Doc fix.
2579 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2580 (expand-sample-perl-mode-expand-list): Fix typos.
2581
2582 * net/dbus.el (dbus-event-member-name):
2583 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2584 * term/pc-win.el (msdos-create-frame-with-faces):
2585 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2586
b6f67890
MR
25872011-11-16 Martin Rudalics <rudalics@gmx.at>
2588
2589 * window.el (split-window, window-state-get-1)
2590 (window-state-put-1, window-state-put-2): Rename occurrences of
2591 window-nest to window-combination-limit.
1d00653d 2592 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2593
ce7ddba0
CY
25942011-11-16 Chong Yidong <cyd@gnu.org>
2595
2596 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2597 regexp (Bug#10033).
2598
3ae704f4
SM
25992011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2602 `completing-read' will remove *Completions* and will preserve
2603 current-buffer for us.
2604 (tmm-add-prompt): Users of *Completions* will always (re)set its
2605 major mode.
2606 (tmm-old-comp-map): Remove.
2607
6ad1cdde
GM
26082011-11-16 Glenn Morris <rgm@gnu.org>
2609
2610 * mail/rmailedit.el: Require rmailmm when compiling.
2611 (rmail-old-mime-state): New declaration.
2612 (rmail-edit-current-message): If editing a mime message,
2613 edit the "raw" message from the mbox buffer.
2614 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2615
d20faa20
GM
26162011-11-15 Glenn Morris <rgm@gnu.org>
2617
2618 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2619 which wasn't being used. Add optional arg to force given state.
2620 (rmail-mime): Add optional arg to force given state.
2621
c7015153
JB
26222011-11-15 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2625 * frame.el (display-mm-dimensions-alist):
2626 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2627 (outline-move-subtree-down):
2628 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2629 (newsticker--treeview-do-get-node):
2630 * net/quickurl.el (quickurl-list-buffer-name):
2631 * progmodes/dcl-mode.el (dcl-mode):
2632 * progmodes/gdb-mi.el (gdb-mapcar*):
2633 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2634
45261b50
GM
26352011-11-15 Glenn Morris <rgm@gnu.org>
2636
2637 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2638 in a boolean sense, so just make it a boolean, and fix the doc.
2639 (rmail-show-mime-function, rmail-mime-feature)
2640 (rmail-require-mime-maybe): Doc fixes.
2641 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2642
2643 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2644
0d26e0b6
JB
26452011-11-15 Juanma Barranquero <lekktu@gmail.com>
2646
2647 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2648 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2649 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2650 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2651
447f30f6
GM
26522011-11-15 Glenn Morris <rgm@gnu.org>
2653
672b871d
GM
2654 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2655 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2656 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2657 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2658 (rmail-mime, rmail-show-mime): Doc fixes.
2659
f6aa5bb1
GM
2660 * term/ns-win.el (mode-line-frame-identification):
2661 Leave it alone. (Bug#10051)
2662
947cd66b
GM
2663 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2664
447f30f6
GM
2665 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2666 Handle empty buffers. (Bug#9978)
2667
0b381c7e
JB
26682011-11-14 Juanma Barranquero <lekktu@gmail.com>
2669
2670 * international/mule.el (define-charset):
2671 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2672 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2673 * progmodes/verilog-mode.el (verilog-backward-token):
2674 * textmodes/ispell.el (lookup-words):
2675 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2676
71e027ac
GM
26772011-11-14 Glenn Morris <rgm@gnu.org>
2678
56632ce4
GM
2679 * progmodes/executable.el
2680 (executable-make-buffer-file-executable-if-script-p):
2681 Handle file-modes returning nil.
2682
40500957
GM
2683 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2684 message - not necessary, and causes problems. (Bug#9831)
2685
071c2340
GM
2686 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2687
d3cfca60
GM
2688 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2689
71e027ac
GM
2690 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2691 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2692 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2693
89d61221
MR
26942011-11-12 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (window-resize, delete-window): Use window-splits
2697 variable instead of function.
2698 (window-state-get-1, window-state-put-2, window-state-put):
2699 Don't deal with windows' splits status.
2700
98282f6f
GM
27012011-11-12 Glenn Morris <rgm@gnu.org>
2702
2703 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2704 (apropos-documentation): Doc fixes.
2705
40a8bdf6
JB
27062011-11-11 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2709 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2710
65bd19ff
SM
27112011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * electric.el (electric-indent-post-self-insert-function): Make it
2714 possible for a char to only indent in some circumstances.
2715 (electric-indent-mode): Simplify.
2716
54f9154c
MR
27172011-11-11 Martin Rudalics <rudalics@gmx.at>
2718
2719 * window.el (windows-with-parameter): Remove unused function.
2720 (windows-at-side): Rename to window-at-side-list.
2721 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2722 (window-side-check, window-size-ignore, window-size-fixed-1)
2723 (window-in-direction-2): Prefix with "window--".
2724 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2725
68cbc58b
GM
27262011-11-11 Glenn Morris <rgm@gnu.org>
2727
2728 * subr.el (eval-after-load): If FILE is already loaded,
2729 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2730
b2621720
GM
27312011-11-10 Glenn Morris <rgm@gnu.org>
2732
9a4de110
GM
2733 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2734 Call svn via vc-svn-command rather than vc-do-command.
2735 (vc-svn-command): Add --non-interactive. (Bug#9993)
2736 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2737
b2621720
GM
2738 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2739 Add toggle-read-only. (Bug#7292)
2740 * files.el (toggle-read-only): Mention that it should only
2741 be used interactively. (Bug#10006)
2742
1dce7193
SM
27432011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2744
d9ac1a1e
SM
2745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2746 Adjust regexp for OCaml warnings.
2747
0c325082
SM
2748 * electric.el (electric-pair-post-self-insert-function): Let user
2749 turn it off buffer-locally (bug#9932).
2750
90132c14
SM
2751 * progmodes/python.el (python-beginning-of-statement):
2752 Rewrite (bug#2703).
2753
1dce7193
SM
2754 * progmodes/compile.el: Better handle TABs (bug#9749).
2755 (compilation-internal-error-properties)
2756 (compilation-next-error-function): Obey the target buffer's
2757 compilation-error-screen-columns.
2758
c4e7c63a
JB
27592011-11-09 Juanma Barranquero <lekktu@gmail.com>
2760
2761 * progmodes/meta-mode.el: Remove obsolete comments.
2762 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2763 Fix typos in docstrings.
2764
2cffd681
MR
27652011-11-09 Martin Rudalics <rudalics@gmx.at>
2766
2767 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2768 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2769 (window--resizable): New function. Make all callers of
2770 window-resizable call window--resizable instead.
2771 (window-resizable): Rewrite in terms of window--resizable.
2772
0edcba87
GM
27732011-11-08 Glenn Morris <rgm@gnu.org>
2774
2775 * progmodes/delphi.el (delphi-mode-syntax-table):
2776 Let define-derived-mode define a proper syntax table. (Bug#9994)
2777
4b0d61e3
SM
27782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * window.el: Stay away from defsubst.
2781 (window-list-no-nils): Remove.
2782 (window-state-get-1, window-state-get): Use backquote instead.
2783
cd394be1 27842011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2785
4b0d61e3 2786 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2787 Fix incorrect use of default argument in `completing-read'.
2788
e1c2c6f2
MR
27892011-11-08 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (display-buffer-function, special-display-function):
2792 Mention display-buffer-record-window but do not mention
2793 help-setup parameter in doc-strings.
b3f4a882 2794 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2795
105216ed
CY
27962011-11-08 Chong Yidong <cyd@gnu.org>
2797
2798 * window.el (window-total-height, window-total-width): Doc fix.
2799 (window-body-size): Move from C.
2800 (window-body-height, window-body-width): Move to C.
2801
0a9f9ab5
SM
28022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * window.el: Make special-display like display-buffer-alist (bug#9532).
2805 (display-buffer--special-action): New function, morphed
2806 from display-buffer--special.
2807 (display-buffer): Use it to handle special-display-buffers at higher
2808 priority (just after display-buffer-alist).
2809 (display-buffer-fallback-action, display-buffer--other-frame-action)
2810 (pop-to-buffer-same-window): Remove display-buffer--special.
2811
a769dd15
GM
28122011-11-07 Glenn Morris <rgm@gnu.org>
2813
2814 * calendar/cal-menu.el (cal-menu-set-date-title):
2815 Do nothing if not in a calendar. (Bug#9976)
2816
05a61ee3
SM
28172011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * files.el (find-file): Always use selected-window.
2820
be7f5545
MR
28212011-11-07 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (window-combinations): Make WINDOW argument
2824 mandatory. Rewrite doc-string.
2825 (walk-window-subtree, window-atom-check, window-min-delta)
2826 (window-max-delta, window--resize-this-window)
2827 (window--resize-root-window-vertically, window-tree)
2828 (balance-windows, window-state-put): Rewrite doc-strings as to
2829 not mention the term "subwindow".
2830 (window--resize-subwindows-skip-p): Rename to
2831 window--resize-child-windows-skip-p.
2832 (window--resize-subwindows-normal): Rename to
2833 window--resize-child-windows-normal.
2834 (window--resize-subwindows): Rename to
2835 window--resize-child-windows.
2836 (window-or-subwindow-p): Rename to window--in-subtree-p.
2837
3c6702ef
ML
28382011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2839
2840 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2841 Ensure that mbox format messages end in two newlines (Bug#9974).
2842
49745b39
CY
28432011-11-06 Chong Yidong <cyd@gnu.org>
2844
2845 * window.el (window-combination-p): Function deleted; its
2846 side-effect is not used in any existing code.
2847 (window-combinations, window-combined-p): Call window-*-child
2848 directly.
2849
24300f5f
CY
28502011-11-05 Chong Yidong <cyd@gnu.org>
2851
2852 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2853 (window-size-ignore, window-state-get): Callers changed.
2854 (window-normalize-window): Rename from window-normalize-any-window.
2855 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2856 (window-normalize-live-window): Delete.
447f16b8
CY
2857 (window-combination-p, window-combined-p, window-combinations)
2858 (walk-window-subtree, window-atom-root, window-min-size)
2859 (window-sizable, window-sizable-p, window-size-fixed-p)
2860 (window-min-delta, window-max-delta, window-resizable)
2861 (window-resizable-p, window-full-height-p, window-full-width-p)
2862 (window-current-scroll-bars, window-point-1, set-window-point-1)
2863 (window-at-side-p, window-in-direction, window-resize)
2864 (adjust-window-trailing-edge, maximize-window, minimize-window)
2865 (window-deletable-p, delete-window, delete-other-windows)
2866 (record-window-buffer, unrecord-window-buffer)
2867 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2868 (quit-window, split-window, window-state-put)
2869 (set-window-text-height, fit-window-to-buffer)
2870 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2871
89bd5ee1
EZ
28722011-11-04 Eli Zaretskii <eliz@gnu.org>
2873
53479029
EZ
2874 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2875 rfc2047-decode-string.
2876 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2877 warnings.
2878
89bd5ee1
EZ
2879 * window.el (window-body-height, window-body-width): Mention in
2880 the doc string that the return values are in frame's canonical
2881 units. (Bug#9949)
2882
bd17fdee
AM
28832011-11-03 Alan Mackenzie <acm@muc.de>
2884
2885 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2886 change in cc-engine.el.
2887
acc825c5
SM
28882011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2891
1885e5b8
MR
28922011-11-02 Martin Rudalics <rudalics@gmx.at>
2893
2894 * window.el (quit-window): Call unrecord-window-buffer after
2895 showing another buffer in the window. (Bug#9937)
acc825c5 2896 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2897
ebe06da9
JB
28982011-11-02 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2901 Accept status with more than 9 shelves. (Bug#9935)
2902 Reported by Colin D Bennett <colin@gibibit.com>.
2903
4ee88440
MR
29042011-11-01 Martin Rudalics <rudalics@gmx.at>
2905
2906 * help.el (with-help-window): Don't reference
2907 temp-buffer-show-specifiers in doc-string.
2908
08e1d82c
AS
29092011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2910
2911 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2912 menu-item.
2913
84bd6e9e
VJL
29142011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2915
2916 * whitespace.el: New version 13.2.2.
2917 (whitespace-newline-mode): Disable properly. Reported by Sarah
2918 <EmacsWiki>.
2919
dba0634a
UJ
29202011-10-30 Ulf Jasper <ulf.jasper@web.de>
2921
2922 * net/newst-treeview.el: Remove "Time-stamp".
2923 (newsticker--group-manage-orphan-feeds): Do not call
2924 newsticker--treeview-tree-update.
db22a3c2
JB
2925 (newsticker-treeview-update, newsticker-treeview):
2926 Call newsticker--treeview-tree-update if necessary.
dba0634a 2927
3d8daefe
MR
29282011-10-30 Martin Rudalics <rudalics@gmx.at>
2929
2930 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2931 (window-iso-combinations): Remove "iso-" infix.
2932 Suggested by Chong Yidong.
3d8daefe
MR
2933 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2934 (window-max-delta-1, window-resize, window--resize-siblings)
2935 (window--resize-this-window, adjust-window-trailing-edge)
2936 (split-window, balance-windows-1)
2937 (shrink-window-if-larger-than-buffer):
2938 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2939 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2940
1bc4c3ae
SM
29412011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2944 in place (bug#9907).
2945 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2946 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2947 (eshell-structure-basic-command, eshell-rewrite-while-command)
2948 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2949 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2950 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2951 (eshell-do-pipelines-synchronously, eshell-eval-command):
2952 Use backquotes and prefer setq to set.
2953 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2954 (eshell-macrop): Use functionp.
c1e2f5fa 2955 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2956
30b65d9c
CY
29572011-10-30 Chong Yidong <cyd@gnu.org>
2958
2959 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2960 instead of set-mark (Bug#9810).
2961
2d197ffb
CY
29622011-10-30 Chong Yidong <cyd@gnu.org>
2963
2964 * window.el (split-window-below, split-window-right): Rename from
2965 split-window-above-each-other and split-window-side-by-side
2966 respectively. All callers changed.
2967 (split-window-sensibly, split-window-sensibly): Use them.
2968 (split-window-keep-point): Doc fix.
2969
2970 * isearch.el: Add isearch-scroll property to split-window-below
2971 and split-window-right.
2972
2973 * follow.el (follow-mode):
2974 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2975 * progmodes/ada-xref.el (ada-gdb-application):
2976 * emulation/vip.el (vip-buffer-in-two-windows):
2977 * image-dired.el (image-dired-dired-with-window-configuration):
2978 * dired-x.el (dired-do-find-marked-files):
2979 * dired.el (dired-pop-to-buffer):
2980 * bs.el (bs--show-with-configuration):
2981 * vc/emerge.el (emerge-setup-windows):
2982 * textmodes/two-column.el (2C-two-columns):
2983 * textmodes/reftex-toc.el (reftex-toc):
2984 * progmodes/gdb-mi.el (gdb-setup-windows):
2985 * progmodes/fortran.el (fortran-window-create):
2986 * net/newst-treeview.el (newsticker--treeview-window-init):
2987 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2988 * emulation/tpu-edt.el (tpu-gold-map):
2989 * emulation/crisp.el (crisp-mode-map):
2990 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2991
38bb2ca8
CY
29922011-10-29 Chong Yidong <cyd@gnu.org>
2993
aa4de341
CY
2994 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2995
e1eb5385
CY
2996 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2997
5d2ece3c
CY
2998 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2999 forged Ispell output (Bug#7904).
3000
38bb2ca8
CY
3001 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3002
d0af9f77
SM
30032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * doc-view.el: Avoid ugly errors about not finding nil.
3006 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3007 (doc-view-dvipdf-program, doc-view-unoconv-program)
3008 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3009 Avoid nil or absolute file name as default value.
3010 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3011
52bedd34
AM
30122011-10-28 Alan Mackenzie <acm@muc.de>
3013
db22a3c2 3014 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3015
7e43cfa5
AM
30162011-10-28 Alan Mackenzie <acm@muc.de>
3017
3018 Amend the handling of c-beginning/end-of-defun in nested declaration
3019 scopes.
3020
52bedd34
AM
3021 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3022 cc-langs.el. Change it to a defcustom.
7e43cfa5 3023
52bedd34
AM
3024 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3025 cc-vars.el.
7e43cfa5 3026
d0af9f77
SM
3027 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3028 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3029
52bedd34 3030 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3031 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3032 (c-widen-to-enclosing-decl-scope): New function.
3033 (c-while-widening-to-decl-block): New macro.
3034 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3035 outward for defun boundaries, and correspondingly change symbol
3036 `respect-enclosure' to `go-outward'.
3037 (c-declaration-limits): Change algorithm to report only the "innermost"
3038 defun's boundaries.
3039
1a2ce9ee
DD
30402011-10-28 Deniz Dogan <deniz@dogan.se>
3041
3042 * net/rcirc.el (rcirc-mode): Use hard newlines.
3043
bc97a826
AM
30442011-10-28 Alan Mackenzie <acm@muc.de>
3045
3046 Amend to indent and fontify macros "which include their own semicolon"
3047 correctly, using the "virtual semicolon" mechanism.
3048
52bedd34 3049 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3050
d0af9f77 3051 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3052 Recode to scan one line at a time rather than having \n and \r
58179cce 3053 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3054 (c-forward-label): Amend for virtual semicolons.
58179cce 3055 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3056
52bedd34
AM
3057 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3058 of the new C macros.
bc97a826 3059
52bedd34 3060 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3061 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3062 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3063 (c-opt-cpp-macro-define): Make into a full language variable.
3064 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3065 AWK Mode (including \n, \r) removed, no longer needed.
3066
d0af9f77
SM
3067 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3068 Invoke c-make-macro-with-semi-re.
bc97a826 3069
52bedd34
AM
3070 * progmodes/cc-vars.el (c-macro-with-semi-re):
3071 (c-macro-names-with-semicolon): New variables.
58179cce 3072 (c-make-macro-with-semi-re): New function.
bc97a826 3073
7a6c0941
SM
30742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * vc/log-edit.el: Fill empty field rather than adding new one.
3077 (log-edit-add-field): New function.
3078 (log-edit-insert-changelog): Use it.
3079
b0c4cdcf
ML
30802011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3081
3082 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3083
ee1f1da9
SM
30842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3087 (gdb--check-interpreter): New function.
3088 (gdb): Use it.
3089
51bc5f8b
GM
30902011-10-27 Glenn Morris <rgm@gnu.org>
3091
416a2c45
GM
3092 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3093 (least-positive-float, least-negative-float)
3094 (least-positive-normalized-float, least-negative-normalized-float)
3095 (float-epsilon, float-negative-epsilon):
3096 Remove unnecessary declarations.
3097
3098 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3099 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3100 (least-positive-float, least-negative-float)
3101 (least-positive-normalized-float, least-negative-normalized-float)
3102 (float-epsilon, float-negative-epsilon): Add doc-strings,
3103 based on those in cl.texi.
3104
51bc5f8b
GM
3105 * files.el (set-visited-file-name): If the major-mode changed,
3106 reload the local variables. (Bug#9796)
3107
15de15c6
CY
31082011-10-27 Chong Yidong <cyd@gnu.org>
3109
3110 * subr.el (change-major-mode-after-body-hook): New hook.
3111 (run-mode-hooks): Run it.
3112
ee1f1da9
SM
3113 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3114 Use change-major-mode-before-body-hook.
15de15c6
CY
3115
3116 * simple.el (fundamental-mode):
3117 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3118 change introducing fundamental-mode-hook.
3119
5430d399
JB
31202011-10-26 Juanma Barranquero <lekktu@gmail.com>
3121
acc825c5 3122 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3123
ad74a69e
MA
31242011-10-26 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3127 tramp.el explicitly. (Bug#7583)
ad74a69e 3128
71d4c2a5
SM
31292011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * progmodes/octave-mod.el:
3132 * progmodes/octave-inf.el: Update maintainer.
3133
b1f6fa26
CY
31342011-10-26 Chong Yidong <cyd@gnu.org>
3135
3136 * subr.el (with-wrapper-hook): Rewrite doc.
3137
3f04efd6
MA
31382011-10-25 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3141 filenames "/method:foo:". (Bug#9793)
3f04efd6 3142
410488d3
SM
31432011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3146 (bug#9865).
3147
c1ebb47e
GM
31482011-10-24 Glenn Morris <rgm@gnu.org>
3149
3150 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3151
7f5c46c7
MA
31522011-10-24 Michael Albinus <michael.albinus@gmx.de>
3153
3154 * notifications.el: Add the requirement of a running D-Bus session
3155 bus to the Commentary.
3156
db2440b6
JL
31572011-10-24 Juri Linkov <juri@jurta.org>
3158
3159 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3160 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3161 (Bug#9364)
3162
feecf435
JL
31632011-10-24 Juri Linkov <juri@jurta.org>
3164
3165 * info.el (Info-following-node-name-re): Add newline to the list
3166 of allowed characters for leading space. (Bug#9824)
3167
a3839de2
SM
31682011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3169
acc825c5
SM
3170 * progmodes/octave-inf.el (inferior-octave-mode-map):
3171 Fix C-c C-h binding.
a3839de2
SM
3172 * progmodes/octave-mod.el (octave-help): Remove.
3173
09388e76
MA
31742011-10-23 Michael Albinus <michael.albinus@gmx.de>
3175
3176 Sync with Tramp 2.2.3.
3177
3178 * net/tramp-cache.el (top): Pacify byte-compiler using
3179 `init-file-user' and `site-run-file'.
3180
3181 * net/trampver.el: Update release number.
3182
86c60681
CY
31832011-10-23 Chong Yidong <cyd@gnu.org>
3184
3185 * files.el (toggle-read-only): Remove obsolete comment about
3186 version control.
3187
3188 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3189 for toggle-read-only. Note that this hasn't called vc-next-action
3190 since 2008-05-02, though it wasn't documented at the time.
3191
a3839de2
SM
3192 * vc/ediff-init.el (ediff-toggle-read-only-function):
3193 Use toggle-read-only.
86c60681 3194
cd5495ff
AM
31952011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3196
3197 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3198 of c-parse-state.
3199
00b77525 3200 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3201 correct faulty logical expression.
cd5495ff
AM
3202 (c-parse-state-state, c-record-parse-state-state):
3203 (c-replay-parse-state-state): New defvar/defuns.
3204 (c-debug-parse-state): Use new functions.
3205
42ee24ed
MR
32062011-10-22 Martin Rudalics <rudalics@gmx.at>
3207
3208 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3209 last fix. Use window-in-direction correctly.
42ee24ed 3210
a7dee7e7
CY
32112011-10-21 Chong Yidong <cyd@gnu.org>
3212
3213 * progmodes/idlwave.el (idlwave-mode):
3214 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3215 require-final-newline; that's done in prog-mode.
3216 Suggested by Stefan Monnier.
a7dee7e7 3217
e07b9a6d
MR
32182011-10-21 Martin Rudalics <rudalics@gmx.at>
3219
3220 * mouse.el (mouse-drag-window-above)
3221 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3222 (mouse-drag-mode-line-1, mouse-drag-header-line)
3223 (mouse-drag-vertical-line-rightward-window): Remove.
3224 (mouse-drag-line): New function.
3225 (mouse-drag-mode-line, mouse-drag-header-line)
3226 (mouse-drag-vertical-line): Call mouse-drag-line.
3227 * window.el (window-at-side-p, windows-at-side): New functions.
3228
7e1361d9
UM
32292011-10-21 Ulrich Mueller <ulm@gentoo.org>
3230
3231 * tar-mode.el (tar-grind-file-mode):
3232 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3233
30fcaf3a
CY
32342011-10-21 Chong Yidong <cyd@gnu.org>
3235
3236 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3237 * progmodes/vera-mode.el (vera-mode):
3238 Use mode-require-final-newline.
30fcaf3a 3239
516eddb0
GM
32402011-10-20 Glenn Morris <rgm@gnu.org>
3241
db22a3c2 3242 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3243
10d5f513
CS
32442011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3245
3246 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3247
ac6c8639
CY
32482011-10-20 Chong Yidong <cyd@gnu.org>
3249
3250 * emulation/cua-base.el (cua-mode):
3251 * mail/footnote.el (footnote-mode):
3252 * mail/mailabbrev.el (mail-abbrevs-mode):
3253 * net/xesam.el (xesam-minor-mode):
3254 * progmodes/bug-reference.el (bug-reference-mode):
3255 * progmodes/cap-words.el (capitalized-words-mode):
3256 * progmodes/compile.el (compilation-minor-mode)
3257 (compilation-shell-minor-mode):
3258 * progmodes/gud.el (gud-tooltip-mode):
3259 * progmodes/hideif.el (hide-ifdef-mode):
3260 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3261 * progmodes/subword.el (subword-mode):
3262 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3263 * progmodes/which-func.el (which-function-mode):
3264 * term/tvi970.el (tvi970-set-keypad-mode):
3265 * term/vt100.el (vt100-wide-mode):
3266 * textmodes/flyspell.el (flyspell-mode):
3267 * textmodes/ispell.el (ispell-minor-mode):
3268 * textmodes/nroff-mode.el (nroff-electric-mode):
3269 * textmodes/paragraphs.el (use-hard-newlines):
3270 * textmodes/refill.el (refill-mode):
3271 * textmodes/reftex.el (reftex-mode):
3272 * textmodes/rst.el (rst-minor-mode):
3273 * textmodes/sgml-mode.el (html-autoview-mode)
3274 (sgml-electric-tag-pair-mode):
3275 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3276 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3277 * emulation/crisp.el (crisp-mode):
3278 * emacs-lisp/eldoc.el (eldoc-mode):
3279 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3280 minor mode behavior.
3281
aa42ab43
JL
32822011-10-19 Juri Linkov <juri@jurta.org>
3283
3284 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3285 the list of hard-coded chars with escape-glyph face.
3286
89400f1d
SM
32872011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3290
305c07f6
MA
32912011-10-19 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3294 running process.
3295
13754b54
GM
32962011-10-19 Glenn Morris <rgm@gnu.org>
3297
3298 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3299 Ignore ignored files. (Bug#9726)
3300
06e21633
CY
33012011-10-19 Chong Yidong <cyd@gnu.org>
3302
3303 Doc fix for minor modes, stating that an omitted argument enables
3304 the mode unconditionally when called from Lisp.
3305
3306 * abbrev.el (abbrev-mode):
3307 * allout.el (allout-mode):
3308 * autoinsert.el (auto-insert-mode):
3309 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3310 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3311 (global-auto-revert-mode):
3312 * battery.el (display-battery-mode):
3313 * composite.el (global-auto-composition-mode)
3314 (auto-composition-mode):
3315 * delsel.el (delete-selection-mode):
3316 * desktop.el (desktop-save-mode):
3317 * dired-x.el (dired-omit-mode):
3318 * dirtrack.el (dirtrack-mode):
3319 * doc-view.el (doc-view-minor-mode):
3320 * double.el (double-mode):
3321 * electric.el (electric-indent-mode, electric-pair-mode):
3322 * emacs-lock.el (emacs-lock-mode):
3323 * epa-hook.el (auto-encryption-mode):
3324 * follow.el (follow-mode):
3325 * font-core.el (font-lock-mode):
3326 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3327 * help.el (temp-buffer-resize-mode):
3328 * hilit-chg.el (highlight-changes-mode)
3329 (highlight-changes-visible-mode):
3330 * hi-lock.el (hi-lock-mode):
3331 * hl-line.el (hl-line-mode, global-hl-line-mode):
3332 * icomplete.el (icomplete-mode):
3333 * ido.el (ido-everywhere):
3334 * image-file.el (auto-image-file-mode):
3335 * image-mode.el (image-minor-mode):
3336 * iswitchb.el (iswitchb-mode):
3337 * jka-cmpr-hook.el (auto-compression-mode):
3338 * linum.el (linum-mode):
3339 * longlines.el (longlines-mode):
3340 * master.el (master-mode):
3341 * mb-depth.el (minibuffer-depth-indicate-mode):
3342 * menu-bar.el (menu-bar-mode):
3343 * minibuf-eldef.el (minibuffer-electric-default-mode):
3344 * mouse-sel.el (mouse-sel-mode):
3345 * msb.el (msb-mode):
3346 * mwheel.el (mouse-wheel-mode):
3347 * outline.el (outline-minor-mode):
3348 * paren.el (show-paren-mode):
3349 * recentf.el (recentf-mode):
3350 * reveal.el (reveal-mode, global-reveal-mode):
3351 * rfn-eshadow.el (file-name-shadow-mode):
3352 * ruler-mode.el (ruler-mode):
3353 * savehist.el (savehist-mode):
3354 * scroll-all.el (scroll-all-mode):
3355 * scroll-bar.el (scroll-bar-mode):
3356 * server.el (server-mode):
3357 * shell.el (shell-dirtrack-mode):
3358 * simple.el (auto-fill-mode, transient-mark-mode)
3359 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3360 (line-number-mode, column-number-mode, size-indication-mode)
3361 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3362 * strokes.el (strokes-mode):
3363 * time.el (display-time-mode):
3364 * t-mouse.el (gpm-mouse-mode):
3365 * tool-bar.el (tool-bar-mode):
3366 * tooltip.el (tooltip-mode):
3367 * type-break.el (type-break-mode-line-message-mode)
3368 (type-break-query-mode):
3369 * view.el (view-mode):
3370 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3371 (global-whitespace-mode, global-whitespace-newline-mode):
3372 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3373
a3839de2
SM
3374 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3375 Fix autogenerated docstring.
06e21633 3376
5214e501
JL
33772011-10-19 Juri Linkov <juri@jurta.org>
3378
3379 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3380 by checking environment variables "DESKTOP_SESSION" and
3381 "XDG_CURRENT_DESKTOP". (Bug#9779)
3382
195f8db9
JL
33832011-10-19 Juri Linkov <juri@jurta.org>
3384
3385 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3386 (browse-url-chromium-program, browse-url-chromium-arguments):
3387 New defcustoms.
3388 (browse-url-default-browser): Check for `browse-url-chromium' and
3389 call `browse-url-chromium-program'.
3390 (browse-url-chromium): New command. (Bug#9779)
3391
343a34ff
JB
33922011-10-18 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * facemenu.el (list-colors-duplicates): On Windows, detect more
3395 duplicates by assuming that only colors matching "^System" are
3396 special "system colors". (Bug#9722)
3397
6978a151
SM
33982011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3401 to distinguish the author from the committer.
3402
6a80b297
MA
34032011-10-18 Michael Albinus <michael.albinus@gmx.de>
3404
3405 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3406
b31a5677
JK
34072011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3408
3409 * international/mule.el (sgml-html-meta-auto-coding-function):
3410 Add support for detecting encoding in HTML5 specified only as
3411 <meta charset="UTF-8">. Implementation just makes http-equiv and
3412 content-type parts from HTML4 encoding string optional. (Bug#9716)
3413
80c6d77f
GM
34142011-10-18 Glenn Morris <rgm@gnu.org>
3415
3416 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3417
08b0fee8
CY
34182011-10-18 Chong Yidong <cyd@gnu.org>
3419
3420 * faces.el (cursor): Doc fix.
3421
67e729a5
CY
34222011-10-17 Chong Yidong <cyd@gnu.org>
3423
3424 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3425
343a34ff 34262011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3427
3428 * dirtrack.el (dirtrack): Support shell buffers with path
3429 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3430
0bc06380
TZ
34312011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3432
3433 * json.el: Bump version to 1.3 and note change in History.
3434 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3435
8b79f3e0
SM
34362011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3437
5a7c536b
SM
3438 * comint.el (comint-insert-input, comint-send-input)
3439 (comint-get-old-input-default, comint-backward-matching-input)
3440 (comint-next-prompt): Use nil instead of `input' for field property of
3441 past user input (bug#114).
3442
96a8a0df
SM
3443 * minibuffer.el (completion--replace): Inherit surrounding properties
3444 (bug#114).
3445 (minibuffer-complete-and-exit): Use it.
3446
8b79f3e0
SM
3447 * comint.el (comint--table-subvert): Quote the all-completions output
3448 (bug#9160).
3449
b8f7ff0d
MR
34502011-10-17 Martin Rudalics <rudalics@gmx.at>
3451
8b79f3e0 3452 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3453
b8f7ff0d 3454 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3455 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3456 entries and separate them from frame entries.
3457
c235b555
GM
34582011-10-15 Glenn Morris <rgm@gnu.org>
3459
3460 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3461 Doc fixes.
3462
6bbfa6e1
CY
34632011-10-15 Chong Yidong <cyd@stupidchicken.com>
3464
8b79f3e0
SM
3465 * net/network-stream.el (network-stream-open-starttls):
3466 Improve detection of failure due to lack of TLS support.
ec5c990d 3467
6bbfa6e1
CY
3468 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3469 putting the input text in front and in bold.
3470
98488977
SM
34712011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3d1337be
SM
3473 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3474
ee0b45e4
SM
3475 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3476 empty buffer.
3477
98488977
SM
3478 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3479 unread-command-events rather than pushing yet-another event.
3480
186f4720
EZ
34812011-10-14 Eli Zaretskii <eliz@gnu.org>
3482
3483 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3484 the explanation of the possible choices. Make the options passed
3485 to completing-read shorter.
3486
8b7a997c
AM
34872011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3488
3489 * textmodes/flyspell.el (flyspell-large-region): Make sure
3490 extended character mode is used if defined (Bug#1339).
3491
12587bbb
EZ
34922011-10-13 Eli Zaretskii <eliz@gnu.org>
3493
3494 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3495 character info for LRE, LRO, RLE, and RLO characters by appending
3496 an invisible PDF.
12587bbb 3497
bad41229
SM
34982011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3501 even in case of error; add debug spec; simplify data flow.
3502 (with-timeout-handler): Remove.
3503
28dbc92f
MA
35042011-10-12 Michael Albinus <michael.albinus@gmx.de>
3505
3506 Fix Bug#6019, Bug#9315.
3507
3508 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3509 complete `buffer-file-name', the local file name part could look
3510 remotely (for example on VMS).
3511
3512 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3513 `tramp-run-real-handler'.
3514 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3515 already quoted by '"'.
3516
3517 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3518 Let `file-name-handler-alist' be nil, the local file name part
3519 could look remotely (for example on VMS).
3520
e1b0b23a
SM
35212011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3524 from here...
3525 (flyspell-post-command-hook): ...to here.
3526
a120bde9
SM
35272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3530 if not needed.
3531 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3532 using completion. Protect against "slow" callers.
3533 Remove the "message hack".
3534
7ce7717b
JL
35352011-10-11 Juri Linkov <juri@jurta.org>
3536
3537 * isearch.el (isearch-lazy-highlight-word): New variable.
3538 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3539 Use it. (Bug#9727)
3540
c02ee9d6
GM
35412011-10-11 Glenn Morris <rgm@gnu.org>
3542
3543 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3544 like f90-previous-statement does.
3545
93e616fd 35462011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3547
1f190e73 3548 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3549 only in interactive use, to avoid error.
3550
af7b6078
SM
35512011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * minibuffer.el (completion-file-name-table): Fix last change,
3554 i.e. ignore normal errors but not the other ones.
3555
0563dae9
MR
35562011-10-10 Martin Rudalics <rudalics@gmx.at>
3557
3558 * window.el (special-display-buffer-names)
3559 (special-display-regexps): Remove some remnants of earlier
3560 changes from doc-strings.
366ca7f3
MR
3561 (quit-windows-on): New function.
3562
3563 * vc/vc.el (vc-revert, vc-rollback):
3564 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3565 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3566 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3567
49677495
MR
35682011-10-09 Martin Rudalics <rudalics@gmx.at>
3569
3570 * window.el (frame-auto-hide-function): Add version tag.
3571 (Bug#9699)
3572
56f2d1e1
MA
35732011-10-09 Michael Albinus <michael.albinus@gmx.de>
3574
3575 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3576 condition.
3577
112a6592
LL
35782011-10-09 Leo Liu <sdl.web@gmail.com>
3579
3580 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3581 (Bug#9701)
3582
0812589b
GM
35832011-10-08 Glenn Morris <rgm@gnu.org>
3584
3585 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3586 before the first code statement zero indent. (Bug#9690)
3587
b2b0776e
CY
35882011-10-08 Chong Yidong <cyd@stupidchicken.com>
3589
3590 * simple.el (count-words-region): Always count in the region.
3591 Report the number of lines and characters too.
3592 (count-words): New command, which counts in the buffer if the
3593 region is inactive, as count-words-region used to.
3594 (count-words--message): New function. Handle plurals.
3595 (count-lines-region): Make it an alias for count-words-region.
3596
3597 * bindings.el (esc-map): Replace count-lines-region with
3598 count-words-region.
3599
c557cd6b
MR
36002011-10-08 Martin Rudalics <rudalics@gmx.at>
3601
3602 * window.el (window--delete): Delete dedicated frame
3603 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3604 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3605
61a57ef4 36062011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3607
3a7d293b 3608 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3609
c3833279
CY
36102011-10-07 Chong Yidong <cyd@stupidchicken.com>
3611
3612 * bindings.el ([M-left],[M-right]): Bind to left-word and
3613 right-word respectively.
3614
21ce8245
GM
36152011-10-07 Glenn Morris <rgm@gnu.org>
3616
3617 * cus-start.el (debug-on-quit): Fix custom type.
3618
6d823bb2
LMI
36192011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3620
0181e193
LMI
3621 * subr.el (define-key-after): Clarify that the function is not
3622 useful for non-menu keymaps.
3623
6d823bb2
LMI
3624 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3625
8e3459ce 36262011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3627
21ce8245 3628 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3629 in current minibuffer (Fix bug with recursive minibuffers).
3630
a1c2d21e
CY
36312011-10-06 Chong Yidong <cyd@stupidchicken.com>
3632
3633 * progmodes/gdb-mi.el (gdb): Doc fix.
3634
5a4cf282
MR
36352011-10-05 Martin Rudalics <rudalics@gmx.at>
3636
3637 * window.el (frame-auto-hide-function): New option replacing
3638 frame-auto-delete. Suggested by Stefan Monnier.
3639 (window--delete): Call frame-auto-hide-function instead of
3640 investigating frame-auto-delete.
c96111ea
MR
3641 (window-point-1, set-window-point-1): New functions.
3642 (window-in-direction, record-window-buffer, window-state-get-1)
3643 (display-buffer-record-window): Use window-point-1 instead of
3644 window-point.
3645 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3646
9854542e
SM
36472011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3650
8943cfb0
GM
36512011-10-05 Glenn Morris <rgm@gnu.org>
3652
3653 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3654 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3655
647ab967
LL
36562011-10-05 Leo Liu <sdl.web@gmail.com>
3657
3658 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3659 works with buffer object.
3660
3ddfbced
SM
36612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * mpc.el (mpc-tool-bar-map): Add labels.
3664
bdfa5dd2
GM
36652011-10-04 Glenn Morris <rgm@gnu.org>
3666
3667 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3668
0e2070b5
MR
36692011-10-04 Martin Rudalics <rudalics@gmx.at>
3670
3671 * window.el (window--delete): New function.
3672 (frame-auto-delete): Resuscitate option.
3673 (bury-buffer, replace-buffer-in-windows)
3674 (quit-window): Rewrite using window--delete.
3675 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3676 Pass display-buffer-mark-dedicated to window--display-buffer-2
3677 (Bug#9639).
3678
3dc61a09
SM
36792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3680
915a9b64
SM
3681 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3682 returns a list (bug#9554). Add remote file name completion.
3683 * comint.el (comint--table-subvert): Curry and get quote&unquote
3684 functions as arguments.
3685 (comint--complete-file-name-data): Adjust call accordingly.
3686 * pcomplete.el (pcomplete--table-subvert): Remove.
3687 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3688
3dc61a09
SM
3689 * minibuffer.el (completion-table-case-fold): Use currying.
3690 (completion--styles-type, completion--cycling-threshold-type):
3691 New constants.
3692 (completion-styles, completion-category-overrides)
3693 (completion-cycle-threshold): Use them.
3694 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3695 completion-table-case-fold.
3696
8ea0a993
SB
36972011-10-03 Stephen Berman <stephen.berman@gmx.net>
3698
3699 * minibuffer.el (completion-category-overrides): Fix type of styles
3700 and add more user friendly tags (bug#9660).
3701
8c24b7f6
SM
37022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3705 (mule-input-method-string): New widget.
3706 (default-input-method, language-info-custom-alist): Use it.
3707
428fe61a
SM
37082011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3709
32c1fffd
SM
3710 * pcomplete.el: Require comint.
3711 (pcomplete--common-suffix): Remove.
3712 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3713 (pcomplete--table-subvert): Sync with comint--table-subvert.
3714 (pcomplete--entries): Use comint-completion-file-name-table.
3715 * comint.el (comint-unquote-filename): Simplify.
3716 (comint-completion-file-name-table): New function (bug#9616).
3717 (comint--complete-file-name-data): Use it.
3718
428fe61a
SM
3719 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3720 (pcmpl-gnu-tar-buffer): Remove.
3721 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3722 around. Make sure pcomplete-suffix-list is only changed temporarily.
3723 Don't look inside the tar's file if it's too large.
428fe61a 3724
04c52e2f
CY
37252011-10-01 Chong Yidong <cyd@stupidchicken.com>
3726
ce3cefcc
CY
3727 * cus-edit.el (custom-mode-map):
3728 * epa.el (epa-key-list-mode-map):
3729 * man.el (Man-mode-map):
3730 * startup.el (splash-screen-keymap):
3731 * simple.el (special-mode-map): Use scroll-up-command and
3732 scroll-down-command.
3733
3734 * progmodes/idlw-help.el (idlwave-help-mode-map):
3735 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3736 * net/newst-plainview.el (newsticker-mode-map):
3737 * emulation/ws-mode.el (wordstar-mode-map):
3738 * emulation/vi.el (vi-com-map):
3739 * calc/calc-graph.el (calc-graph-show-dumb):
3740 * term/sun.el (terminal-init-sun):
3741 * term/ns-win.el (global-map):
3742 * progmodes/grep.el (grep-mode-map):
3743 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3744 * mail/rmail.el (rmail-mode-map):
3745 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3746
04c52e2f
CY
3747 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3748 custom-safe-themes as special.
3749
79adf8c8
JD
37502011-10-01 Julien Danjou <julien@danjou.info>
3751
3752 * notifications.el (notifications-notify): Fix docstring.
3753
63bd50d3
PS
37542011-10-01 Per Starbäck <per@starback.se>
3755
3756 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3757
199e4c7e
MR
37582011-09-30 Martin Rudalics <rudalics@gmx.at>
3759
3760 * startup.el (command-line-1): Fix last fix by inserting
3761 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3762 (Bug#9605) and (Bug#9636)
199e4c7e 3763
fe5f08dd
EZ
37642011-09-29 Eli Zaretskii <eliz@gnu.org>
3765
3766 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3767 window is hscrolled, move by logical lines. (Bug#9607)
3768 (line-move-visual): Update the doc string to the above effect.
3769
b5516bbd
MR
37702011-09-29 Martin Rudalics <rudalics@gmx.at>
3771
ccee00c0
MR
3772 * window.el (display-buffer-record-window): When WINDOW is the
3773 selected window use `point' instead of `window-point'. (Bug#9626)
3774
b5516bbd
MR
3775 * startup.el (command-line-1): Use insert-before-markers when
3776 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3777
b5516bbd
MR
3778 * help.el (help-window): Remove variable.
3779
52aa0014
GM
37802011-09-29 Glenn Morris <rgm@gnu.org>
3781
3782 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3783
df9a7357
JB
37842011-09-29 Juanma Barranquero <lekktu@gmail.com>
3785
3786 * descr-text.el (describe-char-categories): Accept category
3787 descriptions more than one line long.
3788
a8406c20
SM
37892011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3790
88d9610c
SM
3791 * simple.el (delete-trailing-whitespace): Fix last change.
3792
a5daf810
SM
3793 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3794 Don't confuse "y => 3" as the beginning of a `y' operation.
3795
a8406c20
SM
3796 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3797 object has more than 4 slots (bug#9613).
3798
a239d4e9
JB
37992011-09-28 Juanma Barranquero <lekktu@gmail.com>
3800
3801 * subr.el (with-output-to-temp-buffer):
3802 * net/quickurl.el (quickurl, quickurl-browse-url):
3803 Fix typos in docstrings.
3804
693fbdb6
EZ
38052011-09-27 Eli Zaretskii <eliz@gnu.org>
3806
3807 * minibuffer.el (completion-styles)
3808 (completion-category-overrides): Cross reference each other in doc
3809 strings.
3810
8b457e28
GM
38112011-09-27 Glenn Morris <rgm@gnu.org>
3812
3813 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3814 to split-string. (Bug#9606)
3815
85a16208
LMI
38162011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3817
3818 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3819 (bug#9615).
3820
502f9ebd
CY
38212011-09-27 Chong Yidong <cyd@stupidchicken.com>
3822
3823 * emacs-lisp/package.el (list-packages): Fix echo area message.
3824
7690bdea
LL
38252011-09-27 Leo Liu <sdl.web@gmail.com>
3826
3827 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3828
e2ee6f30
MA
38292011-09-25 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/dbus.el (dbus-unregister-object): Don't release services for
3832 registered signals. (Bug#9581)
3833
f3f98342
TZ
38342011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3835
3836 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3837 function that picks between cfengine 2 and 3 support
3838 automatically. Update docs accordingly.
3839
dd7aa8dd
KH
38402011-09-22 Kenichi Handa <handa@m17n.org>
3841
3842 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3843 ZERO.
3844 (indian-itrans-v5-table-for-tamil): New variable.
3845 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3846
3f2b07f8
KM
38472011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3848
3849 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3850 that's true if the current command involved collapsing of text.
3851 It's reset to false at the beginning of the next command.
3852 (allout-post-command-business): Move the cursor to the beginning
3853 of entry if the cursor is hidden and collapsing activity just
3854 happened.
3855
371d6a61
CY
38562011-09-24 Chong Yidong <cyd@stupidchicken.com>
3857
3858 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3859 tracking (Bug#9541).
3860
2ac2721a
UJ
38612011-09-24 Ulf Jasper <ulf.jasper@web.de>
3862
3863 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3864 (newsticker-show-news): Automatically load html rendering package
3865 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3866 because w3m-fill-column is let-bound" and the error "Symbol's value
3867 as variable is void: w3m-fill-column".
2ac2721a 3868
fac7ae53
MA
38692011-09-24 Michael Albinus <michael.albinus@gmx.de>
3870
3871 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3872 Release services only if they are defined. (Bug#9581)
3873
e08b633b
RS
38742011-09-23 Richard Stallman <rms@gnu.org>
3875
e488d29c
RS
3876 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3877 distinguish start of paragraph from start of its text.
3878
19c38752
RS
3879 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3880
e08b633b
RS
3881 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3882 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3883 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3884
0a39f27e
AS
38852011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3886
3887 * international/mule-diag.el (mule-diag): Insert a newline after
3888 each fontset description.
3889
db4e950d
SM
38902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * simple.el (delete-trailing-whitespace):
3893 Document last change; simplify.
3894
eca3f3ea
PW
38952011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3896
d68e189a
PW
3897 * simple.el (delete-trailing-whitespace): Also delete
3898 extra newlines at the end of the buffer.
3899
eca3f3ea
PW
3900 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3901 (picture-newline): Use forward-line so as to ignore fields.
3902
01c157cc
SM
39032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * subr.el (with-wrapper-hook): Fix edebug spec.
3906
022de23e
LMI
39072011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3908
3909 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3910 (bug#4538).
3911
91683089
MA
39122011-09-23 Michael Albinus <michael.albinus@gmx.de>
3913
eca3f3ea
PW
3914 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3915 Fix nasty bug using wrong cached values.
91683089 3916
5bdd6fa4
AM
39172011-09-23 Alan Mackenzie <acm@muc.de>
3918
3919 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3920
97adfb97
CY
39212011-09-23 Chong Yidong <cyd@stupidchicken.com>
3922
3923 * window.el (pop-to-buffer): Ensure right window is selected if we
3924 chose another frame.
3925
d4ef2b50
EZ
39262011-09-22 Eli Zaretskii <eliz@gnu.org>
3927
3928 * simple.el (what-cursor-position): Use get-char-property-change
3929 and next-single-char-property-change, to be able to show display
3930 properties that come from overlays as well as text properties.
3931
72258fe5
CY
39322011-09-22 Chong Yidong <cyd@stupidchicken.com>
3933
3934 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3935
3936 * cmuscheme.el (run-scheme, switch-to-scheme):
3937 * cus-edit.el (customize-group, custom-buffer-create)
3938 (customize-browse):
3939 * info.el (info):
3940 * shell.el (shell):
3941 * mail/sendmail.el (mail):
3942 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3943
8f098516
RS
39442011-09-22 Richard Stallman <rms@gnu.org>
3945
3946 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3947 move back only to line beg, don't move back over blank lines.
3948
e74f1bb6
MA
39492011-09-22 Michael Albinus <michael.albinus@gmx.de>
3950
3951 * files.el (copy-directory): Set directory attributes only in case
3952 they could be retrieved from the source directory. (Bug#9565)
3953
bfeef8b6
DK
39542011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3955
3956 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3957 (hs-find-block-beginning, hs-hide-level-recursive):
3958 Ignore strings as well as comments. (Bug#9502)
3959
7e423bb8
AS
39602011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3961
3962 * progmodes/sql.el (sql-comint-postgres):
3963 Convert port number to a string. (Bug#9566)
3964
b4d72fcf
MR
39652011-09-22 Martin Rudalics <rudalics@gmx.at>
3966
3967 * window.el (quit-window): Undedicate window when switching to
3968 previous buffer. Reported by Thierry Volpiatto
3969 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3970 (special-display-popup-frame): When popping up a new frame reset
3971 its previous buffers to nil. Simplify code.
b4d72fcf 3972
a7b88dc6
MA
39732011-09-21 Michael Albinus <michael.albinus@gmx.de>
3974
3975 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3976 and process filter, as done also in `shell-command'.
3977
cf4eacfd
MR
39782011-09-21 Martin Rudalics <rudalics@gmx.at>
3979
eca3f3ea 3980 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3981 Call set-window-start with NOFORCE argument t.
3982 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3983 (quit-window): Reword doc-string. Handle new format of
3984 quit-restore parameter. Don't delete window if it has a
3985 previous buffer we can show instead of the present one.
3986 (display-buffer-record-window): Rewrite using a new format for
3987 the quit-restore window parameter
3988 (special-display-popup-frame, display-buffer-same-window)
3989 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3990 (display-buffer-pop-up-window, display-buffer-use-some-window):
3991 Adapt symbol passed to display-buffer-record-window.
3992 * help.el (help-window-setup): Handle new format of quit-restore
3993 parameter.
3994
8d28cb95
SM
39952011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3996
94ab793f
SM
3997 * faces.el (face-list): Fix docstring (bug#9564).
3998
8d28cb95
SM
3999 * window.el (display-buffer--action-function-custom-type):
4000 Don't include internal functions in the Custom interface.
4001
3820edeb
JL
40022011-09-20 Juri Linkov <juri@jurta.org>
4003
4004 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4005 (Info-forward-node, Info-backward-node, Info-next-preorder)
4006 (Info-last-preorder): Use it. (Bug#9528)
4007
5147931d
JL
40082011-09-20 Juri Linkov <juri@jurta.org>
4009
4010 * info.el (Info-last-preorder): Visit last menu item only when
4011 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4012
cf499a1a
JD
40132011-09-20 Julien Danjou <julien@danjou.info>
4014
4015 * password-cache.el (password-cache-remove): Remove entries even if the
4016 value is nil, so that password with a nil value (negative caching) is
4017 possible to invalidate.
4018
f84e2fe2
LM
40192011-09-20 Lawrence Mitchell <wence@gmx.li>
4020
4021 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4022 all whitespace around breakpoint. (Bug#9553)
4023 (f90-find-breakpoint): Only break at whitespace inside a comment.
4024
78054a46
SM
40252011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * minibuffer.el (completion-file-name-table): Keep track of errors.
4028 (completion-table-with-predicate): Handle the case where pred1 is nil.
4029 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4030
345083b2
SM
40312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4032
e24e27be
SM
4033 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4034 (debugger-return-value): Signal an error if the debugging context does
4035 not await any return value.
4036
345083b2
SM
4037 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4038 * image-mode.el (image-toggle-display-text)
4039 (image-toggle-display-image): Stay away from evil `intangible'.
4040
08d355e3
LL
40412011-09-19 Leo Liu <sdl.web@gmail.com>
4042
4043 * replace.el (occur-revert-arguments): Make it permanent-local.
4044 (occur-mode): Don't call font-lock-defontify.
4045
f01da43f
CY
40462011-09-19 Chong Yidong <cyd@stupidchicken.com>
4047
4048 * net/ldap.el (ldap-search-internal): Don't push empty search
4049 result (Bug#9508).
4050
b6072fa6
SM
40512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4054
443d6696
MA
40552011-09-19 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4058 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4059
7cc6e154
JL
40602011-09-18 Juri Linkov <juri@jurta.org>
4061
4062 * buff-menu.el (Buffer-menu-mode-map):
4063 * dired.el (dired-mode-map):
4064 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4065 (lisp-interaction-mode-map):
4066 * emacs-lisp/package.el (package-menu-mode-map):
4067 * epa.el (epa-key-list-mode-map):
4068 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4069 (menu-bar-options-menu):
4070 * outline.el (outline-mode-menu-bar-map):
4071 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4072 * vc/vc-dir.el (vc-dir-menu-map):
4073 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4074 Capitalize non-function content words in menu item strings.
4075
4076 * dired.el (dired-mode-map): Add menu item for
4077 `image-dired-dired-toggle-marked-thumbs'.
4078
80302a81
JL
40792011-09-18 Juri Linkov <juri@jurta.org>
4080
4081 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4082 to `isearch-case-fold-search' and restore its original value
4083 after the `isearch-mode' call.
4084
46c5cf66
JL
40852011-09-18 Juri Linkov <juri@jurta.org>
4086
4087 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4088 because `zgrep' returns 1 for successful matches (bug#9226).
4089
d18b513b
JL
40902011-09-18 Juri Linkov <juri@jurta.org>
4091
4092 * info.el (Info-extract-menu-node-name): Check the second match
4093 for empty string (second test-case of bug#9528).
4094 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4095 intermediate nodes to the history (first test-case of bug#9528).
4096
72753f87
JL
40972011-09-18 Juri Linkov <juri@jurta.org>
4098
4099 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4100 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4101
c9384295
JL
41022011-09-18 Juri Linkov <juri@jurta.org>
4103
1154d12e
JB
4104 * info.el (Info-file-supports-index-cookies):
4105 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4106 outputs one more line for long file names (bug#4142).
c9384295 4107
d473dce8
CY
41082011-09-18 Chong Yidong <cyd@stupidchicken.com>
4109
4110 * newcomment.el (comment-normalize-vars): If prompting for
4111 comment-start, set comment-start-skip too (Bug#8424).
4112
2176854d
JB
41132011-09-18 Johan Bockgård <bojohan@gnu.org>
4114
4115 * icomplete.el: Fix previous fix of Bug#5849.
4116 (icomplete-mode): Don't set completion-show-inline-help.
4117 (icomplete-minibuffer-setup): Set completion-show-inline-help
4118 locally during icompletion.
4119
3aace4e4
CY
41202011-09-18 Chong Yidong <cyd@stupidchicken.com>
4121
c940224f
CY
4122 * woman.el (woman2-process-escapes): Don't delete unrecognized
4123 escapes (Bug#7843).
4124
3aace4e4
CY
4125 * files.el (inhibit-first-line-modes-regexps): Add image files.
4126 (hack-local-variables-prop-line): Return nil for malformed
4127 prop-lines (Bug#9044).
4128
710dec63
MA
41292011-09-18 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * net/tramp.el (top): Don't require 'shell.
4132 (tramp-methods): Fix docstring.
4133 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4134 Return complete remote file name. Handle "smb" case.
4135 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4136 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4137
4138 * net/tramp-compat.el (top): Require 'shell.
4139
4140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4141 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4142 `tramp-current-host'.
4143 (tramp-get-remote-tmpdir): Remove.
4144
4145 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4146 `tramp-tmpdir' entries.
4147 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4148 (tramp-smb-handle-file-attributes): Ignore errors.
4149 (tramp-smb-wait-for-output): Check also for process end.
4150
5d5ac8ec
LMI
41512011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4152
4153 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4154 when sending QUIT (bug#9312).
4155
8c0f49f0
CY
41562011-09-17 Chong Yidong <cyd@stupidchicken.com>
4157
4158 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4159 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4160 occur-mode-display-occurrence.
4161 (occur-edit-mode): Add usage message.
4162 (occur-cease-edit): New command.
4163 (occur-after-change-function): Use text properties to find the
4164 position of the prefix text.
4165 (occur-engine): Set stickiness of prefix text properties.
4166
8f1383f7
GM
41672011-09-17 Glenn Morris <rgm@gnu.org>
4168
4169 * progmodes/etags.el (complete-tag):
4170 Fix call to completion-in-region. (Bug#9526)
4171
744ba0e3
JL
41722011-09-17 Juri Linkov <juri@jurta.org>
4173
4174 * textmodes/ispell.el (ispell-word): Add to the error message
4175 the word, ispell program name and current dictionary (bug#9121).
4176 (ispell-tex-arg-end): Capitalize "error" in the error message.
4177
d9bbf400
AS
41782011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4179
4180 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4181 check. (Bug#4251)
4182
8da11505
JL
41832011-09-17 Juri Linkov <juri@jurta.org>
4184
4185 * window.el (window-safe-min-height, window-safe-min-width):
4186 Fix typos (followup to bug#9522).
4187
a91adc7e
SJ
41882011-09-17 Sven Joachim <svenjoac@gmx.de>
4189
4190 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4191
064f328a
EZ
41922011-09-16 Eli Zaretskii <eliz@gnu.org>
4193
4194 * simple.el (line-move): If goal-column is set, move by logical
4195 lines, not by display lines. (Bug#971)
4196 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4197 to reflect the above change.
4198
e69df516
SM
41992011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * image.el (imagemagick-register-types): Use regexp-opt.
4202
cbb0f9ab
CY
42032011-09-15 Chong Yidong <cyd@stupidchicken.com>
4204
4205 * window.el (display-buffer-base-action): Rename from
4206 display-buffer-default-action. Make default value empty.
4207 (display-buffer-overriding-action): Convert to defvar.
4208 (display-buffer-fallback-action): New var.
4209
25322144
CY
42102011-09-15 Chong Yidong <cyd@stupidchicken.com>
4211
4212 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4213 declaration.
4214 (package--add-to-archive-contents): If there is a duplicate entry
4215 with an older version, remove it.
4216 (package-menu-mark-delete, package-menu-mark-install)
4217 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4218 (package-menu-mark-obsolete-for-deletion):
4219 Use package-menu-get-status instead of a regexp search.
25322144
CY
4220 (package-menu-get-status): Use tabulated-list-entry.
4221 (package-menu-mark-upgrades): New command.
d770725a 4222 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4223 (package-menu-execute): Do installation before deletion.
4224 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4225 instead of checking major-mode.
4226 (package-menu--find-upgrades): New function.
4227
7520339c
LMI
42282011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4229
4230 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4231 passwords in the log buffer.
65a046c4
LMI
4232 (smtpmail-process-filter): Update the process marker so that the
4233 "broken by peer" status message is inserted in the right place.
7520339c 4234
d3c30954
SM
42352011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4236
3fe48822
SM
4237 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4238 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4239 bibtex-completion-at-point-function.
4240 (bibtex-completion-at-point-function): Use them.
4241
1b8b3954
SM
4242 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4243
d3c30954
SM
4244 * mpc.el (mpc-constraints-tag-lookup): New function.
4245 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4246 also to browser "album|playlist".
4247
72779976
JL
42482011-09-14 Juri Linkov <juri@jurta.org>
4249
4250 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4251 (isearch-edit-string): Use length of `isearch-string' when
4252 `isearch-fail-pos' returns nil.
4253 (isearch-message): Remove duplicate code and call
4254 `isearch-fail-pos' with arg `t'.
4255
a0bf2bcd
CY
42562011-09-14 Chong Yidong <cyd@stupidchicken.com>
4257
17bb0a2d
CY
4258 * replace.el (occur-mode-goto-occurrence): Don't force using other
4259 window (Bug#9499).
4260
a0bf2bcd
CY
4261 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4262
f678e0b6
MR
42632011-09-14 Martin Rudalics <rudalics@gmx.at>
4264
4265 * window.el (display-buffer-window): Remove.
4266 (display-buffer-record-window): Use help-setup window parameter
4267 instead of variable display-buffer-window.
4268 (display-buffer-function, special-display-buffer-names)
4269 (special-display-function): Mention help-setup parameter instead
4270 of display-buffer-window in doc-string.
d3c30954
SM
4271 * help.el (help-window-setup): New argument help-window.
4272 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4273 Reword some messages.
4274 (with-help-window): Pass window used for displaying the buffer
4275 to help-window-setup. Don't set display-buffer-window.
4276
8e39b2e8
GM
42772011-09-13 Glenn Morris <rgm@gnu.org>
4278
4279 * emacs-lisp/debug.el (debugger-make-xrefs):
4280 Preserve point. (Bug#9462)
4281
85e9c04b
CY
42822011-09-13 Chong Yidong <cyd@stupidchicken.com>
4283
4284 * window.el (window-deletable-p): Use next-frame.
4285
1b36ed6a
MR
42862011-09-13 Martin Rudalics <rudalics@gmx.at>
4287
4288 * window.el (window-auto-delete): Remove.
4289 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4290 dedication and previous buffers.
1b36ed6a
MR
4291 (switch-to-prev-buffer): Don't delete window.
4292 (delete-windows-on): Delete a window's frame if and only if the
4293 window is dedicated.
4294 (replace-buffer-in-windows): Delete buffer's window or frame if
4295 and only if window is dedicated.
4296 (quit-window): Handle quit-restore as before last change.
4d61f28d 4297 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4298
ef8ef9fb
CY
42992011-09-13 Chong Yidong <cyd@stupidchicken.com>
4300
4301 * window.el (window-deletable-p): Never delete the last frame on a
4302 given terminal.
4303
b2cba41e
GM
43042011-09-13 Glenn Morris <rgm@gnu.org>
4305
4306 * help.el (describe-key-briefly): Copy previous standard-output change.
4307
51553db6 43082011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4309
4310 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4311
b7556719
GM
43122011-09-13 Glenn Morris <rgm@gnu.org>
4313
4314 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4315 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4316
64b51947
CY
43172011-09-12 Chong Yidong <cyd@stupidchicken.com>
4318
4319 * dired-aux.el (dired-mark-read-string): Don't return default
4320 value on empty input (Bug#9361).
4321 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4322 Omit initial minibuffer contents.
4323 (dired-do-chmod): Signal an error on empty input.
4324 (dired-mark-read-string): Don't return default on empty input.
4325
4326 * files.el (file-modes-symbolic-to-number): Doc fix.
4327
393a301e
SM
43282011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * international/mule-cmds.el (ucs-completions): Remove.
4331 (read-char-by-name): Use complete-with-action instead; add metadata.
4332
fa5660f9
CY
43332011-09-11 Chong Yidong <cyd@stupidchicken.com>
4334
4335 * window.el (display-buffer--action-function-custom-type)
4336 (display-buffer--action-custom-type): New vars.
4337 (display-buffer-alist, display-buffer-default-action)
4338 (display-buffer-overriding-action): Add defcustom types.
4339
4a592f66
CY
4340 * frame.el (delete-other-frames): Doc fix (Bug#276).
4341
73d56dbd
LMI
43422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4343
4344 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4345
37ac18a3
CY
43462011-09-11 Chong Yidong <cyd@stupidchicken.com>
4347
4348 Change modes that used same-window-* vars to use switch-to-buffer.
4349
4350 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4351 Use switch-to-buffer.
4352
4353 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4354 (customize-browse, custom-buffer-create-other-window):
4355 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4356
4357 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4358 (Info-prev, Info-up, Info-speedbar-goto-node)
4359 (info-display-manual): Use switch-to-buffer.
4360 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4361
4362 * mail/sendmail.el (mail): Use switch-to-buffer.
4363 (mail-recover): Use switch-to-buffer-other-window.
4364
4365 * cmuscheme.el (run-scheme, switch-to-scheme):
4366 * ielm.el (ielm):
4367 * shell.el (shell):
4368 * net/rlogin.el (rlogin):
4369 * net/telnet.el (telnet, rsh):
4370 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4371
10195bd6
AS
43722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4373
4374 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4375
b322f63a
LMI
43762011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4377
39d7fed6
LMI
4378 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4379 so don't mention it (bug#9301).
ba5a81f1 4380 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4381
ee0e9f11
LMI
4382 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4383 match `x', `w32' and `ns', like the manual says (bug#9029).
4384
0b1c89c1 4385 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4386 (process-kill-buffer-query-function): Mention the buffer name in
4387 the query.
0b1c89c1 4388
77549ea8
LMI
4389 * image-mode.el (image-next-line): The line parameter is mandatory
4390 (bug#9258).
4391
803ef892
LMI
4392 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4393 which can be useful (bug#9301).
4394
12980837
LMI
4395 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4396
91054f8f
LMI
4397 * subr.el (match-string): Mention that the current buffer should
4398 be the same as the search was done in (bug#9282).
4399
b322f63a
LMI
4400 * facemenu.el: Disable the remove-* commands if the mark isn't
4401 active (bug#9162).
4402
3199b96f
CY
44032011-09-10 Chong Yidong <cyd@stupidchicken.com>
4404
4405 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4406 of display-buffer.
4407 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4408
4409 * replace.el (occur-mode-goto-occurrence)
4410 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4411 and display-buffer.
4412
4413 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4414 display-buffer.
4415
4416 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4417 special-display and same-window variables.
4418 (mail-other-window): Use switch-to-buffer-other-window.
4419 (mail-other-frame): USe switch-to-buffer-other-frame.
4420
393a301e
SM
4421 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4422 Use display-buffer-other-frame.
3199b96f
CY
4423 (gdb-display-gdb-buffer): Use pop-to-buffer.
4424
4425 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4426
4427 * progmodes/python.el: Don't set same-window-buffer-names.
4428
4429 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4430
4431 * window.el (display-buffer-alist): Add *Python*.
4432
8319e0bf
CY
44332011-09-10 Chong Yidong <cyd@stupidchicken.com>
4434
4435 * window.el (display-buffer-alist): Add entry for buffers
4436 previously handled same-window-*.
4437 (display-buffer-alist, display-buffer-default-action)
4438 (display-buffer-overriding-action): Mark as risky.
4439 (display-buffer-alist): Document action function changes.
4440 (display-buffer--same-window-action)
4441 (display-buffer--other-frame-action): New variables.
4442 (switch-to-buffer, display-buffer-other-frame): Use them.
4443 (display-buffer): Rename reuse-frame entry to reusable-frames.
4444 (display-buffer-reuse-selected-window): Function deleted.
4445 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4446 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4447 (display-buffer-special): New function.
4448 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4449 display-buffer-reuse-or-pop-window. Split off special-display
4450 part into display-buffer-special.
4451 (display-buffer-use-some-window): Don't perform any special
4452 pop-up-frames handling.
4453 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4454 (display-buffer--maybe-same-window): Rename from
0d3ff375 4455 display-buffer-maybe-same-window.
8319e0bf 4456
919a69aa
CY
4457 * info.el: Don't set same-window-regexps.
4458 (info-setup): New function.
4459 (info-other-window, info): Call it.
4460
4461 * cus-edit.el: Don't set same-window-regexps.
4462 (customize-group): New argument.
4463 (customize-group-other-window): Use it.
4464 (customize-face, customize-face-other-window): Likewise.
4465 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4466
8319e0bf
CY
4467 * net/rlogin.el:
4468 * net/telnet.el:
4469 * progmodes/gud.el: Don't set same-window-regexps.
4470
4471 * cmuscheme.el:
4472 * ielm.el:
4473 * shell.el:
4474 * mail/sendmail.el:
4475 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4476
25173000
JL
44772011-09-10 Juri Linkov <juri@jurta.org>
4478
4479 * isearch.el (isearch-edit-string): Remove obsolete mention of
4480 `C-w' (`isearch-yank-word-or-char') from docstring.
4481 (isearch-query-replace): Fix typo in docstring (bug#9466).
4482
056e44ef
JL
44832011-09-10 Juri Linkov <juri@jurta.org>
4484
4485 * paren.el (show-paren-function): Don't show escaped parens.
4486 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4487
c3760c17
EZ
44882011-09-10 Eli Zaretskii <eliz@gnu.org>
4489
4490 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4491 (mm-default-file-encoding): Remove autoload forms, they are
4492 replaced with autoload cookies in mml.el and mm-encode.el.
4493 (mail-add-attachment): New command.
4494 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4495 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4496 the doc string.
4497 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4498
fece895e
RT
44992011-09-10 Reuben Thomas <rrt@sc3d.org>
4500
e69df516
SM
4501 * simple.el (count-words-region): Use buffer if there's no region
4502 (bug#9429).
fece895e 4503
5e68ce4a
JL
45042011-09-09 Juri Linkov <juri@jurta.org>
4505
4506 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4507 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4508 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4509
0a6b9622
AM
45102011-09-09 Alan Mackenzie <acm@muc.de>
4511
4512 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4513 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4514
14a29deb
EZ
45152011-09-09 Eli Zaretskii <eliz@gnu.org>
4516
4517 Fix for Savannah bug#9392.
4518 * simple.el (mail-encode-mml): New defvar.
4519
4520 * mail/rmail.el (mail-encode-mml): Add a defvar.
4521 (rmail-enable-mime-composing): Default to t.
4522 (rmail-forward): Use MIME method of forwarding only if both
4523 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4524 Set mail-encode-mml non-nil if the MIME method was used.
4525
4526 * mail/sendmail.el (mml-to-mime): Add autoload form.
4527 (mail-encode-mml): Add a defvar.
4528 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4529 to nil.
4530 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4531 message through mml-to-mime, and reset mail-encode-mml to nil.
4532
28c45130
GM
45332011-09-09 Glenn Morris <rgm@gnu.org>
4534
4535 * woman.el (woman-if-body): When processing an .el block,
4536 do not delete the next .el block as well. (Bug#9447)
69f4b618 4537 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4538
9b1c252e
MR
45392011-09-08 Martin Rudalics <rudalics@gmx.at>
4540
4541 * window.el (window-deletable-p): Make sure window is live before
4542 invoking window-prev-buffers.
4543
567457e3
LL
45442011-09-08 Leo Liu <sdl.web@gmail.com>
4545
4546 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4547
97f05794
JL
45482011-09-08 Juri Linkov <juri@jurta.org>
4549
4550 * progmodes/compile.el (compilation-environment): Make it
4551 a defcustom (bug#8340).
4552
8b0874b5
MR
45532011-09-08 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (frame-auto-delete): Rename to window-auto-delete.
4556 Make it control auto-deletion of windows and/or frames.
4557 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4558 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4559 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4560 Rewrite handling of case when window/frame can be deleted.
4561 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4562 argument t. (Bug#9456)
8b0874b5 4563
4feb6e73
CY
45642011-09-07 Chong Yidong <cyd@stupidchicken.com>
4565
4566 * help-mode.el (help-mode): Restore autoload.
4567
91ab9c13
JL
45682011-09-07 Juri Linkov <juri@jurta.org>
4569
4570 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4571 `compilation-environment'. Set buffer-local
4572 `compilation-environment' to `thisenv' later after (funcall mode).
4573 (Bug#8340)
4574
4575 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4576 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4577 instead of replacing its value. (Bug#8340)
4578
0527e251
JL
45792011-09-07 Juri Linkov <juri@jurta.org>
4580
4581 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4582 based on text properties put by `grep-filter' instead of matching
4583 escape sequences.
4584 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4585 to the value of `grep-error-screen-columns' (bug#9438).
4586
249f792c
JL
45872011-09-07 Juri Linkov <juri@jurta.org>
4588
4589 * simple.el (next-error-highlight, next-error-highlight-no-select):
4590 Doc fix (bug#9432).
4591
ff7271b9
OT
45922011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4593
4594 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4595 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4596
183fc730
LL
45972011-09-07 Leo Liu <sdl.web@gmail.com>
4598
4599 * net/rcirc.el (rcirc-mode): Conditionally initialize
4600 rcirc-input-ring.
4601
77694924
SM
46022011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * emacs-lisp/find-func.el (find-function-C-source): Only set
4605 find-function-C-source-directory after checking that we found a source
4606 file there (bug#9440).
4607
d809b8eb
AM
46082011-09-06 Alan Mackenzie <acm@muc.de>
4609
4610 * isearch.el (isearch-other-meta-char): Wherever a key list is
4611 unread, "unread" the prefix arg, too. This fixes bug #8901.
4612
453de99f
OG
46132011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4614
4615 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4616
90439906
JL
46172011-09-05 Juri Linkov <juri@jurta.org>
4618
4619 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4620
f62bd846
JL
46212011-09-05 Juri Linkov <juri@jurta.org>
4622
4623 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4624 keeping point where processing of grep matches begins, and
4625 continue to delete remaining escape sequences from the same point.
4626 (grep-filter): Make leading zero optional in "0?1;31m" because
4627 git-grep emits "\033[1;31m" escape sequences unlike expected
4628 "\033[01;31m" as GNU Grep does (bug#9408).
4629 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4630
045820ec
JL
46312011-09-05 Juri Linkov <juri@jurta.org>
4632
4633 * subr.el (y-or-n-p): Capitalize "yes".
4634
f5e29b9b
MA
46352011-09-04 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4638 `tramp-cache-unload-hook' where appropriate.
4639 (tramp-methods): Rename `tramp-remote-sh' to
4640 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4641 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4642
4643 * net/tramp-sh.el (top): Don't require 'shell.
4644 (tramp-methods): Add `tramp-remote-shell' and
4645 `tramp-remote-shell-args' entries.
4646 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4647 (tramp-sh-handle-shell-command): Remove.
4648 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4649 Use `tramp-remote-shell'.
4650
2784c434
CY
46512011-09-03 Chong Yidong <cyd@stupidchicken.com>
4652
393a301e 4653 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4654 (sendmail-query-once): Save directly to send-mail-function.
4655 Update message-send-mail-function too.
4656
4657 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4658
464cdf56
CS
46592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4660
4661 * progmodes/python.el (python-mode-map): Use correct function to
4662 start python interpreter from menu-bar (as reported by Geert
4663 Kloosterman).
4664 (inferior-python-mode-map): Fix typo.
393a301e 4665 (python-shell-map): Remove.
464cdf56 4666
d37e5c87
DD
46672011-09-03 Deniz Dogan <deniz@dogan.se>
4668
4669 * net/rcirc.el (rcirc-print): Simplify code for
4670 rcirc-scroll-show-maximum-output. There is no need to walk
4671 through all windows to find the right one.
4672
f3ada0ee
CS
46732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4674
4675 * help.el (help-return-method): Doc fix.
4676
1f3c99ca
MR
46772011-09-03 Martin Rudalics <rudalics@gmx.at>
4678
4679 * window.el (window-deletable-p): Don't return a non-nil value
4680 when there's a buffer that was shown in the window before.
4681 (Bug#9419)
393a301e
SM
4682 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4683 Set window's previous buffers to nil.
1f3c99ca 4684
a3cf097f
EZ
46852011-09-03 Eli Zaretskii <eliz@gnu.org>
4686
4687 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4688 newline before and after the tag line, so it doesn't interfere
4689 with determining the paragraph direction of bidirectional text.
4690
3d03de90
LL
46912011-09-03 Leo Liu <sdl.web@gmail.com>
4692
4693 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4694
c3313451
CY
46952011-09-02 Chong Yidong <cyd@stupidchicken.com>
4696
393a301e 4697 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4698 (pop-to-buffer): Change interactive spec. Pass second argument
4699 directly to display-buffer.
4700 (display-buffer): Fix interactive spec. Use functionp to
4701 distinguish between a function and a list of functions.
4702
4703 * abbrev.el (edit-abbrevs):
4704 * arc-mode.el (archive-extract):
4705 * autoinsert.el (auto-insert):
4706 * bookmark.el (bookmark-bmenu-list):
4707 * files.el (find-file):
4708 * view.el (view-buffer):
4709 * progmodes/compile.el (compilation-goto-locus):
4710 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4711
89894cd8
CY
47122011-09-02 Chong Yidong <cyd@stupidchicken.com>
4713
4714 * window.el (display-buffer-alist): Doc fix.
4715 (display-buffer): Add docstring. Don't treat
4716 display-buffer-default specially.
4717 (display-buffer-reuse-selected-window)
4718 (display-buffer-same-window, display-buffer-maybe-same-window)
4719 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4720 (display-buffer-pop-up-window)
4721 (display-buffer-reuse-or-pop-window)
4722 (display-buffer-use-some-window): New functions.
4723 (display-buffer-default-action): Use them.
393a301e 4724 (display-buffer-default): Delete.
89894cd8
CY
4725 (pop-to-buffer-1): Fix choice of actions.
4726
ae0bc9fb
SM
47272011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * minibuffer.el (completion--insert-strings): Don't get confused by
4730 completion entries that end with an LF char.
4731
e9d90883
EZ
47322011-09-01 Eli Zaretskii <eliz@gnu.org>
4733
4734 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4735
437014c8
CY
47362011-09-01 Chong Yidong <cyd@stupidchicken.com>
4737
4738 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4739 (display-buffer-same-window, display-buffer-other-window):
4740 New functions.
437014c8
CY
4741 (pop-to-buffer-1): New function. Use the above.
4742 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4743 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4744
4745 * view.el (view-buffer-other-window, view-buffer-other-frame):
4746 Just use pop-to-buffer.
4747
a5e063d5
TV
47482011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4749
4750 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4751
793d32bb
WH
47522011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4753
4754 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4755
d65e4c15
RS
47562011-08-31 Richard Stallman <rms@gnu.org>
4757
4758 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4759 of the separation of rmail-view-buffer from rmail-buffer.
4760 If you say no to "replace original", the decrypt is in the
4761 view buffer. If you say yes, the decrypt goes into the
4762 rmail buffer also.
4763
f818cd2a
MR
47642011-08-31 Martin Rudalics <rudalics@gmx.at>
4765
4766 * window.el (display-buffer-window): Rewrite doc-string.
4767 (display-buffer-record-window): New function.
4768 (display-buffer-macro-specifiers)
4769 (display-buffer-even-window-sizes, display-buffer-set-height)
4770 (display-buffer-set-width, display-buffer-in-window)
4771 (display-buffer-reuse-window, display-buffer-split-specifiers)
4772 (display-buffer-side-specifiers, display-buffer-split-window-1)
4773 (display-buffer-split-window, display-buffer-split-atom-window)
4774 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4775 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4776 (display-buffer-other-window-means-other-frame)
4777 (display-buffer-normalize-special)
4778 (display-buffer-normalize-default)
4779 (display-buffer-normalize-argument)
4780 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4781 (display-buffer-normalize-specifiers, display-buffer-frame)
4782 (display-buffer-same-window, display-buffer-same-frame)
4783 (display-buffer-other-window)
4784 (display-buffer-same-frame-other-window)
4785 (display-buffer-other-frame, pop-to-buffer-same-window)
4786 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4787 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4788 (switch-to-buffer-same-frame)
4789 (switch-to-buffer-other-window-same-frame)
4790 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4791 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4792 (display-buffer-alist-set): Remove.
4793 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4794 (special-display-regexps, special-display-function):
4795 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4796 parameter.
4797 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4798 (special-display-frame-alist, special-display-popup-frame)
4799 (same-window-buffer-names, same-window-regexps, same-window-p)
4800 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4801 (split-window-preferred-function, split-height-threshold)
4802 (split-width-threshold, window-splittable-p)
4803 (split-window-sensibly, window--try-to-split-window)
4804 (window--frame-usable-p, even-window-heights)
4805 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4806 (window--display-buffer-2, display-buffer-other-frame):
4807 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4808 (display-buffer-default, display-buffer-assq-regexp): New functions.
4809 (display-buffer-alist): Rewrite doc-string.
4810 (display-buffer-default-action)
4811 (display-buffer-overriding-action): New variables.
4812 (display-buffer, switch-to-buffer): Rewrite.
4813 (pop-to-buffer): Restore Emacs 23 behavior but use
4814 window-normalize-buffer-to-display.
4815 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4816 Restore Emacs 23 behavior but use
4817 window-normalize-buffer-to-switch-to.
4818 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
4819 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4820 Rewrite using Emacs 23 options.
f818cd2a 4821
5bc3b51d
MA
48222011-08-31 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/tramp.el (tramp-root-regexp): Remove.
4825 (tramp-completion-file-name-regexp-unified)
4826 (tramp-completion-file-name-regexp-separate)
4827 (tramp-completion-file-name-regexp-url): Don't use leading volume
4828 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4829 (tramp-drop-volume-letter): Simplify definition.
4830 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4831
b1a4f8e1
SM
48322011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4835 (bug#9356).
4836
5664fa7b
RT
48372011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4838
b1a4f8e1 4839 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4840
9a45d6c3
JL
48412011-08-29 Juri Linkov <juri@jurta.org>
4842
4843 * isearch.el (isearch-done): Don't display message "Mark saved"
4844 when arg `edit' is non-nil to prevent its flicker in the echo area.
4845
fb87e0fb
CY
48462011-08-28 Chong Yidong <cyd@stupidchicken.com>
4847
4848 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4849 obsolete packages for deletion.
4850
09ac1c2a
CS
48512011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4852
4853 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4854 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4855 view-mode from help-mode.
4856 (help-xref-override-view-map): Remove.
4857 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4858 view-mode is not used anymore.
4859
7a1ff57f
CY
48602011-08-28 Chong Yidong <cyd@stupidchicken.com>
4861
4862 * server.el (server-port): Doc fix.
4863
b9696605
CY
4864 * cus-theme.el (custom-theme-choose-mode): Inherit from
4865 special-mode (Bug#9124).
4866 (custom-theme-choose-mode-map): Add special-mode to parent.
4867
ef8cdf8c
AM
48682011-08-28 Alan Mackenzie <acm@muc.de>
4869
4870 * progmodes/cc-fonts.el
4871 (c-make-font-lock-BO-decl-search-function): New function.
4872 (c-basic-matchers-after - "Fontify the clauses after various
4873 keywords"): Extract the three keyword lists for the 3 erroneous
4874 constructs from the list of four, and use the new function above
4875 in place of an old one.
4876
27de4e20
DD
48772011-08-28 Deniz Dogan <deniz@dogan.se>
4878
4879 * net/rcirc.el (rcirc-insert-prev-input)
4880 (rcirc-insert-next-input): Remove unused argument.
4881
356a3681
SM
48822011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4885
3fc9b218
AM
48862011-08-27 Alan Mackenzie <acm@muc.de>
4887
4888 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4889 handle function pointer parameters properly.
4890
538a061c
MR
48912011-08-27 Martin Rudalics <rudalics@gmx.at>
4892
4893 * window.el (display-buffer-reuse-window): Fix case where
4894 selected window was reused with non-nil OTHER-WINDOW argument.
4895 (Bug#9381)
4896
35b1c40c
DD
48972011-08-27 Deniz Dogan <deniz@dogan.se>
4898
4899 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4900 oftc's NickServ messages.
4901
2f6a3e79
GM
49022011-08-27 Glenn Morris <rgm@gnu.org>
4903
4904 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4905
7254299e
CY
49062011-08-26 Chong Yidong <cyd@stupidchicken.com>
4907
4908 * emacs-lisp/package.el (package-install): Call package-initialize
4909 if called interactively.
4910
f8ccf167
LL
49112011-08-26 Leo Liu <sdl.web@gmail.com>
4912
4913 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4914
3e8cd5ce
JL
49152011-08-25 Juri Linkov <juri@jurta.org>
4916
4917 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4918 `search-whitespace-regexp' (bug#9364).
4919
93eb7113
JL
49202011-08-25 Juri Linkov <juri@jurta.org>
4921
4922 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4923 `regexp-search-ring' to their global values to protect from
4924 updating by `read-from-minibuffer' (bug#9185).
4925
f65d1611
JL
49262011-08-25 Juri Linkov <juri@jurta.org>
4927
4928 * textmodes/ispell.el (ispell-command-loop): Add newline
4929 at the end of the "Use option `i'..." line.
4930
f1cf7a31
JL
49312011-08-25 Juri Linkov <juri@jurta.org>
4932
4933 * battery.el (display-battery-mode): If `battery-status-function'
4934 or `battery-mode-line-format' is nil, display the message and set
4935 `display-battery-mode' to nil (bug#9363).
4936
0c95fcf7
EZ
49372011-08-25 Eli Zaretskii <eliz@gnu.org>
4938
4939 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4940 bidi-string-mark-left-to-right; they are unnecessary now.
4941
a2ebe600
DD
49422011-08-25 Deniz Dogan <deniz@dogan.se>
4943
4944 * net/quickurl.el: Documentation typo fixes.
4945
e4ed06f1
CY
49462011-08-25 Chong Yidong <cyd@stupidchicken.com>
4947
4948 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4949
e5f1c99e
GM
49502011-08-25 Glenn Morris <rgm@gnu.org>
4951
b2948976
GM
4952 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4953
e5f1c99e
GM
4954 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4955 (smtpmail-via-smtp): Handle nil response from smtp.
4956
f22f4808
JL
49572011-08-24 Juri Linkov <juri@jurta.org>
4958
4959 * proced.el (proced-marked): Inherit from `error' instead of
4960 `font-lock-warning-face'.
4961
4962 * ibuffer.el (ibuffer-marked-face): Change default face from
4963 `font-lock-warning-face' to `warning'.
4964 (ibuffer-deletion-face): Change default face from
4965 `font-lock-type-face' to `error'.
4966
4967 * battery.el (battery-update): Use the face `error' instead of
4968 `font-lock-warning-face' (bug#6117).
4969
6a93965e
JL
49702011-08-24 Juri Linkov <juri@jurta.org>
4971
4972 * faces.el (success): Change face color from "Green3" to
4973 "ForestGreen" on light background (bug#9353).
4974
1ed43b09
CY
49752011-08-24 Chong Yidong <cyd@stupidchicken.com>
4976
5664fa7b
RT
4977 * window.el (quit-window): Rename from quit-restore-window.
4978 Use same arglist as old quit-window.
1ed43b09
CY
4979 (frame-auto-delete): Doc fix.
4980
4981 * view.el (view-mode-exit): Use quit-window.
4982
11dcdbb2
JL
49832011-08-24 Juri Linkov <juri@jurta.org>
4984
4985 * isearch.el (isearch-ring-adjust1): Start visiting previous
4986 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4987 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4988 for empty search string (when the last search string is reused
4989 automatically) to adjust the isearch ring to the last element and
4990 prepare the correct index for further M-p commands (bug#9185).
4991
de62b4df
KH
49922011-08-24 Kenichi Handa <handa@m17n.org>
4993
4994 * international/ucs-normalize.el: If decomposition property of
4995 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4996 nil.
4997 (nfd, nfkd): Likewise.
4998
963b492b
SM
49992011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5002 from process filters aren't reliably transmitted to the surrounding
5003 accept-process-output.
5004 (mpc-proc-check): New function.
5005 (mpc-proc-sync): Use it (bug#8293)
5006
93b6b5e1
SM
50072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5010 Add compatibility functions (bug#9313).
5011
bca633fb
EZ
50122011-08-23 Eli Zaretskii <eliz@gnu.org>
5013
b177498a
EZ
5014 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5015
6df6ae42 5016 * international/uni-bidi.el: Regenerate.
bca633fb 5017
0902a04e
KH
50182011-08-23 Kenichi Handa <handa@m17n.org>
5019
5020 * international/charprop.el:
5021 * international/uni-bidi.el:
5022 * international/uni-category.el:
5023 * international/uni-combining.el:
5024 * international/uni-comment.el:
5025 * international/uni-decimal.el:
5026 * international/uni-decomposition.el:
5027 * international/uni-digit.el:
5028 * international/uni-lowercase.el:
5029 * international/uni-mirrored.el:
5030 * international/uni-name.el:
5031 * international/uni-numeric.el:
5032 * international/uni-old-name.el:
5033 * international/uni-titlecase.el:
5034 * international/uni-uppercase.el: Regenerate.
5035
3bbf23bc
MR
50362011-08-23 Martin Rudalics <rudalics@gmx.at>
5037
5038 * help.el (help-window-setup): Fix message displayed when other
5039 window is reused. (Bug#9341)
5040
b3fd59bd
SM
50412011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5042
1802e444
SM
5043 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5044 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5045
b3fd59bd
SM
5046 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5047 Mark obsolete.
5048 * shell.el (shell-parse-pcomplete-arguments): New function.
5049 (shell-completion-vars): Use it instead (bug#9160).
5050
4eb61348
SM
50512011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5052
867cab74
SM
5053 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5054 strings and comments (bug#9333).
5055
4eb61348
SM
5056 * emacs-lisp/debug.el (debug-arglist): New function.
5057 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5058 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5059
262a1439
JL
50602011-08-22 Juri Linkov <juri@jurta.org>
5061
56ee679c
JL
5062 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5063 Revert regexp that highlights output switches to its old
5064 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5065
262a1439
JL
5066 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5067 to check for empty output (bug#9226).
5068
f13f86fb
CY
50692011-08-22 Chong Yidong <cyd@stupidchicken.com>
5070
5071 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5072 symbol-constituent as the default, as that stops font-lock from
5073 working properly (Bug#8843).
5074
c65c9622
LMI
50752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
5077 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5078 `coding-system-for-*' around the process open call to avoid
5079 auth-source side effects.
e7f2c178 5080 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5081 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5082 probe hangs.
c65c9622 5083
23a8a5ab
CY
50842011-08-21 Chong Yidong <cyd@stupidchicken.com>
5085
ff98b2dd
CY
5086 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5087
23a8a5ab
CY
5088 * emacs-lisp/find-func.el (find-function-noselect): New arg
5089 lisp-only.
5090
5091 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5092 signal an error for built-in functions (Bug#6664).
5093
f5e3c598
LMI
50942011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
5096 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5097 (smtpmail-try-auth-methods): Use it.
5098
a3f2468a
CY
50992011-08-21 Chong Yidong <cyd@stupidchicken.com>
5100
2c34e8da
CY
5101 * font-lock.el (font-lock-fontify-region)
5102 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5103 (font-lock-default-unfontify-buffer)
5104 (font-lock-default-fontify-region)
5105 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5106
b3fd59bd
SM
5107 * progmodes/compile.el (compilation-error-properties):
5108 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5109 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5110 `ant' regexp.
ee31aabc 5111
a3f2468a
CY
5112 * net/browse-url.el (browse-url-firefox): Don't call
5113 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5114
8e999f70
GM
51152011-08-20 Glenn Morris <rgm@gnu.org>
5116
c21a496a
GM
5117 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5118
59ee0542
GM
5119 * tutorial.el (tutorial--default-keys): Update some default bindings.
5120
8e999f70
GM
5121 * files.el (hack-local-variables): Fully ignore case for "mode:".
5122
e3715033
AM
51232011-08-20 Alan Mackenzie <acm@muc.de>
5124
5125 Resolve invalid use of a regexp in regexp-opt.
5126
4d61f28d
JB
5127 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5128 detection for a java annotation.
e3715033 5129
4d61f28d 5130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5131 detection for a java annotation.
5132
4d61f28d
JB
5133 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5134 handling for java.
e3715033
AM
5135 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5136
04ed2e9c
CY
51372011-08-20 Chong Yidong <cyd@stupidchicken.com>
5138
5139 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5140 (Bug#9274).
5141
826cee64
AM
51422011-08-20 Alan Mackenzie <acm@muc.de>
5143
58179cce 5144 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5145 such a construct. Mainly for when jit-lock etc. starts a chunk
5146 here.
5147
58179cce 5148 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5149 variable.
58179cce 5150 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5151 c-make-font-lock-search-function.
5152 (c-make-font-lock-search-function): Use the above function.
5153 (c-make-font-lock-context-search-function): New function.
5154 (c-cpp-matchers): Enhance the preprocessor expression case with
5155 the above function
5156 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5157 which takes an expression.
5158
5159 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5160
13009bd8
MR
51612011-08-20 Martin Rudalics <rudalics@gmx.at>
5162
5163 * window.el (display-buffer-reuse-window)
5164 (display-buffer-pop-up-window): Don't reuse or split a side
5165 window.
5166
9234ff7f
GM
51672011-08-19 Glenn Morris <rgm@gnu.org>
5168
5169 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5170 Downcase "Mode:". (Bug#9331)
9234ff7f 5171
f635daa1
CY
51722011-08-18 Chong Yidong <cyd@stupidchicken.com>
5173
5174 * international/characters.el: Add L and R categories.
5175
5176 * subr.el (bidi-string-mark-left-to-right): Rename from
5177 string-mark-left-to-right. Use category search.
5178
5179 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5180
bc987f8b
JL
51812011-08-18 Juri Linkov <juri@jurta.org>
5182
5183 * faces.el (error, warning, success): New faces with definitions
5184 copied from old default values of `font-lock-warning-face',
5185 `compilation-warning', `compilation-info' (bug#6117).
5186
5187 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5188
5189 * progmodes/compile.el (compilation-error): Inherit from `error'.
5190 (compilation-warning): Inherit from `warning'.
5191 (compilation-info): Inherit from `success'.
5192
5193 * dired.el (dired-marked): Inherit from `warning'.
5194 (dired-flagged): Inherit from `error'.
5195
57173b96
LMI
51962011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
3e79eb87
LMI
5198 * mail/smtpmail.el (auth-source): Require to avoid problems with
5199 binding variables (bug#9298). Also clean up some unused
5200 autoloads.
5201
b3fd59bd
SM
5202 * net/network-stream.el (network-stream-open-starttls):
5203 Support using starttls.el without using gnutls-cli.
57173b96 5204
02b404de
JL
52052011-08-17 Juri Linkov <juri@jurta.org>
5206
5207 * progmodes/grep.el (rgrep): Handle the case when
5208 `grep-find-command' is a cons cell (bug#9278).
5209
8c9177f2
MR
52102011-08-17 Martin Rudalics <rudalics@gmx.at>
5211
5212 * window.el (display-buffer-pop-up-frame): Run frame creation
5213 function with BUFFER current (as special-display-popup-frame
5214 does). Reported by Drew Adams.
5215
3644a0ab
DU
52162011-08-17 Daiki Ueno <ueno@unixuser.org>
5217
5218 * epa-mail.el: Simplify GnuPG group expansion using
5219 epg-expand-group.
5220 (epa-mail-group-alist, epa-mail-group-modtime)
5221 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5222 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5223 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5224 Remove.
5225
5e617bc2 52262011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5227
5228 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5229
9c4aeabf
AM
52302011-08-16 Alan Mackenzie <acm@muc.de>
5231
5232 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5233 Correct, to avoid the inside of macros.
5234
3a99bf64
RS
52352011-08-16 Richard Stallman <rms@gnu.org>
5236
04963aa8
RS
5237 * epa-mail.el: Handle GnuPG group definitions.
5238 (epa-mail-group-alist, epa-mail-group-modtime)
5239 (epa-mail-gnupg-conf-file): New variables.
5240 (epa-mail-parse-groups, epa-mail-sync-groups)
5241 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5242 (epa-mail-expand-recipients): New functions.
5243 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5244
177549d0
RS
5245 * mail/rmail.el (rmail-epa-decrypt): New command.
5246
fe38beef
RS
5247 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5248 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5249 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5250 (epa-decrypt-armor-in-region): Make error message clearer.
5251
934eacb9
SM
52522011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5255 and "a2b" to "ab" for `prefix'.
5256
d024fb4e
CY
52572011-08-14 Chong Yidong <cyd@stupidchicken.com>
5258
5259 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5260 filter groups.
de148fee
CY
5261 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5262 Fourquet (Bug#8804).
d024fb4e 5263
62f1ca49
JB
52642011-08-12 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * startup.el (argi): Declare as global variable (bug#9275).
5267
9ccaaa4b
CY
52682011-08-12 Chong Yidong <cyd@stupidchicken.com>
5269
5270 * subr.el (string-mark-left-to-right): Search the entire string
5271 for RTL script, not just the terminating character. Doc fix.
5272
a3dae87a
SM
52732011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5274
6cd18349
SM
5275 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5276 New function.
5277 (js--regexp-literal, js-syntax-propertize-function): Remove.
5278 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5279 (js-mode-map): Don't rebind electric keys.
5280 (js-insert-and-indent): Remove.
5281 (js-mode): Setup electric-layout and electric-indent instead.
5282
a3dae87a
SM
5283 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5284
9d5cb631
DU
52852011-08-12 Daiki Ueno <ueno@unixuser.org>
5286
5287 * epa.el (epa-progress-callback-function): Fix the logic of
5288 displaying progress.
5289 * epa-file.el (epa-file-insert-file-contents): Make progress
5290 display more user-friendly.
5291 (epa-file-write-region): Ditto.
5292
3e26a4a2
CY
52932011-08-10 Chong Yidong <cyd@stupidchicken.com>
5294
5295 * subr.el (string-mark-left-to-right): New function.
5296
5297 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5298 Use string-mark-left-to-right.
5299 (list-buffers-noselect): Caller changed.
5300
a3dae87a
SM
5301 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5302 Use string-mark-left-to-right.
3e26a4a2
CY
5303 (tabulated-list-print): Recenter after moving point.
5304
ac8cf6e6
JL
53052011-08-10 Juri Linkov <juri@jurta.org>
5306
5307 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5308 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5309 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5310
8d96c9a4
CY
53112011-08-09 Chong Yidong <cyd@stupidchicken.com>
5312
5313 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5314 (Bug#7554).
5315
7be1c708 53162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5317
5318 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5319 character. (Bug#6594)
5320
37e11a63
CY
53212011-08-08 Chong Yidong <cyd@stupidchicken.com>
5322
839dde57
CY
5323 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5324 (image-dired--with-db-file): New macro.
5325 (image-dired-write-tags, image-dired-remove-tag)
5326 (image-dired-create-gallery-lists, image-dired-write-comments)
5327 (image-dired-get-comment, image-dired-mark-tagged-files)
5328 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5329 (image-dired-gallery-generate): Use insert-file-contents.
5330
37e11a63
CY
5331 * time.el (display-time-world-list, display-time-world-display):
5332 * time-stamp.el (time-stamp-string):
5333 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5334 set-time-zone-rule (Bug#7337).
5335
0b4946c4
DU
53362011-08-08 Daiki Ueno <ueno@unixuser.org>
5337
5338 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5339 (epg-error-to-string, epg-errors-to-string): New function.
5340 (epg-wait-for-completion): Reverse errors list.
5341 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5342 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5343 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5344 (epg-sign-keys, epg-generate-key-from-file)
5345 (epg-generate-key-from-string): Format errors by using
5346 epg-errors-to-string (bug#9255).
5347 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5348
75bfc667
JL
53492011-08-07 Juri Linkov <juri@jurta.org>
5350
5351 * faces.el (list-faces-display): Remove extra angle bracket
5352 from `help-mode-map'.
5353
5354 * info.el (Info-history-toc-nodes): Doc fix.
5355
5356 * longlines.el (longlines-mode): Doc fix.
5357
673e08bb
SM
53582011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5359
4640dd88
SM
5360 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5361 of statements and in a few more cases (bug#9183).
5362
673e08bb
SM
5363 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5364 New functions.
5365 (cl-transform-lambda): Use them (bug#9239).
5366
89b3f019
MR
53672011-08-05 Martin Rudalics <rudalics@gmx.at>
5368
5369 * window.el (display-buffer-same-window)
5370 (display-buffer-same-frame, display-buffer-other-window)
5371 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5372 (pop-to-buffer-other-window)
5373 (pop-to-buffer-same-frame-other-window)
5374 (pop-to-buffer-other-frame): Make them defuns.
5375 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5376
640c8776
SM
53772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * subr.el (make-composed-keymap): Move from C. Change calling
5380 convention, and improve docstring to bring attention to a subtle point.
5381 * minibuffer.el (completing-read-default): Adjust accordingly.
5382
63648a95
MA
53832011-08-03 Michael Albinus <michael.albinus@gmx.de>
5384
5385 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5386 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5387
5388 * net/trampver.el: Update release number.
5389
b796c9b7
SM
53902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5393 "in" (bug#9190).
5394
2239d7d5
LMI
53952011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5396
e07dd7c3
LMI
5397 * mail/sendmail.el (sendmail-query-once): Restore the current
5398 buffer after querying (bug#9074).
5399
0e6a2bd7
LMI
5400 * dired.el (dired-flagged): Use different faces for marked and
5401 flagged files (bug#6117).
5402
ce887515
LMI
5403 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5404 (bug#4433).
5405
92f2affc
LMI
5406 * ido.el (ido-mode): Switch off the message if called
5407 non-interactively.
5408
57d5aff0
LMI
5409 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5410 before 587, since it appears that that's more likely to work for
5411 more people.
5412
98cd6c18 5413 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5414 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5415 exist.
5416
b96dec83
LMI
5417 * info.el: Remove the `Info-beginning-of-buffer' function
5418 (bug#8325).
5419
b796c9b7
SM
5420 * net/network-stream.el (network-stream-open-starttls):
5421 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5422
d90e2ea0
MR
54232011-08-01 Martin Rudalics <rudalics@gmx.at>
5424
5425 * window.el (display-buffer-in-window): Don't set dedicated status
5426 of window here (Bug#9215).
5427 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5428 (display-buffer-pop-up-side-window)
b796c9b7 5429 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5430
cca09170
SM
54312011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5434 before binding generated-autoload-file.
5435
027b979c
DD
54362011-08-01 Deniz Dogan <deniz@dogan.se>
5437
5438 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5439
3c7ee4f3
MA
54402011-07-30 Michael Albinus <michael.albinus@gmx.de>
5441
5442 Sync with Tramp 2.2.2.
5443
5444 * net/trampver.el: Update release number.
5445
2cc8e51a
JL
54462011-07-30 Juri Linkov <juri@jurta.org>
5447
5448 * dired-aux.el (dired-touch-initial): Remove function.
5449 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5450 current time, and `default' to the last modification time of the
5451 current marked file (bug#6887).
5452
a514d856
JM
54532011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5454
5455 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5456 numeric argument to read-number (bug#9163).
a514d856 5457
8a7eddd7
MA
54582011-07-27 Michael Albinus <michael.albinus@gmx.de>
5459
5460 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5461 connection process, it could be nil.
5462
1ddd96f5
LL
54632011-07-27 Leo Liu <sdl.web@gmail.com>
5464
5465 Simplify url handling in rcirc-mode.
5466
5467 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5468 (rcirc-browse-url-at-mouse): Remove.
5469 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5470
b248a85d
AM
54712011-07-26 Alan Mackenzie <acm@muc.de>
5472
5473 Fontify bitfield declarations properly.
5474
5475 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5476 (c-symbol-chars): Now exported as a lang variable.
5477 (c-not-primitive-type-keywords): New lang variable.
5478
5479 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5480 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5481 parsed as a bitfield declaration.
b248a85d 5482
b796c9b7
SM
5483 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5484 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5485 (c-punctuation-in): New function.
5486 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5487 declarations properly.
5488
68575ab0
UJ
54892011-07-26 Ulf Jasper <ulf.jasper@web.de>
5490
5491 * calendar/icalendar.el (icalendar--all-events): Take care of
5492 multiple vcalendars in a single file.
b796c9b7 5493 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5494
0f0a88b9
DD
54952011-07-25 Deniz Dogan <deniz@dogan.se>
5496
5497 * image.el (insert-image): Clarifying docstring.
5498
0b3f36df
MA
54992011-07-24 Michael Albinus <michael.albinus@gmx.de>
5500
5501 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5502 `tramp-send-command-and-check' if there is no error.
5503 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5504
a9901f61
AM
55052011-07-22 Alan Mackenzie <acm@muc.de>
5506
5507 Prevent cc-langs.elc being loaded at run time.
5508
5509 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5510 cc-langs.
5511
4d61f28d 5512 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5513 "(require 'cc-langs)". Quote a form so it will evaluate at
5514 (cc-mode's) compilation time.
5515
11d074b2
MA
55162011-07-22 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5519 loading. (Bug#9114)
5520
938b94c8
MR
55212011-07-21 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (display-buffer-pop-up-window)
5524 (display-buffer-pop-up-side-window)
5525 (display-buffer-in-side-window): Call display-buffer-set-height
5526 and display-buffer-set-width after setting the new window's
b796c9b7 5527 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5528
bfa4f190
SS
55292011-07-20 Sam Steingold <sds@gnu.org>
5530
5531 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5532 (etags-tags-included-tables): Call `convert-standard-filename' on
5533 the file names contained in TAGS so that windows Emacs can handle
5534 TAGS files created by cygwin ctags.
5535
8ca42262
LMI
55362011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5537
5538 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5539 which apparently didn't work.
5540
5db2afd2 55412011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5542
5db2afd2
RW
5543 * proced.el (proced-send-signal): For *Marked Processes* buffer
5544 put point at beginning of buffer.
5545
92e15d10
SB
55462011-07-19 Stephen Berman <stephen.berman@gmx.net>
5547
5548 * proced.el (proced-format): Make header lines align with the text
5549 (bug#1779).
5550
1bfd59e5
LMI
55512011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5552
5553 * view.el (view-buffer): Allow running in `special' modes if we're
5554 visiting a file (bug#8615).
5555
f5aae37c
MR
55562011-07-19 Martin Rudalics <rudalics@gmx.at>
5557
5558 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5559 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5560 New functions.
f5aae37c
MR
5561 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5562 more accurately.
5563
bf2c1571
AM
55642011-07-18 Alan Mackenzie <acm@muc.de>
5565
5566 Fontify declarators properly when, e.g., a jit-lock chunk begins
5567 inside a declaration.
5568
5569 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5570
b796c9b7
SM
5571 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5572 New function.
bf2c1571
AM
5573 (c-complex-decl-matchers): Insert reference to
5574 c-font-lock-enclosing-decls.
5575
5576 * progmodes/cc-engine.el (c-backward-single-comment):
5577 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5578 to nil around calls to (forward-comment -1).
5579
4e190b80
LMI
55802011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
12dc863d
LMI
5582 * image.el (put-image): Doc typo fix.
5583
a762e966
LMI
5584 * progmodes/etags.el (tags-search): Doc typo fix.
5585
4e190b80
LMI
5586 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5587 password if we get errors 550 to 554.
5588
f019fb21
LMI
55892011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590
b796c9b7 5591 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5592
81746738
LMI
5593 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5594 indentation character (bug#6380).
5595
3ee3a1b5
LMI
5596 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5597
c82f64de
LMI
5598 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5599 to clarify what the problem is (bug#4291).
5600
f019fb21
LMI
5601 * simple.el (current-kill): Clarify what
5602 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5603 (auto-fill-mode): Document `auto-fill-function' in relation to
5604 `auto-fill-mode' (bug#2470).
f019fb21 5605
0794775d
LM
56062011-07-16 Lawrence Mitchell <wence@gmx.li>
5607
5608 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5609 method if slot is read-only (bug#9035).
5610
be39b8cc
MR
56112011-07-16 Martin Rudalics <rudalics@gmx.at>
5612
b796c9b7 5613 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5614 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5615 selected before, see discussion of (Bug#8615), (Bug#6954).
5616 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5617
6ccf7859
GM
56182011-07-15 Glenn Morris <rgm@gnu.org>
5619
5620 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5621 Respect help-form.
6ccf7859 5622
87e86684
LM
56232011-07-09 Lawrence Mitchell <wence@gmx.li>
5624
5625 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5626 (gnutls-negotiate): Use it.
5627
d6066239
LMI
56282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5629
b796c9b7
SM
5630 * net/gnutls.el (gnutls-negotiate):
5631 Upcase `gnutls-algorithm-priority'.
d6066239 5632
bd23ebc0
GM
56332011-07-15 Glenn Morris <rgm@gnu.org>
5634
c65bca65
GM
5635 * jka-compr.el (jka-compr-verbose): Move from here...
5636 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5637 Add missing :version tag.
5638 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5639
478615cc
LMI
56402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5641
7b41decb
LMI
5642 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5643 (gnutls-negotiate): Use it.
5644
dbc44fcd
LMI
5645 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5646
06789f97
LMI
5647 * info.el (Info-beginning-of-buffer): New command.
5648 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5649 announcing `b' as the key (bug#8325).
ab896c37 5650 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5651
c39da690
LMI
5652 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5653
3aa5f34b
LMI
5654 * international/mule-cmds.el
5655 (describe-specified-language-support): Make the error message
5656 clearer (bug#8905).
5657
4bf0979f
LMI
5658 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5659
478615cc
LMI
5660 * isearch.el (isearch-barrier): Add a doc string, since it's
5661 mentioned in a function doc string (bug#8678).
5662
75c68aa1
MR
56632011-07-15 Martin Rudalics <rudalics@gmx.at>
5664
5665 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5666 buffer argument (Bug#9083) and self-identifying label argument.
5667
a7c33da2
GM
56682011-07-15 Glenn Morris <rgm@gnu.org>
5669
5670 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5671
2f5c6024
LMI
56722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5673
5674 * man.el (Man-fontify-manpage): Fix message when formatting the
5675 man page (bug#7929).
5676
0bb23927 56772011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5678
5679 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5680 argument LRM; if non-nil, append an invisible LRM character to the
5681 buffer name.
5682 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5683 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5684 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5685 paragraph direction.
cce4b0a7 5686
621ef9ab
LMI
56872011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
d1583c48
LMI
5689 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5690 the man page name (bug#7929).
5691
6a57fb5f
LMI
5692 * image.el (put-image): Mention the `put-image' overlay property
5693 (bug#7834).
5694
d7956b14
LMI
5695 * scroll-bar.el (set-scroll-bar-mode): Mention that
5696 `scroll-bar-mode' lists the values (bug#7772).
5697
5b2d4a66
LMI
5698 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5699 command (bug#7729).
5700
7509a874
LMI
5701 * rect.el (apply-on-rectangle): Return the point after the last
5702 operation.
5703 (string-rectangle): Go to the point after the last operation
5704 (bug#7522).
5705
4fe74b19
LMI
5706 * printing.el (pr-toggle-region): Clarify the documentation
5707 slightly (bug#7493).
5708
b796c9b7
SM
5709 * time.el (display-time-update):
5710 Allow `display-time-mail-function' to return nil (bug#7158).
5711 Fix suggested by Detlev Zundel.
ab283561 5712
fc233c9d
LMI
5713 * vc/diff.el (diff): Clarify the order the file names are read
5714 (bug#7111).
5715
43f5740b
LMI
5716 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5717 the doc string (bug#7015).
5718
f2182a76
LMI
5719 * font-lock.el (font-lock-maximum-decoration): Mention what
5720 numeric levels mean (bug#6935).
5721
621ef9ab
LMI
5722 * startup.el (initial-buffer-choice): Don't mention the `none'
5723 selection, which is against policy.
5724
adc47434
MR
57252011-07-14 Martin Rudalics <rudalics@gmx.at>
5726
b796c9b7
SM
5727 * window.el (display-buffer-normalize-special):
5728 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5729
7e5bfb8f
EZ
57302011-07-14 Eli Zaretskii <eliz@gnu.org>
5731
5732 * subr.el (version<, version<=, version=): Mention "-CVS" and
5733 "-12345" alpha version numbers.
5734
27fa387a
CY
57352011-07-14 Chong Yidong <cyd@stupidchicken.com>
5736
5737 * bindings.el: Add advertised binding for set-mark-command
5738 (Bug#5772).
5739
8bdfa064
CY
57402011-07-14 Chong Yidong <cyd@stupidchicken.com>
5741
5742 * bindings.el (mode-line-other-buffer):
5743 * bookmark.el (bookmark-bmenu-2-window):
5744 * bs.el (bs-cycle-next, bs-cycle-previous):
5745 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5746 switch-to-buffer.
5747
5748 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5749 Delete.
8bdfa064 5750
5eba16a3
JB
57512011-07-14 Juanma Barranquero <lekktu@gmail.com>
5752
5753 * follow.el (follow-debug-message, follow-redisplay):
5754 * jka-cmpr-hook.el (with-auto-compression-mode):
5755 Fix typos in docstrings.
5756
15853710
LMI
57572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
a28e4607
LMI
5759 * subr.el (with-silent-modifications): Clarify somewhat what the
5760 macro inhibits (bug#6525).
5761
15853710
LMI
5762 * simple.el (eval-expression): Note what it does if called
5763 interactively (bug#6495).
5764
bee0fcef
CY
57652011-07-13 Chong Yidong <cyd@stupidchicken.com>
5766
b796c9b7
SM
5767 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5768 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5769
5770 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5771 Remove switch-to-buffer.
5772
58274504
LMI
57732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5774
bd2fcc8d
LMI
5775 * files.el (make-directory): Clarify that an error will be raised
5776 if there's an error (bug#6397).
5777
0f04b32c
LMI
5778 * startup.el (initial-buffer-choice): Add `none' as a choice
5779 (bug#6234).
5780
465c5fc8
LMI
5781 * subr.el (add-hook): Clarify section about buffer-local hooks
5782 (bug#6218).
5783
58274504
LMI
5784 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5785
bead9a43
JB
57862011-07-13 Juanma Barranquero <lekktu@gmail.com>
5787
5788 * tabify.el (untabify): Preserve the current column so that point
5789 doesn't move (bug#6032).
5790
3af98a7b
LMI
57912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5792
b796c9b7
SM
5793 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5794 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5795
6240145a
GM
57962011-07-13 Glenn Morris <rgm@gnu.org>
5797
5798 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5799 (dired-insert-directory): Give a message the first time
5800 if ls is found not to support --dired.
5801
1d8c2ccc
LMI
58022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5803
5804 * simple.el (toggle-truncate-lines): Clarify what is toggled
5805 (bug#5580). Text by Drew Adams.
5806
5fc4038e
CY
58072011-07-13 Chong Yidong <cyd@stupidchicken.com>
5808
5809 * simple.el (blink-matching-open): Make the error message from the
5810 last change less verbose.
5811
bf6012e5
DN
58122011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5813
5814 * font-lock.el (font-lock-comment-face): Use the high contrast
5815 "yellow" color for font-lock-comment-face on low color terminals
5816 using a dark background color (bug#4221).
5817
343c3b5a
LMI
58182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5819
7e9505c5
LMI
5820 * dired.el (dired-insert-set-properties): Make the doc string
5821 reflect what it does now (bug#5325).
5822
c26fdcf5
LMI
5823 * simple.el (blink-matching-open): Say that we were unable to find
5824 the match within the limit, if we're limited (bug#5122).
5825
bb388cc5
LMI
5826 * international/mule-cmds.el (prefer-coding-system): Add an
5827 example (bug#4869).
5828
343c3b5a
LMI
5829 * progmodes/etags.el (tags-search): Document `file-list-form'
5830 (bug#4731).
5831
2a517d45
LM
58322011-07-13 Lawrence Mitchell <wence@gmx.li>
5833
5834 * net/browse-url.el (browse-url-default-browser)
5835 (browse-url-browser-function): Make the default browser choice a
5836 bit more logical (bug#4300). Also clean up the doc string.
5837
b6c78ef2
JB
58382011-07-13 Juanma Barranquero <lekktu@gmail.com>
5839
5840 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5841 binary endings (bug#4440).
5842
1c4dd947
LMI
58432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844
a2014063
LMI
5845 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5846 which can be pretty annoying (bug#8971).
5847
9c9c2d88
LMI
5848 * jka-compr.el (jka-compr-verbose): New variable, and use
5849 throughout (bug#8971).
5850
1c4dd947
LMI
5851 * info.el (Info-find-file): Fall back on the installation
5852 directory if we can't find the info node anywhere else.
5853
a1c9f41b
SO
58542011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5855
5856 * vc/vc.el (vc-revert-file):
5857 Don't set file time-stamp in the past. (Bug#5181)
5858
536f3d36
LMI
58592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5860
7152b011
LMI
5861 * files.el (after-find-file): Give a better error message when
5862 trying to find a symlink that points to a file that doesn't exist
5863 (bug#4398).
5864
536f3d36
LMI
5865 * progmodes/cc-vars.el: Remove (probably) misleading comment
5866 (bug#4396).
5867
460c0fba
JB
58682011-07-12 Johan Bockgård <bojohan@gnu.org>
5869
5870 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5871
7a6bda45
CY
58722011-07-12 Chong Yidong <cyd@stupidchicken.com>
5873
5874 * mouse-sel.el: Hack restoring functionality, while keeping
5875 compatibility with 2010-07-03 changes to mouse selection.
5876 (mouse-sel-primary-overlay): New var.
5877 (mouse-sel-selection-alist): Use it.
5878 (mouse-sel-mode): Doc fix; remove points that are default features
5879 of mouse.el.
5880
c79598ef
JB
58812011-07-12 Johan Bockgård <bojohan@gnu.org>
5882
5883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5884 Fix previous fix (bug#2490).
5885
ff8be6ef
RW
58862011-07-12 Roland Winkler <winkler@gnu.org>
5887
b796c9b7
SM
5888 * textmodes/bibtex.el (bibtex-initialize):
5889 Use pop-to-buffer-same-window.
ff8be6ef
RW
5890 (bibtex-search-entries): Fix interactive call.
5891
296ba3ee
LMI
58922011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5893
f5242a02 5894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5895 Fontise bytecomp Error lines more correctly (bug#2490).
5896 Fix suggested by Johan Bockgård.
f5242a02 5897
296ba3ee
LMI
5898 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5899
5900 * dired-x.el (dired-guess-default): Use `delete-dups'.
5901
f69fd0d2
CY
59022011-07-12 Chong Yidong <cyd@stupidchicken.com>
5903
5904 * dired.el (dired-mark-prompt):
5905 * dired-aux.el (dired-read-shell-command): Doc fix.
5906
eab5dc07
LMI
59072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
b796c9b7
SM
5909 * mail/sendmail.el (sendmail-query-once):
5910 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5911 emacs -Q.
5912
5913 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5914
eab5dc07
LMI
5915 * cus-edit.el (custom-file): Take an optional no-error variable.
5916 (customize-save-variable): Set the variable, and give a warning if
5917 running under "emacs -q".
5918
a1e65d42
JB
59192011-07-11 Juanma Barranquero <lekktu@gmail.com>
5920
5921 * loadhist.el (unload-feature-special-hooks):
5922 Add `auto-coding-functions', `fill-nobreak-predicate' and
5923 `find-directory-functions' (bug#5327).
5924
1d52da10
LMI
59252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926
be958f1d
LMI
5927 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5928
5bedb26c
LMI
5929 * cus-edit.el (custom-guess-name-alist): -alist variables should
5930 use the `alist' type (bug#3120). Suggested by Drew Adams.
5931
1d52da10
LMI
5932 * printing.el: Add documentation to all the `pr-toggle-' commands.
5933
cd394be1 59342011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5935
5936 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5937 backends where it makes sense (bug#2623).
5938
dcc88d8a
LMI
59392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5940
c3de9feb
LMI
5941 * dired-x.el (dired-guess-default): Remove duplicate shell command
5942 entries (bug#2028).
8a93078b 5943 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5944 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5945
dcc88d8a
LMI
5946 * subr.el (remove-duplicates): New conveniency function.
5947
505e3645
LMI
59482011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5949
5950 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5951 (bug#1526).
5952
59532011-07-10 Martin Rudalics <rudalics@gmx.at>
5954
5955 * window.el (display-buffer-normalize-default): Don't invert
5956 meaning of even-window-heights. Reported by Eli Zaretskii
5957 <eliz@gnu.org>.
5958
455e4fa1
BR
59592011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5960
5961 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5962
8e0bc3e9
CY
59632011-07-10 Chong Yidong <cyd@stupidchicken.com>
5964
5965 * window.el (display-buffer): Fix arguments to
5966 display-buffer-reuse-window in last change.
5967
fa7c3228
CY
5968 * faces.el (link): Use a less saturated blue on light backgrounds.
5969
5970 * startup.el (fancy-startup-text, fancy-about-text)
5971 (fancy-startup-tail): Use font-lock faces, for background safety.
5972
c0a7f300
BN
59732011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5974
b796c9b7
SM
5975 * emulation/viper-cmd.el (viper-change-state-to-vi):
5976 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5977
4dc2a129
MR
59782011-07-09 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (display-buffer-default-specifiers): Remove.
5981 (display-buffer-macro-specifiers): Remove default specifiers.
5982 (display-buffer-alist): Default to nil.
b796c9b7 5983 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5984 (display-buffer-pop-up-window): Allow splitting internal
5985 windows. Check whether a live window was created.
5986 (display-buffer-other-window-means-other-frame)
5987 (display-buffer-normalize-arguments): Rename to
5988 display-buffer-normalize-argument and rewrite. Set the
5989 other-window specifier.
5990 (display-buffer-normalize-special): New function.
5991 (display-buffer-normalize-options): Rename to
5992 display-buffer-normalize-default and rewrite.
5993 (display-buffer-normalize-options-inhibit): Remove.
5994 (display-buffer-normalize-specifiers): Rewrite.
5995 (display-buffer): Process other-window specifier and call
5996 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5997 more faithfully.
b796c9b7 5998 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5999 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6000 (display-buffer-in-window, display-buffer-alist-set):
6001 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6002 <tassilo@member.fsf.org>.
6003
2d43b8c9
LL
60042011-07-09 Leo Liu <sdl.web@gmail.com>
6005
6006 * register.el (insert-register): Restore accidental change on
6007 2011-06-26. (Bug#9028)
6008
7f9b7c53
GM
60092011-07-09 Glenn Morris <rgm@gnu.org>
6010
6011 * subr.el (remq): Handle the empty list. (Bug#9024)
6012
f042cfd8
AS
60132011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6014
6015 * mail/sendmail.el (send-mail-function): No longer delay custom
6016 initialization.
6017 * custom.el (custom-initialize-delay): Doc fix.
6018
856b2f11
SM
60192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6022
afae1d68
MA
60232011-07-08 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6026 human-friendly prompt.
6027
0757af94
SM
60282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6031 provided by a particular plugin.
6032
d760b731
LMI
60332011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6034
6035 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6036 save customizations (with "emacs -Q"), just set the variable
6037 instead of erroring out.
6038
6039 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6040
cd79ce90
JL
60412011-07-08 Juri Linkov <juri@jurta.org>
6042
6043 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6044 (archive-zip-update-case): Use 7z if found by `executable-find'.
6045 The order of searching the available programs is the same as in
6046 `archive-zip-extract' (bug#8968).
6047
14cc04aa
CY
60482011-07-07 Chong Yidong <cyd@stupidchicken.com>
6049
6050 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6051 (menu-bar-options-menu): Tweak descriptions.
6052
0a1848ec
LMI
60532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054
6055 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6056 menu items into verb phrases (bug#1421). Also refill to fit under
6057 80 columns.
6058
f5bd0689
CY
60592011-07-07 Chong Yidong <cyd@stupidchicken.com>
6060
538e85c6
CY
6061 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6062 (Info-read-node-name): Doc fix (Bug#1084).
6063
f5bd0689
CY
6064 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6065 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6066 (end-of-sexp, beginning-of-sexp)
6067 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6068 (forward-symbol, forward-same-syntax, word-at-point)
6069 (sentence-at-point): Doc fix (Bug#1144).
6070
56ec5115
LMI
60712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6072
f3f8e37f
LMI
6073 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6074 should cover it (bug#1281).
6075
0757af94 6076 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6077
e9fce1ac 6078 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6079 negotiation fails, then possibly try again with a non-encrypted
6080 connection (bug#9017).
6081
56ec5115
LMI
6082 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6083 be used.
6084
c2f9aec8
RS
60852011-07-07 Richard Stallman <rms@gnu.org>
6086
6087 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6088 property, and handle its changed format.
6089 Look for the correct line number.
6090 Use file's line contents (but not past first =) to find
6091 correct line in message.
6092
ef7b981d 60932011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6094
6095 * international/characters.el (build-unicode-category-table):
6096 Delete it.
0757af94 6097 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6098
0757af94 6099 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6100 to src/chartab.c.
6101 (get-char-code-property): Call unicode-property-table-internal to
6102 load a file. Call get-unicode-property-internal where necessary.
6103 (put-char-code-property): Call unicode-property-table-internal to
6104 load a file. Call put-unicode-property-internal where necessary.
6105 put-unicode-property-internal where necessary.
0757af94
SM
6106 (char-code-property-description):
6107 Call unicode-property-table-internal to load a file.
c805dec0
KH
6108
6109 * international/charprop.el:
6110 * international/uni-bidi.el:
6111 * international/uni-category.el:
6112 * international/uni-combining.el:
6113 * international/uni-comment.el:
6114 * international/uni-decimal.el:
6115 * international/uni-decomposition.el:
6116 * international/uni-digit.el:
6117 * international/uni-lowercase.el:
6118 * international/uni-mirrored.el:
6119 * international/uni-name.el:
6120 * international/uni-numeric.el:
6121 * international/uni-old-name.el:
6122 * international/uni-titlecase.el:
6123 * international/uni-uppercase.el: Regenerate.
6124
6125 * loadup.el: Load international/charprop.el before
6126 international/characters.
6127
e14b388a
CY
61282011-07-07 Chong Yidong <cyd@stupidchicken.com>
6129
6130 * window.el (next-buffer, previous-buffer): Signal an error if
6131 called from a minibuffer window.
6132
6133 * bindings.el: Revert 2011-07-04 change.
6134
354cf0ba
RS
61352011-07-06 Richard Stallman <rms@gnu.org>
6136
6137 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6138 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6139 Treat markers like ints.
6140 (rmail-mime-entity): Doc fix.
6141
a48868a7
LMI
61422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6143
4906cd3d
LMI
6144 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6145 defcustom again for backwards compatibility.
6146
e0457abe
LMI
6147 * simple.el (shell-command-on-region): Fill.
6148
d67f7e1f
LMI
6149 * dired-aux.el (dired-kill-line): Add a doc string.
6150
fe204702
LMI
6151 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6152 to "\\sw\\|\\s_" (bug#358).
6153
a48868a7
LMI
6154 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6155 (dired-unmark-backward): Ditto.
6156 (dired-flag-backup-files): Ditto.
6157
6158 * dired-x.el (dired-mark-sexp): Ditto.
6159
aa8a705c
RS
61602011-07-06 Richard Stallman <rms@gnu.org>
6161
6162 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6163 (rmail-mime-entity): New arg TRUNCATED.
6164 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6165 New functions.
6166 (rmail-mime-save): Warn if entity is truncated.
6167 (rmail-mime-toggle-hidden): Likewise, for showing.
6168 (rmail-mime-process-multipart): Record when an entity is truncated.
6169
a9a936b9
RS
6170 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6171 if ENTITY is a string.
6172
1f2b92cb
LMI
61732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6174
f4f73198 6175 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6176 of faces when `M-C-x'-ing their definitions (bug#8378).
6177 Also clean up the code slightly.
f4f73198 6178
12b16734 6179 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6180 because that makes the colors go away.
12b16734 6181
f0691d22
LMI
6182 * mail/sendmail.el (send-mail-function): Change the default to
6183 `sendmail-query-once'.
9e87df06 6184 (sendmail-query-once): Add an autoload cookie.
f0691d22 6185
1f2b92cb
LMI
6186 * net/network-stream.el (network-stream-open-starttls): Try using
6187 a plain connection even if the server offered STARTTLS, and we
6188 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6189 capability. This should make smtpmail.el work in slightly more
6190 configurations.
6191
1cdd2a1b
MA
61922011-07-06 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6195 New defun.
6196 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6197
fbcc67e2
MM
61982011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6199
6200 * progmodes/sql.el: Version 3.0
0757af94 6201 (sql-product-alist): Add product :completion-object,
fbcc67e2 6202 :completion-column, and :statement attributes.
0757af94 6203 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6204 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6205 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6206 ansi keywords.
6207 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6208 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6209 (sql-oracle-show-reserved-words): New function for development.
6210 (sql-product-font-lock): Simplify for source code buffers.
6211 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6212 New functions.
6213 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6214 (sql-mode-map): Add statement movement functions.
6215 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6216 New variable.
fbcc67e2
MM
6217 (sql-statement-regexp, sql-beginning-of-statement)
6218 (sql-end-of-statement, sql-signum): New functions.
0757af94 6219 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6220 (sql-show-sqli-buffer): Bug fix.
6221 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6222 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6223 with sql-interactive-mode.
6224 (sql-save-connection): Save buffer local settings.
0757af94 6225 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6226 (sql-product-interactive): Bug fix.
6227 (sql-preoutput-hold): New variable.
6228 (sql-interactive-remove-continuation-prompt): Bug fixes.
6229 (sql-debug-redirect): New variable.
6230 (sql-str-literal): New function.
6231 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6232 Redesign.
fbcc67e2
MM
6233 (sql-oracle-save-settings, sql-oracle-restore-settings)
6234 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6235 (sql-completion-object, sql-completion-column)
6236 (sql-completion-sqlbuf): New variables.
6237 (sql-build-completions-1, sql-build-completions)
6238 (sql-try-completion): New functions.
6239 (sql-read-table-name): Use them.
6240 (sql-contains-names): New buffer local variable.
6241 (sql-list-all, sql-list-table): Use it.
6242 (sql-oracle-completion-types): New variable.
6243 (sql-oracle-completion-object, sql-sqlite-completion-object)
6244 (sql-postgres-completion-object): New functions.
6245
d4eaeab1
GM
62462011-07-06 Glenn Morris <rgm@gnu.org>
6247
6248 * window.el (pop-to-buffer): Doc fix.
6249
322b7dab 62502011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6251
6252 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6253
322b7dab 62542011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6255
322b7dab 6256 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6257
322b7dab 6258 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6259
605dd5bf
CY
62602011-07-05 Chong Yidong <cyd@stupidchicken.com>
6261
6262 * button.el (button): Inherit from link face. Suggested by Dan
6263 Nicolaescu.
6264
7dbfa719
SM
62652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6266
3db614b0
SM
6267 * progmodes/gdb-mi.el: Fit in 80 columns.
6268 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6269 switch-to-buffer.
6270
7dbfa719
SM
6271 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6272 if imenu is simply not configured (bug#8941).
6273
919d884a
KM
62742011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6275
6276 * allout.el (allout-post-undo-hook): New allout outline-change
6277 event hook to signal undo activity.
6278 (allout-post-command-business): Run allout-post-undo-hook if an
6279 undo just occurred.
7dbfa719
SM
6280 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6281 * allout-widgets.el (allout-widgets-after-undo-function):
6282 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6283 in the vicinity of an undo.
6284 (allout-widgets-mode): Include allout-widgets-after-undo-function
6285 on the new allout-post-undo-hook.
6286
450a0f09
SM
62872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6290 Let define-derived-mode define it.
6291 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6292 cycles of abbrev-table inheritance (bug#8998).
6293
2de69e00
RW
62942011-07-05 Roland Winkler <winkler@gnu.org>
6295
6296 * textmodes/bibtex.el: Add support for biblatex.
6297 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6298 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6299 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6300 (bibtex-entry-alist, bibtex-field-alist): New variables.
6301 (bibtex-entry-field-alist): Obsolete alias for
6302 bibtex-BibTeX-entry-alist.
6303 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6304 (bibtex-set-dialect): New command.
6305 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6306 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6307 Bind via bibtex-set-dialect.
2de69e00
RW
6308 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6309 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6310 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6311 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6312 Define via bibtex-set-dialect.
450a0f09
SM
6313 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6314 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6315 (bibtex-vec-push, bibtex-vec-incr): New functions.
6316 (bibtex-format-entry, bibtex-field-list)
6317 (bibtex-print-help-message, bibtex-validate)
6318 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6319
2dcdbdd9
SM
63202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * progmodes/compile.el (compilation-goto-locus):
6323 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6324 * bs.el (bs-cycle-next, bs-cycle-previous):
6325 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6326 * bindings.el (mode-line-other-buffer):
6327 * autoinsert.el (auto-insert):
6328 * arc-mode.el (archive-extract):
6329 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6330
b27640fe
JB
63312011-07-05 Juanma Barranquero <lekktu@gmail.com>
6332
6333 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6334 Fix check of `emacs-lock-unlockable-modes'.
6335 Coerce true values of `emacs-lock--try-unlocking' to t.
6336
53bbe3ad
JB
63372011-07-05 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6340 * emacs-lock.el: New file.
6341
1d3cdbc7
JD
63422011-07-05 Julien Danjou <julien@danjou.info>
6343
6344 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6345 than `boundp' to check if face is set.
6346
9173deec
JB
63472011-07-05 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * register.el (registerv-make):
6350 * window.el (window-min-height): Fix typos in docstrings.
6351
869795d6
JD
63522011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6353
9173deec 6354 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6355 Update doc string.
6356
b768cdcd
JB
63572011-07-04 Juanma Barranquero <lekktu@gmail.com>
6358
6359 * server.el (server-execute): Catch quit and call
6360 `server-return-error' to pass the error back to emacsclient and
6361 close the connection (bug#8942).
6362
13aa217b
KM
63632011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6364
6365 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6366 insecure exception for current topic. Also note that auto-saves
6367 are handled differently.
6368
6369 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6370 State variables for tracking auto-save inhibition situation.
6371
6372 (allout-write-contents-hook-handler): Rename from
6373 'allout-write-file-hook-handler', and describe how it depends on
6374 write-contents-functions sensitivity to non-nil value to prevent
6375 file write.
6376
6377 (allout-auto-save-hook-handler): Remove. auto-save does not check
6378 this in individual buffers, only in the starting buffer, so this
6379 is not the right way for us to inhibit auto-save in a buffer
6380 according to its condition.
6381
6382 (allout-mode): Use new allout-write-contents-hook-handler, and
6383 only with write-contents-functions. Remove auto-save provisions -
6384 they're implemented elsewhere.
6385
6386 (allout-before-change-handler): If undo is in progress, note that
6387 for attention of allout-post-command-business.
6388
6389 (allout-post-command-business): If the command we're following was
6390 an undo, check for change in the status of encrypted items and
6391 adjust auto-save inhibitions accordingly.
6392
6393 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6394 according to whether there are or aren't any plain-text topics
6395 pending encryption.
6396
2dcdbdd9 6397 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6398 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6399 if there are plain-text topics pending encryption.
13aa217b
KM
6400
6401 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6402 buffer-saved-size and some allout state to not inhibit auto-saves
6403 if there are no longer any plain-text topics pending encryption.
6404
0757af94
SM
6405 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6406 No longer provide for exemption of the current topic.
13aa217b 6407
ac89b32c
JL
64082011-07-04 Juri Linkov <juri@jurta.org>
6409
6410 Add 7z operations to delete and save changed members (bug#8968).
6411 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6412 New defcustoms.
6413 (archive-7z-write-file-member): New function.
6414 (archive-7z-summarize): Fix the number of dashes in the
6415 listing output.
6416
8fa39615
SM
64172011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6420 (bug#8958).
6421
2f11b3f1
CY
64222011-07-04 Chong Yidong <cyd@stupidchicken.com>
6423
d66fef2b
CY
6424 * bindings.el: Ignore next-buffer and previous-buffer in
6425 minibuffer-local-map.
6426
2f11b3f1
CY
6427 * font-lock.el (font-lock-builtin-face): Change light background
6428 color to dark slate blue (Bug#6693).
6429
f932a347
WD
64302011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6431
6432 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6433
c8af70e1
SM
64342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6437 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6438 Add switch-to-buffer.
6439
f158badc
LMI
64402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441
6442 * isearch.el (isearch-search-fun-function): Clarify further the
6443 meaning of the function returned.
6444
6d95bd46
MA
64452011-07-04 Michael Albinus <michael.albinus@gmx.de>
6446
6447 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6448
6449 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6450 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6451 Use it.
6452 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6453 `tramp-default-remote-path' does not exist.
6454 (tramp-send-command-and-read): New optional argument NOERROR.
6455 (tramp-open-connection-setup-interactive-shell)
6456 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6457 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6458 (tramp-process-sentinel): Flush also process' connection property.
6459 (tramp-sh-handle-start-file-process): Do not set process
6460 sentinel. It is done now ...
6461 (tramp-maybe-open-connection): ... here. (Bug#8929)
6462
909e6b67
MK
64632011-07-04 MON KEY <monkey@sandpframing.com>
6464
6465 * play/animate.el (animate-string): Doc fixes and allow changing
6466 the buffer name (bug#5417).
6467
64682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6469
c8af70e1 6470 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6471
f34755dc
PE
64722011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6473
396cec72
PE
6474 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6475 This is simpler and helps future-proof the code.
6476 (timer-until): Use time-subtract and float-time.
08235028 6477 (timer--time-less-p): Use time-less-p.
f34755dc 6478
56e6cc31
JB
64792011-07-04 Juanma Barranquero <lekktu@gmail.com>
6480
3abb79e5
JB
6481 * type-break.el (timep): Use the value of `float-time' to avoid a
6482 byte-compiler warning.
6483
56e6cc31
JB
6484 * server.el (server-eval-and-print): Return any result, even nil.
6485
7b9430b4
PE
64862011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6487
6488 * type-break.el: Accept time formats that the builtins accept.
6489 (timep, type-break-time-difference): Accept any format that
6490 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6491 This is simpler and helps future-proof the code.
6492 (type-break-time-difference): Round rather than ignoring
6493 subseconds components.
6494
3034e9e7
LMI
64952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
6497 * info.el (Info-apropos-matches): Make non-interactive, since it
6498 doesn't seem to do anything useful as a command (bug#8829).
6499
1485f4c0
CY
65002011-07-03 Chong Yidong <cyd@stupidchicken.com>
6501
6502 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6503 Move from faces.el.
1485f4c0
CY
6504 (frame-default-terminal-background): New function.
6505
6506 * custom.el (custom-push-theme): Don't record faces in `changed'
6507 theme; this doesn't work correctly for per-frame face settings.
6508 (disable-theme): Use face-set-after-frame-default to reset faces.
6509 (custom--frame-color-default): New function.
6510
9fa3dd45
LMI
65112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
c8af70e1 6513 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6514 (bug#8769).
6515
6cbbc20c
KR
65162011-03-29 Kevin Ryde <user42@zip.com.au>
6517
6518 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6519 `perl-Test2' extend to match possible "fail #N" rep count
6520 (bug#8377).
6521
c7f98048
LMI
65222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6523
65676592
LMI
6524 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6525 `smtpmail-via-smtp' now returns the error instead of nil.
6526
c7f98048
LMI
6527 * isearch.el (isearch-search-fun-function): Clarify the doc string
6528 (bug#8101).
6529
56e6cc31 65302011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6531
6532 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6533 unnecessary spaces (bug#8987).
6534
2b216704
LMI
65352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6536
6537 * net/network-stream.el (open-network-stream): Use the
6538 :end-of-capability command thoughout.
6539
65402011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6541
6542 * net/network-stream.el (open-network-stream): Add the
6543 :end-of-capability command parameter, used by pop3.el.
6544
36adf6ce
LMI
65452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6546
1ca0da0e
LMI
6547 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6548
fc00f69c
LMI
6549 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6550 for list)" (bug#6475).
6551
28fd8759 6552 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6553 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6554 an error (bug#6297).
6555
0dd8b6da
LMI
6556 * man.el (Man-reference-regexp): Allow matching possible
6557 word-wrapped references (bug#6289).
6558
ce1438d6
LMI
6559 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6560 for consistency with the other vc buffers (bug#6197).
6561 (vc-checkin): Ditto.
6562
6563 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6564
36adf6ce
LMI
6565 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6566
e83cc1f7
LMI
65672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6568
8a20ca4c
LMI
6569 * custom.el (defcustom): Clarify that :set is only used in the
6570 Customize user interface (bug#6089).
6571
83319045
LMI
6572 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6573 associated with a file, refuse to run instead of erroring out
6574 (bug#6084).
6575
a8392169
LMI
6576 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6577 the doc string, since it appears that using `fill-column' always
6578 controls the width (bug#7845).
6579
e83cc1f7
LMI
6580 * simple.el (shell-command-on-region): Say where the error output
6581 went if `shell-command-default-error-buffer' is set (bug#6857).
6582
e47ca23b
KM
65832011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6584
6585 * allout.el (allout-yank-processing): Adjust cursor position for
6586 backwards-deleted space.
6587
6588 (allout-rebullet-heading): Register changes with
6589 allout-exposure-changed-hook, so the modified topic is properly
6590 decorated.
6591
5cf56143
LMI
65922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6593
08549772
LMI
6594 * minibuffer.el (completion-in-region): Document PREDICATE
6595 (bug#7136).
6596
48e96771
LMI
6597 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6598 of keyword/argument pairs (bug#6904).
6599
c8af70e1
SM
6600 * replace.el (multi-occur):
6601 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6602
e17d05e2
LMI
66032011-07-02 Drew Adams <drew.adams@oracle.com>
6604
6605 * dired.el (dired-mark-if): Make the message about whether it's
6606 marking or unmarking clearer (bug#8523).
6607
063b0e45
LMI
66082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6609
6610 * disp-table.el (display-table-print-array): New function.
6611 (describe-display-table): Use it to print the vectors more pretty
6612 (Bug#8859).
6613
28545e04
MR
66142011-07-02 Martin Rudalics <rudalics@gmx.at>
6615
6616 * window.el (window-state-get-1): Don't assign clone numbers.
6617 Add clone-of item to list of window parameters.
6618 (window-state-put-2): Don't process clone numbers.
6619 (display-buffer-alist): Fix doc-string.
6620
3349e122
SM
66212011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * subr.el (remq): Don't allocate if it's not needed.
6624 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6625 (keymap--merge-bindings): New functions.
6626 (keymap-canonicalize): Use them to refine the canonicalization.
6627 * minibuffer.el (minibuffer-local-completion-map)
6628 (minibuffer-local-must-match-map): Move initialization from C.
6629 (minibuffer-local-filename-completion-map): Move initialization from C;
6630 don't inherit from anything here.
6631 (minibuffer-local-filename-must-match-map): Make obsolete.
6632 (completing-read-default): Use make-composed-keymap to combine
6633 minibuffer-local-filename-completion-map with either
6634 minibuffer-local-must-match-map or
6635 minibuffer-local-filename-completion-map.
6636
d224ac83
GM
66372011-07-01 Glenn Morris <rgm@gnu.org>
6638
3de63bf8
GM
6639 * type-break.el (type-break-time-sum): Use dolist.
6640
d224ac83
GM
6641 * textmodes/flyspell.el (flyspell-word-search-backward):
6642 Replace CL function.
6643
1a1e3f32
SM
66442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6645
fe3f64d5
SM
6646 * mouse.el (mouse--strip-first-event): New function.
6647 (function-key-map): Use it to map fringe clicks to normal clicks
6648 by default.
6649
eb604e34
SM
6650 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6651 (vc-bzr-revision-completion-table): Add support for annotate and date.
6652
1a1e3f32
SM
6653 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6654 inherit from parent.
6655
5bd35902
LMI
66562011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657
ace6c69c 6658 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6659 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6660
191e2bed
LMI
6661 * dired.el (dired-mode): Fix up the doc string as suggested by
6662 Drew Adams (bug#8817).
6663
5bd35902
LMI
6664 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6665 cookie, since the manual says that it should be possible to add
6666 this function to `find-file-hook' (bug#8709).
6667
eee8207a
TZ
66682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6669
6670 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6671 here. Noted Ted Zlatanov as the maintainer.
6672 (cfengine-common-settings, cfengine-common-syntax): New functions
6673 to set up common things between `cfengine-mode' and
6674 `cfengine3-mode'.
6675 (cfengine3-mode): New mode.
6676 (cfengine3-defuns cfengine3-defuns-regex
6677 (cfengine3-class-selector-regex cfengine3-category-regex)
6678 (cfengine3-vartypes cfengine3-font-lock-keywords)
6679 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6680 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6681
36b148cf
MA
66822011-07-01 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6685
6686 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6687
0bf4ba9a
MR
66882011-07-01 Martin Rudalics <rudalics@gmx.at>
6689
6690 * window.el (same-window-buffer-names, same-window-regexps)
6691 (same-window-p, special-display-frame-alist)
6692 (special-display-popup-frame, special-display-function)
6693 (special-display-buffer-names, special-display-regexps)
6694 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6695 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6696 (split-window-preferred-function, split-height-threshold)
6697 (split-width-threshold, even-window-heights)
6698 (display-buffer-mark-dedicated, window-splittable-p)
6699 (split-window-sensibly, window-safely-shrinkable-p):
6700 Un-obsolete.
6701 (display-buffer): Don't spread args with function specifier
6702 because special-display-popup-frame won't like it.
6703
35837f51
PE
67042011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6705
d0672f86
PE
6706 Time-stamp simplifications and fixes.
6707 These improve accuracy slightly, and future-proof the code
6708 against some potential changes to current-time format.
6709
b9444d97
PE
6710 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6711 by using time-since and float-time.
6712
0ef923dc
PE
6713 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6714 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6715 + NNN microseconds".
6716
2f81380d
PE
6717 * type-break.el (type-break-time-sum): Rewrite using time-add.
6718
845b5c3e
PE
6719 * play/hanoi.el (hanoi-current-time-float): Remove.
6720 All uses replaced by float-time.
6721
ee6f1be0
PE
6722 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6723 This yields a more-accurate answer.
6724 (rng-time-to-float): Remove; no longer needed.
6725
fe955043
PE
6726 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6727
5777162a
PE
6728 * calendar/timeclock.el (timeclock-seconds-to-time):
6729 Defalias to seconds-to-time, since they're the same thing.
6730
3103f8b6 6731 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6732 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6733 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6734
0e61a35f
SM
67352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * window.el (bury-buffer): Don't iconify the only frame.
6738 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6739 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6740
ddd63a1e
CY
67412011-07-01 Chong Yidong <cyd@stupidchicken.com>
6742
0e61a35f
SM
6743 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6744 Add mouse-yank-primary.
ddd63a1e 6745
055f4923
TZ
67462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6747
6748 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6749
6a2fb145
SM
67502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6753 (find-library-name): Use it to find relative load names when provided
6754 absolute file name (bug#8803).
6755
fd4983f2
LMI
67562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
887d14ad
LMI
6758 * textmodes/flyspell.el (flyspell-word): Consider words that
6759 differ only in case as potential doublons (bug#5687).
6760
c53dc7fc
LMI
6761 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6762 Remove two rather uninteresting debugging-like messages to make
6763 debbugs.el more silent.
6764
fd4983f2
LMI
6765 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6766 a password-like phrase.
6767
7a71b18d 67682011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6769
6770 * progmodes/cc-guess.el: New file.
6771
6a2fb145 6772 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6773
6774 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6775 derived from `c-basic-common-init'.
6776
6777 * progmodes/cc-mode.el (top-level): Require cc-guess.
6778 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6779
1fa280a3
LM
67802011-06-30 Lawrence Mitchell <wence@gmx.li>
6781
6782 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6783
e6597158
AM
67842011-06-30 Alan Mackenzie <acm@muc.de>
6785
1fa280a3
LM
6786 * progmodes/cc-engine.el (c-guess-continued-construct):
6787 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6788 lock is disabled. Name this case as "CASE G".
6789
68ba37fb
KM
67902011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6791
6792 * allout.el (allout-yank-processing): Fix injection of extra space
6793 between bullet and non-whitespace character in first topic when
6794 pasting, ensuring that the actual spacing in the pasted topic
6795 following the bullet char is preserved. This extra space was
6796 causing pasted encrypted topics to get a decrypted status even
6797 when the content was actually still encrypted. Now the decryption
6798 status from before the paste is preserved.
6799
6800 (allout-flag-region): Set all allout overlays so they evaporate
6801 when reduced to zero length (evanescent), to prevent overlay
6802 leakage.
6803
887a0b34
GM
68042011-06-30 Glenn Morris <rgm@gnu.org>
6805
94b9acce
GM
6806 * w32-fns.el (w32-charset-info-alist): Declare.
6807
1d9b46d4
GM
6808 * find-dired.el (find-grep-options): Simplify.
6809
cc232200
GM
6810 * term/ns-win.el (ns-set-resource): Declare.
6811
28e77c46
GM
6812 * ses.el (row, col): Declare dynamic variables honestly.
6813
887a0b34
GM
6814 * textmodes/reftex-parse.el (index-tags): Declare.
6815
658d8eb8
CY
68162011-06-30 Chong Yidong <cyd@stupidchicken.com>
6817
6818 * cus-edit.el (customize-push-and-save): New function.
6819
6820 * files.el (hack-local-variables-confirm): Use it.
6821
1fa280a3
LM
6822 * custom.el (load-theme): New arg NO-CONFIRM.
6823 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
6824 (custom-enabled-themes): Doc fix.
6825
6826 * cus-theme.el (customize-create-theme)
6827 (custom-theme-merge-theme): Callers to load-theme changed.
6828
bb617717
LMI
68292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6830
d61bdd5d
LMI
6831 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6832 short URLs have at least one dot in them (bug #7614).
6833
bb617717
LMI
6834 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6835 nil, because using a pty is apparently too slow (bug #895).
6836
2f31f37a
LMI
68372011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838
6839 * mail/sendmail.el (sendmail-query-once): New function.
6840 (sendmail-query-once-function): New variable.
6841
3076b24e
GM
68422011-06-29 Glenn Morris <rgm@gnu.org>
6843
faf2a174
GM
6844 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6845
3076b24e
GM
6846 * ses.el (top-level): Require cl when compiling.
6847 (ses-set-localvars): Fix error statement.
6848 Call it at compile time to silence a storm of warnings.
6849
5386012d
MR
68502011-06-29 Martin Rudalics <rudalics@gmx.at>
6851
6852 * window.el (normalize-live-buffer): Rename to
6853 window-normalize-buffer.
6854 (normalize-live-frame): Rename to window-normalize-frame.
6855 (normalize-any-window): Rename to window-normalize-any-window.
6856 (normalize-live-window): Rename to window-normalize-live-window.
6857 (make-window-atom): Rename to window-make-atom.
6858 (window-resize-reset): Rename to window--resize-reset.
6859 (window-resize-reset-1): Rename to window--resize-reset-1.
6860 (resize-mini-window): Rename to window--resize-mini-window.
6861 (resize-subwindows-skip-p): Rename to
6862 window--resize-subwindows-skip-p.
6863 (resize-subwindows-normal): Rename to
6864 window--resize-subwindows-normal.
6865 (resize-subwindows): Rename to window--resize-subwindows.
6866 (resize-other-windows): Rename to window--resize-siblings.
6867 (resize-this-window): Rename to window--resize-this-window.
6868 (resize-root-window): Rename to window--resize-root-window.
6869 (resize-root-window-vertically): Rename to
6870 window--resize-root-window-vertically.
6871 (normalize-buffer-to-display): Rename to
6872 window-normalize-buffer-to-display.
6873 (normalize-buffer-to-switch-to): Rename to
6874 window-normalize-buffer-to-switch-to.
6875 Correspondingly update all callers of the functions listed
6876 above.
6877 (display-buffer-alist, display-buffer-normalize-arguments)
6878 (display-buffer-normalize-options, display-buffer)
6879 (display-buffer-alist-set): Use "function" instead of
6880 "fun-with-args".
6881
1176868d
CY
68822011-06-28 Chong Yidong <cyd@stupidchicken.com>
6883
6884 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6885 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6886 debbugs.gnu.org. Mention acknowledgment email.
6887
20a7a65f
LMI
68882011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6889
6890 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6891 buffer multibyteness, since it shouldn't matter.
6892
5f45cca5
MR
68932011-06-28 Martin Rudalics <rudalics@gmx.at>
6894
6895 * window.el (display-buffer-in-side-window): Handle dedicated
6896 windows as in display-buffer-reuse-window.
6897 (display-buffer-normalize-alist): Use value of override
6898 specifier.
6899 (display-buffer-normalize-specifiers): Use value of
6900 other-window-means-other-frame specifier.
6901 (display-buffer-alist): Rewrite some texts in widgets.
6902 (display-buffer): Spread arguments when calling function
6903 specified by fun-with-args.
6904
ad85fe1f
DD
69052011-06-28 Deniz Dogan <deniz@dogan.se>
6906
1fa280a3
LM
6907 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6908 Unnest `let'.
da68c4c8 6909
ad85fe1f
DD
6910 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6911 selectors (Bug#5732).
ec49bd31 6912 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6913
a08cc025
JA
69142011-06-27 Jari Aalto <jari.aalto@cante.net>
6915
6916 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6917 (eshell-ls-date-format): New defcustom.
6918 (eshell-ls-file): Use it.
6919
e2b551c5
SM
69202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6923
8982b231
KY
69242011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6925
6926 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6927 (ange-ftp-make-tmp-name): New arg.
6928 (ange-ftp-file-local-copy): Use it.
6929
36c9fa27
J
69302011-06-27 Jambunathan K <kjambunathan@gmail.com>
6931
6932 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6933 no-conversion (Bug#8870).
6934
d68443dc
MR
69352011-06-27 Martin Rudalics <rudalics@gmx.at>
6936
6937 * window.el (window-right, window-left, window-child)
6938 (window-child-count, window-last-child)
6939 (window-iso-combination-p, walk-window-tree-1)
6940 (window-atom-check-1, window-tree-1, delete-window)
6941 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6942 new naming conventions - window-vchild, window-hchild,
6943 window-next and window-prev are now called window-top-child,
6944 window-left-child, window-next-sibling and window-prev-sibling
6945 respectively.
d615d6d2
MR
6946 (resize-window-reset): Rename to window-resize-reset.
6947 (resize-window-reset-1): Rename to window-resize-reset-1.
6948 (resize-window): Rename to window-resize.
6949 (window-min-height, window-min-width)
6950 (resize-mini-window, resize-this-window, resize-root-window)
6951 (resize-root-window-vertically, adjust-window-trailing-edge)
6952 (enlarge-window, shrink-window, maximize-window)
6953 (minimize-window, delete-window, quit-restore-window)
6954 (split-window, balance-windows, balance-windows-area-adjust)
6955 (balance-windows-area, window-state-put-2)
6956 (display-buffer-even-window-sizes, display-buffer-set-height)
6957 (display-buffer-set-width, set-window-text-height)
6958 (fit-window-to-buffer): Rename all "resize-window" prefixed
6959 calls to use the "window-resize" prefix convention.
6960 (display-buffer-alist): Fix symbol for label specifier.
6961 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6962 corresponding specifier.
6963 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6964
b6458526
VB
69652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6966
6967 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6968 convention.
6969 (ses-call-printer): Does not pass an empty string to formatter when the
6970 cell is empty to keep from barking printer Calc math-format-value.
6971
d31fd9ac
RS
69722011-06-27 Richard Stallman <rms@gnu.org>
6973
43d5bf84
RS
6974 * battery.el (battery-mode-line-limit): New variable.
6975 (battery-update): Handle it.
6976
d31fd9ac
RS
6977 * mail/rmailmm.el (rmail-mime-process-multipart):
6978 Handle truncated messages.
6979
819a6054
GM
69802011-06-27 Glenn Morris <rgm@gnu.org>
6981
6982 * progmodes/flymake.el (flymake-err-line-patterns):
6983 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6984
cedc73f2
VB
69852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6986
819a6054 6987 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6988 (ses--clean-!, ses--clean-_): New functions.
6989 (ses-range): Add configurability of readout order, and conversion
6990 to Calc vector.
6991
5e5d49b6
VB
6992 * ses.el (ses-repair-cell-reference-all): New function.
6993 (ses-cell-symbol): Set macro as safe, so that it can be used in
6994 formulas.
6995
56e6cc31 6996 * ses.el: Update cycle detection algorithm.
90ca8b49 6997 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6998 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6999 (ses-set-localvars): New function.
7000 (ses-make-cell): Add property-list as a cell element.
7001 (ses-cell-property-get-fun, ses-cell-property-get)
7002 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7003 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7004 New functions.
90ca8b49
VB
7005 (ses-cell-property-set, ses-cell-property-pop)
7006 (ses-cell-property-get-handle): New macro.
7007 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7008 New aliases, used for code readability.
7009 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7010 cycle detection.
7011 (ses-self-reference-early-detection): New defcustom.
fac916bf 7012 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7013 (ses-mode): Use ses-set-localvars.
7014 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7015 before lauching the update processing.
7016 (ses-initialize-Dijkstra-attempt): New function.
7017 (ses-recalculate-cell): Update for cycle detection based on
7018 Dijkstra algorithm.
7019
2bb63e81
VB
7020 * ses.el: Fix commenting and indenting convention.
7021
c9d29fb8
SM
70222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * bs.el (bs-cycle-next): Complete last change.
7025
d8e4b68b
JB
70262011-06-27 Drew Adams <drew.adams@oracle.com>
7027
7028 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7029
40098786
LMI
70302011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7031
c9d29fb8
SM
7032 * net/network-stream.el (network-stream-open-starttls):
7033 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7034 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7035
40098786
LMI
7036 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7037 to binary to possibly avoid line encoding issues on Windows (among
7038 other things).
7039
468d09d4
LMI
70402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7041
7042 * net/network-stream.el (open-network-stream): Return an :error
7043 saying what the problem was, if possible.
7044
7045 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7046 server.
7047
7048 * net/network-stream.el (network-stream-open-starttls): If we
7049 wanted to use STARTTLS, and the server offered it, but we weren't
7050 able to because we had no STARTTLS support, then close the connection.
7051 (open-network-stream): Return an :error element, if present.
7052
16f07dd7
CY
70532011-06-26 Chong Yidong <cyd@stupidchicken.com>
7054
88821ca0
CY
7055 * hl-line.el (hl-line-sticky-flag): Doc fix.
7056 (global-hl-line-sticky-flag): New option (Bug#8323).
7057 (global-hl-line-highlight): Obey it.
7058
16f07dd7
CY
7059 * vc/vc.el (vc-revert-show-diff): Default to t.
7060
6b5ccddf
KM
70612011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7062
c9d29fb8
SM
7063 * allout-widgets.el (allout-widgets-post-command-business):
7064 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7065 undecorated when an isearch is continued past, and isearch
7066 automatically collapses them. This leads to "widget leaks", where
7067 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7068 hidden widgets can slow down cursor travel, substantially.
7069 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7070 so we're doing without this nicety.
7071
7072 (allout-widgets-tally-string): Don't try to do a hash-table-count
7073 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7074 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7075 *Messages* when allout-widgets-maintain-tally is t.
7076
355f2e07
MR
70772011-06-26 Martin Rudalics <rudalics@gmx.at>
7078
7079 * window.el (display-buffer-normalize-argument): Rename to
7080 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7081 LABEL argument. Respect special-display-function when popping up
7082 a new frame. Fix code searching for a window showing the buffer
7083 on another frame.
c9d29fb8
SM
7084 (display-buffer-normalize-specifiers):
7085 Call display-buffer-normalize-arguments.
355f2e07
MR
7086 (display-buffer-in-window): Don't undedicate the window if its
7087 buffer remains the same.
7088 Reported by Drew Adams <drew.adams@oracle.com>.
7089 (display-buffer-alist): Add choice for same-window macro
7090 specfier.
7091 (display-buffer): Mention special meaning of LABEL argument in
7092 doc-string. Fix quoting. Don't pop up a new frame even as
7093 fallback.
7094
7ca8fc42
JB
70952011-06-26 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7098 avoid deleting the current window in some cases (bug#8911).
7099
bc312254
AS
71002011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7101
7102 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7103 (Bug#8934)
7104
2db18f3f
LMI
71052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7106
c9d29fb8
SM
7107 * net/network-stream.el (network-stream-open-starttls):
7108 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7109 (network-stream-open-tls): Ditto.
7110
6302e0d3
LL
71112011-06-26 Leo Liu <sdl.web@gmail.com>
7112
7113 * register.el (registerv): New struct.
7114 (registerv-make): New function.
c9d29fb8
SM
7115 (jump-to-register, describe-register-1, insert-register):
7116 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7117 struct. (Bug#8415)
7118
5fdd4046
CY
71192011-06-26 Chong Yidong <cyd@stupidchicken.com>
7120
2afef60a
CY
7121 * vc/vc.el (vc-revert-show-diff): New defcustom.
7122 (vc-diff-internal): New arg specifying diff buffer.
7123 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7124 reuse an existing *vc-diff* buffer (Bug#8927).
7125
5fdd4046
CY
7126 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7127
e93db24a
GM
71282011-06-26 Glenn Morris <rgm@gnu.org>
7129
7130 * progmodes/f90.el (f90-critical-indent): New option.
7131 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7132 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7133 (f90-mode): Doc fix.
7134 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7135 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7136 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7137 (f90-match-end): Handle block, critical.
7138
eefff499
GM
71392011-06-25 Glenn Morris <rgm@gnu.org>
7140
f6ba4cc9
GM
7141 * calendar/diary-lib.el (diary-included-files): Doc fix.
7142 (diary-include-files): New function, extracted from
7143 diary-include-other-diary-files and diary-mark-included-diary-files.
7144 (diary-include-other-diary-files, diary-mark-included-diary-files):
7145 Just call diary-include-files.
7146 (diary-mark-entries): Reset diary-included-files on first call.
7147
16712304
GM
7148 * calendar/diary-lib.el (diary-mark-entries)
7149 (diary-mark-included-diary-files):
7150 Visit included diary-files in temp buffers.
7151
5d8e0d43
GM
7152 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7153 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7154 (f90-start-block-re, f90-imenu-generic-expression)
7155 (f90-looking-at-program-block-start, f90-no-block-limit):
7156 Add support for submodules.
7157
ccf7a5d5
GM
7158 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7159 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7160
11fdef7d 71612011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7162
7163 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7164 buffer-file-type before setting its value, to avoid disastrous
eefff499 7165 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7166
74f53697
JB
71672011-06-25 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7170
7171 * ses.el (ses-unload-function):
7172 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7173
7174 * proced.el (proced-unload-function):
7175 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7176
18a4ce5e
AR
71772011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7178
7179 * server.el (server-create-window-system-frame): Add parameters arg.
7180 (server-process-filter): Doc fix. Handle frame-parameters.
7181
519d22cc
JB
71822011-06-25 Juanma Barranquero <lekktu@gmail.com>
7183
7184 Fix bug#8730, bug#8781.
7185
7186 * loadhist.el (unload--set-major-mode): New function.
7187 (unload-feature): Use it.
7188
7189 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7190 (python-unload-function): New function.
7191
c206f5b0
SM
71922011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7195
f9ad64f3
GS
71962011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7197
7198 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7199 the candidates list.
7200
7d0da90e
JB
72012011-06-24 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7204
14b4e83d
RS
72052011-06-23 Richard Stallman <rms@gnu.org>
7206
7207 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7208 (rmail-variables): Set next-error-move-function.
7209 (rmail-what-message): Take argument POS.
7210 (rmail-next-error-move): New function.
7211
273d2baf
SM
72122011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7215 messages for adjacent non-terminals.
7216
56c2cc9a
RS
72172011-06-23 Richard Stallman <rms@gnu.org>
7218
7219 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7220 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7221 (rmail-start-mail): Don't specify use of rmail-mail-return;
7222 that's done by mail-bury now.
7223 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7224
d59eb518
MA
72252011-06-23 Michael Albinus <michael.albinus@gmx.de>
7226
7227 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7228 SIZE is a number.
7229
02cfc6d6
MR
72302011-06-23 Martin Rudalics <rudalics@gmx.at>
7231
7232 * window.el (get-lru-window, get-mru-window)
7233 (get-largest-window): Never return a minibuffer window.
7234 (display-buffer-pop-up-window): Fix a bug that could lead to
7235 reusing the minibuffer window.
7236 (display-buffer): Pass original specifier argument to
7237 display-buffer-function instead of the normalized one.
7238 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7239
4e323265
LL
72402011-06-22 Leo Liu <sdl.web@gmail.com>
7241
7242 * minibuffer.el (completing-read-function)
7243 (completing-read-default): Move from minibuf.c
7244
7a70468f
RS
72452011-06-22 Richard Stallman <rms@gnu.org>
7246
50718fc2
RS
7247 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7248 to Rmail even if not started by a special Rmail command.
7249
7a70468f
RS
7250 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7251 Copy the buffer currently showing just one message.
7252
297dde5a
RW
72532011-06-22 Roland Winkler <winkler@gnu.org>
7254
7255 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7256 (bibtex-clean-entry): First delete the old key so that a
7257 customized algorithm for generating the new key does not get
7258 confused by the old key.
7259 (bibtex-url): Obey regexp of first step.
7260 (bibtex-search-entries): Do not use add-to-list with local
7261 list-var.
7262
97bb1093
LMI
72632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7264
7265 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7266 stored a user name, then query for the password first, instead of
7267 waiting for SMTP to give an error message and the trying again.
7268
1c0f1a19
JD
72692011-06-22 Lawrence Mitchell <wence@gmx.li>
7270
7271 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7272 BUFFER in call-process.
7273
396f7c9d
LMI
72742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7275
7276 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7277 QUIT twice.
ddb7ffee
LMI
7278 (smtpmail-try-auth-methods): Require user name and password from
7279 auth-source.
396f7c9d 7280
8998d1b3
MR
72812011-06-22 Martin Rudalics <rudalics@gmx.at>
7282
7283 * window.el (display-buffer-default-specifiers)
7284 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7285 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7286 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7287
7288 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7289 (special-display-frame-alist, special-display-popup-frame):
7290 Remove duplicate declarations. These are now in window.el.
7291
4ea31e07
LMI
72922011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7293
c9d29fb8
SM
7294 * mail/smtpmail.el (smtpmail-via-smtp):
7295 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7296 server supports it. SMTP servers that support STARTTLS commonly
7297 require it.
7298
7299 * net/network-stream.el (network-stream-open-starttls): Support
7300 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7301 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7302
95f41d9a
LMI
7303 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7304 upgrades with `open-network-stream', and rely solely on
7305 auth-source for all credentials. Big changes throughout the file,
7306 but in particular:
c9d29fb8
SM
7307 (smtpmail-auth-credentials): Remove.
7308 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7309 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7310 MAIL FROM, too.
95f41d9a 7311
c9d29fb8
SM
7312 * net/network-stream.el (network-stream-open-starttls):
7313 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7314 STARTTLS.
7315 (auth-source): Require.
7316 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7317 (network-stream-certificate): Change cert-cert to cert and
7318 cert-key to key.
4ea31e07 7319
065ec2c7
MA
73202011-06-21 Michael Albinus <michael.albinus@gmx.de>
7321
7322 * net/tramp-cache.el (top): Don't load the persistency file when
7323 "emacs -Q" has been called.
7324
cd93b359
DR
73252011-06-21 Tim Harper <timcharper@gmail.com>
7326
d8e4b68b
JB
7327 * term/ns-win.el (ns-initialize-window-system):
7328 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7329 resource to NO as it is not yet supported by the NS port.
7330
ae9c0411
JB
73312011-06-21 Juanma Barranquero <lekktu@gmail.com>
7332
7333 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7334 (list-dynamic-libraries): ...not here.
7335
7f3f739f
LL
73362011-06-21 Leo Liu <sdl.web@gmail.com>
7337
7338 * subr.el (sha1): Implement sha1 using secure-hash.
7339
327c8fb1
MR
73402011-06-21 Martin Rudalics <rudalics@gmx.at>
7341
7342 * window.el (display-buffer-alist): In default value do not
7343 enforce searching a window on any but the selected frame.
7344 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7345 (display-buffer-select-window): Remove function.
7346 (display-buffer-in-window): When a window on another frame gets
7347 reused, do not select it any more but just raise its frame if
7348 necessary (Bug#8851) and (Bug#8856).
7349 (display-buffer-normalize-options): Handle pop-up-frames related
7350 options more faithfully.
7351 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7352 window if it is on another frame.
c9d29fb8
SM
7353 (display-buffer-alist, display-buffer-default-specifiers):
7354 Don't make new frame unsplittable by default.
9e9de014
MR
7355 (display-buffer-normalize-argument): Fix doc-string typo and use
7356 'same-frame-other-window instead of 'other-window when associating
7357 with display-buffer-macro-specifiers.
327c8fb1 7358
7cf3f556
VB
73592011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7360
7361 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7362 New functions.
7363 (5x5-mode-map, 5x5-mode-menu): Bind them.
7364 (5x5-draw-grid): Tweak the solver's rendering.
7365
60a406cf
SM
73662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7369 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7370
d8e4b68b 73712011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7372
7373 * menu-bar.el: Use function variable instead of switch-to-buffer.
7374 (menu-bar-select-buffer-function): New variable.
60a406cf 7375 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7376
478d6f95
SM
73772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7380 variable's status.
7381
ca530739
JD
73822011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7383
7384 * x-dnd.el (x-dnd-version-from-flags)
7385 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7386 and long as number (Bug#8899).
7387 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7388
bcd70d97
SM
73892011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7390
60a406cf 7391 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7392 (completion-try-completion, completion-all-completions): Compute the
7393 metadata argument if it's missing; make it optional (bug#8795).
7394
60a406cf 7395 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7396 (widget-complete): Use new :completion-function property.
7397 (widget-completions-at-point): New function.
7398 (default): Use :completion-function instead of :complete.
60a406cf
SM
7399 (widget-default-completions): Rename from widget-default-complete;
7400 Rewrite.
bcd70d97
SM
7401 (widget-string-complete, widget-file-complete, widget-color-complete):
7402 Remove functions.
7403 (file, symbol, function, variable, coding-system, color):
7404 * international/mule-cmds.el (default-input-method, charset)
7405 (language-info-custom-alist):
7406 * cus-edit.el (face): Use new property :completions.
7407
7408 * progmodes/pascal.el (pascal-completions-at-point): New function.
7409 (pascal-mode): Use it.
7410 (pascal-mode-map): Use completion-at-point.
7411 (pascal-toggle-completions): Make obsolete.
7412 (pascal-complete-word, pascal-show-completions):
7413 * progmodes/octave-mod.el (octave-complete-symbol):
7414 Redefine as obsolete alias.
7415 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7416 Signal absence of completion info for old Octave,
7417 (inferior-octave-complete): Redefine as obsolete alias.
7418 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7419 (meta-completions-at-point): Rename from meta-complete-symbol and
7420 adapt it for use on completion-at-point-functions.
7421 (meta-common-mode): Use it.
7422 (meta-looking-at-backward, meta-match-buffer): Remove.
7423 (meta-complete-symbol): Redefine as obsolete alias.
7424 (meta-common-mode-map): Use completion-at-point.
7425 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7426 (makefile-mode-map): Use completion-at-point.
7427 (makefile-completions-at-point): Rename from makefile-complete and
7428 adapt it for use on completion-at-point-functions.
7429 (makefile-mode): Use it.
7430 (makefile-complete): Redefine as obsolete alias.
7431
aebf69c8
DD
74322011-06-20 Deniz Dogan <deniz@dogan.se>
7433
7434 * net/rcirc.el: Delete trailing whitespaces once and for all.
7435
bfbbb27d
DC
74362011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7437
7438 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7439
d264a46b
CY
74402011-06-19 Chong Yidong <cyd@stupidchicken.com>
7441
4ca009e5
CY
7442 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7443
d264a46b
CY
7444 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7445
fbf5b3ce
MR
74462011-06-19 Martin Rudalics <rudalics@gmx.at>
7447
7448 * window.el (display-buffer-other-window-means-other-frame):
7449 Call display-buffer-normalize-alist.
7450 (display-buffer-normalize-specifiers-1): Rename to
7451 display-buffer-normalize-argument. New argument other-frame.
7452 Rewrite.
7453 (display-buffer-normalize-specifiers-2): Rename to
7454 display-buffer-normalize-options.
7455 (display-buffer-normalize-alist-1): New function.
7456 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7457 display-buffer-normalize-alist.
7458 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7459 (display-buffer-normalize-options-inhibit): New variable.
7460 (display-buffer-normalize-specifiers): Rewrite calling
7461 display-buffer-normalize-alist,
7462 display-buffer-normalize-argument, and
7463 display-buffer-normalize-options. Don't call the latter if
7464 display-buffer-normalize-options-inhibit is non-nil.
7465 (frame-auto-delete): New option.
7466 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7467 (window-list-no-nils, window-state-ignored-parameters)
7468 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7469 (window-state-put-1, window-state-put-2, window-state-put):
7470 New functions.
9a028c23
MR
7471 (display-buffer-normalize-options): Move special-display-p group
7472 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7473
6d10d800
CY
74742011-06-18 Chong Yidong <cyd@stupidchicken.com>
7475
6420d28b
CY
7476 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7477 groups (Bug#8776).
7478 (rx-submatch-n): New function.
7479 (rx): Document it.
7480
ddb8b596
CY
7481 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7482 (Bug#8768).
7483
7484 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7485
77080289
CY
7486 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7487
61dfb316
CY
7488 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7489 anytime existing face settings are present (Bug#8889).
7490
6d10d800
CY
7491 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7492 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7493 Remove unused argument.
7494
be3fb2b8
MR
74952011-06-18 Martin Rudalics <rudalics@gmx.at>
7496
bcd70d97
SM
7497 * window.el (display-buffer-default-specifiers):
7498 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7499 pop-up-window-min-width, and another reuse-window specifier
7500 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7501 (display-buffer-normalize-specifiers-2):
7502 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7503 pop-up-windows is unset. Add a reuse-window specifier for the
7504 case popping up a new window fails.
7505 (special-display-popup-frame): Remove double quoting.
28dec25a 7506 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7507
1c6d8c76
SM
75082011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7511 according to comint-completion-addsuffix.
7512
7513 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7514 (pcomplete-suffix-list): Mark as obsolete.
7515 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7516 pcomplete-seen in the closure.
7517 (pcomplete-comint-setup): Setup completion-at-point as well.
7518 (pcomplete--entries): New function.
7519 (pcomplete--env-regexp): New var.
7520 (pcomplete-entries): Rewrite to work with partial-completion and
7521 without relying on pcomplete-suffix-list.
7522 (pcomplete-pare-list): Remove, unused.
7523
25aef8b8
MR
75242011-06-17 Martin Rudalics <rudalics@gmx.at>
7525
7526 * window.el (display-buffer-alist): Set pop-up-window-min-height
7527 and pop-up-window-min-width in default value. Reported by
7528 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7529 other-window-means-other-frame.
7530 (display-buffer-macro-specifiers): Comment out entry for
7531 other-window specifier.
7532 (display-buffer-other-window-means-other-frame): New function.
7533 (display-buffer-normalize-specifiers-1): New arguments
7534 buffer-name and label. Treat other-window case specially.
7535 (display-buffer-normalize-specifiers-2): Treat other-window case
7536 specially.
7537 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7538 (display-buffer-normalize-specifiers):
7539 Call display-buffer-normalize-specifiers-3.
25aef8b8 7540
dbad4f69
MR
75412011-06-17 Martin Rudalics <rudalics@gmx.at>
7542
7543 * window.el (same-window-p): Fix two typos introduced when
7544 adding with-no-warnings.
d1067961
MR
7545 (display-buffer-normalize-specifiers-1): Don't check
7546 pop-up-frames for 'unset initialization.
7547 (display-buffer-normalize-specifiers-2): Major rewrite using
7548 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7549 (pop-up-frames, display-buffer-reuse-frames)
7550 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7551 Suggested by David Engster <deng@randomsample.de>.
7552 (even-window-heights): Initialize to 'unset.
7553 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7554 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7555 other window case.
dbad4f69 7556
9b9c9e3a
MR
75572011-06-16 Martin Rudalics <rudalics@gmx.at>
7558
bcd70d97
SM
7559 * window.el (display-buffer-normalize-specifiers-1):
7560 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7561 second argument of display-buffer (Bug#8865).
981d5c09
MR
7562 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7563 (switch-to-buffer-other-window-same-frame)
7564 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7565 Adams (Bug#8875).
9c2755e9
MR
7566 (display-buffer): Don't check noninteractive when calling
7567 display-buffer-pop-up-frame.
7568 (display-buffer-pop-up-frame): Never pop up a frame in
7569 noninteractive mode (Bug#8857).
67222e1d
MR
7570 (enlarge-window, shrink-window): Don't report an error when the
7571 window can't be resized as requested (Bug#8862).
9b9c9e3a 7572
2b75be67
SM
75732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7574
9ffdd3ba
SM
7575 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7576
cb581a67
SM
7577 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7578
2b75be67
SM
7579 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7580
8c0e3589
AM
75812011-06-15 Alan Mackenzie <acm@muc.de>
7582
cb581a67
SM
7583 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7584 for declarators, disable knr checking to speed up for normal files.
7585 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7586
b96e6cde
LMI
75872011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
4bba86e6
LMI
7589 * net/network-stream.el (open-network-stream): Add the keyword
7590 :always-query-capabilities for the case where you want to force a
7591 `plain' network connection, but the protocol still requires the
7592 capabilitiy command (i.e., SMTP and EHLO).
7593
2b75be67 7594 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7595 consistency with other `-live-p' functions.
7596
efdcdbf8
SM
75972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * window.el (same-window-buffer-names, same-window-regexps)
7600 (special-display-frame-alist, special-display-popup-frame)
7601 (special-display-function, special-display-buffer-names)
7602 (special-display-regexps, pop-up-frame-alist)
7603 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7604 (pop-up-windows, split-window-preferred-function)
7605 (split-height-threshold, split-width-threshold, even-window-heights)
7606 (display-buffer-mark-dedicated): Don't encourage the use of
7607 display-buffer-alist from Elisp code.
7608
c5cde042
DN
76092011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7610
7611 * progmodes/python.el (python-mode): Derive from prog-mode.
7612 * progmodes/ps-mode.el (ps-mode):
7613 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7614 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7615 * progmodes/ld-script.el (ld-script-mode): Likewise.
7616
baa1c9ab
MR
76172011-06-15 Martin Rudalics <rudalics@gmx.at>
7618
7619 * window.el (display-buffer-alist): Trim default value to avoid
7620 popping up a new frame (Bug#8857) or reusing an arbitrary window
7621 on another frame.
7622 (display-buffer): Do not fall back on popping up a new frame in
7623 batch mode (Bug#8857).
7624
c5dd5a51
CY
76252011-06-14 Chong Yidong <cyd@stupidchicken.com>
7626
7627 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7628 (custom-theme-summary): New function.
7629 (customize-themes): Use it.
7630
d647b7c4
GM
76312011-06-13 Glenn Morris <rgm@gnu.org>
7632
7633 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7634
9481c002
MR
76352011-06-13 Martin Rudalics <rudalics@gmx.at>
7636
357f93d2
MR
7637 * help.el (help-window): Remove variable.
7638 (help-window-point-marker, temp-buffer-max-height)
7639 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7640 (help-print-return-message): Don't set help-window.
7641 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7642 (help-window-setup-finish): Remove.
7643 (help-window-display-message, help-window-setup)
7644 (with-help-window): Major rewrite based on new
7645 display-buffer-window variable.
7646
7647 * help-mode.el (help-mode-finish): Remove help-window related
7648 code.
7649
7650 * view.el (view-exits-all-viewing-windows): Remove reference to
7651 view-return-to-alist in doc-string.
7652 (view-return-to-alist): Make obsolete.
7653 (view-buffer): Call pop-to-buffer-same-window and remove
7654 undo-window code.
7655 (view-buffer-other-window): Call pop-to-buffer-other-window and
7656 simplify code. Ignore second argument.
7657 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7658 simplify code. Ignore second argument.
7659 (view-return-to-alist-update): Make obsolete.
7660 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7661 Rewrite using quit-restore window parameters.
2b75be67
SM
7662 (view-mode-exit): Rename second argument to EXIT-ONLY.
7663 Rewrite using quit-restore-window.
357f93d2
MR
7664 (View-exit, View-exit-and-edit, View-leave, View-quit)
7665 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7666 appropriate arguments.
7667 (view-end-message): Use quit-restore window parameter.
7668
9481c002
MR
7669 * window.el (display-buffer-function): Rewrite doc-string.
7670 (display-buffer-window, display-buffer-alist): New variables.
7671 (display-buffer-split-specifiers)
7672 (display-buffer-side-specifiers)
7673 (display-buffer-macro-specifiers): New constants.
7674 (display-buffer-even-window-sizes, display-buffer-set-height)
7675 (display-buffer-set-width, display-buffer-select-window)
7676 (display-buffer-in-window, display-buffer-reuse-window)
7677 (display-buffer-split-window-1, display-buffer-split-window)
7678 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7679 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7680 (display-buffer-in-side-window, normalize-buffer-to-display)
7681 (display-buffer-normalize-specifiers-1)
7682 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7683 (display-buffer-normalize-specifiers, display-buffer-frame):
7684 New functions.
9481c002
MR
7685 (display-buffer): Major rewrite.
7686 (display-buffer-other-window, display-buffer-other-frame)
7687 (pop-to-buffer, switch-to-buffer-other-window)
7688 (switch-to-buffer-other-frame): Rewrite.
7689 (display-buffer-same-window, display-buffer-same-frame)
7690 (display-buffer-same-frame-other-window)
7691 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7692 (pop-to-buffer-other-window)
7693 (pop-to-buffer-same-frame-other-window)
7694 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7695 (switch-to-buffer-other-window-same-frame): New functions.
7696 (same-window-p, special-display-p): Rewrite disabling warnings.
7697 Make obsolete.
7698 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7699 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7700 Make obsolete
7701 (same-window-buffer-names, same-window-regexps)
7702 (special-display-frame-alist, special-display-popup-frame)
7703 (special-display-function, special-display-buffer-names)
7704 (special-display-regexps, pop-up-frame-alist)
7705 (pop-up-frame-function, split-window-preferred-function)
7706 (split-height-threshold, split-width-threshold)
7707 (even-window-heights): Make obsolete.
7708
9db51aca
GM
77092011-06-12 Glenn Morris <rgm@gnu.org>
7710
7711 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7712 Misc simplifications.
9db51aca 7713
39cffb44
MR
77142011-06-12 Martin Rudalics <rudalics@gmx.at>
7715
7716 * window.el (window-safely-shrinkable-p): Restore function which
7717 was inadvertently removed in change from 2011-06-11. Declare as
7718 obsolete.
7719
2b75be67
SM
7720 * calendar/calendar.el (calendar-generate-window):
7721 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7722 window-safely-shrinkable-p.
7723
a8955be7
GM
77242011-06-12 Glenn Morris <rgm@gnu.org>
7725
7726 * progmodes/fortran.el (fortran-mode-syntax-table):
7727 * progmodes/f90.el (f90-mode-syntax-table):
7728 Set % to punctuation. (Bug#8820)
7729 (f90-find-tag-default): Remove, no longer needed.
7730
f0d4059d
DC
77312011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7732
7733 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7734
1100a63c
CY
77352011-06-11 Chong Yidong <cyd@stupidchicken.com>
7736
7737 * image.el (image-animated-p): Return animation delay in seconds.
7738 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7739 (image-animate-timeout): Remove DELAY argument. Don't assume
7740 every subimage has the same delay; get it from image-animated-p.
7741 (image-animate): Caller changed.
7742
def722bf
MA
77432011-06-11 Michael Albinus <michael.albinus@gmx.de>
7744
7745 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7746 to ignored backtrace functions.
7747
0a2bb1a9
GM
77482011-06-11 Glenn Morris <rgm@gnu.org>
7749
7750 * calendar/appt.el (appt-disp-window-function): Doc fix.
7751 (appt-check): Handle overlapping appointments. (Bug#8337)
7752
6198ccd0
MR
77532011-06-11 Martin Rudalics <rudalics@gmx.at>
7754
7755 * window.el (window-tree-1, window-tree): New functions, moving
7756 the latter to window.el.
7757 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7758 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7759 (bw-refresh-edges): Remove.
7760 (balance-windows-1, balance-windows-2): New functions.
7761 (balance-windows): Rewrite in terms of window tree functions,
7762 balance-windows-1 and balance-windows-2.
7763 (bw-adjust-window): Remove.
7764 (balance-windows-area-adjust): New function with functionality of
7765 bw-adjust-window but using resize-window.
2b75be67
SM
7766 (set-window-text-height): Rewrite doc-string.
7767 Use normalize-live-window and resize-window.
7768 (enlarge-window-horizontally, shrink-window-horizontally):
7769 Rename argument to DELTA.
6198ccd0
MR
7770 (window-buffer-height): New function.
7771 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7772 Rewrite using new window resize routines.
2b75be67
SM
7773 (kill-buffer-and-window, mouse-autoselect-window-select):
7774 Use ignore-errors instead of condition-case.
6198ccd0
MR
7775 (quit-window): Call delete-frame instead of delete-windows-on
7776 for the only buffer on frame.
7777
9397e56f
MR
77782011-06-10 Martin Rudalics <rudalics@gmx.at>
7779
7780 * loadup.el (top-level): Load window before files for the sake
7781 of replace-buffer-in-windows.
7782
7783 * files.el (read-buffer-to-switch)
7784 (switch-to-buffer-other-window)
2b75be67
SM
7785 (switch-to-buffer-other-frame, display-buffer-other-frame):
7786 Move to window.el.
9397e56f
MR
7787
7788 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7789 (previous-buffer): Move to window.el.
7790
7791 * bindings.el (unbury-buffer): Move to window.el.
7792
7793 * window.el (delete-other-windows-vertically): Move after
7794 definition of delete-other-windows.
7795 (other-window, delete-windows-on, replace-buffer-in-windows):
7796 Move here from window.c.
7797 (record-window-buffer, unrecord-window-buffer)
7798 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7799 (switch-to-next-buffer): New functions.
7800 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7801 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7802 (previous-buffer): Move here from simple.el.
7803 Call switch-to-prev-buffer.
9397e56f
MR
7804 (bury-buffer): Move here from buffer.c. Switch to previous
7805 buffer when window cannot be deleted.
7806 (unbury-buffer): Move here from bindings.el.
7807 (ctl-x-map): Move binding for other-window from window.c to
7808 here.
7809 (read-buffer-to-switch, switch-to-buffer-other-window)
7810 (switch-to-buffer-other-frame): Move here from files.el.
7811 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7812 (switch-to-buffer): Move here from buffer.c.
7813 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7814
562dd5e9
MR
78152011-06-10 Martin Rudalics <rudalics@gmx.at>
7816
7817 * window.el (window-min-height, window-min-width): Move here
7818 from window.c. Add defcustoms and rewrite doc-strings.
7819 (resize-mini-window, resize-window): New functions.
7820 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7821 Move here from window.c.
7822 (maximize-window, minimize-window): New functions.
7823 (delete-window, delete-other-windows, split-window): Move here
7824 from window.c.
7825 (window-split-min-size): New function.
7826 (split-window-keep-point): Mention split-window-above-each-other
7827 instead of split-window-vertically.
2b75be67 7828 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7829 Rename split-window-vertically to split-window-above-each-other
7830 and provide defalias for old definition.
7831 (split-window-side-by-side, split-window-horizontally):
7832 Rename split-window-horizontally to split-window-side-by-side
7833 and provide defalias for the old definition.
562dd5e9
MR
7834 (ctl-x-map): Move bindings for delete-window,
7835 delete-other-windows and enlarge-window here from window.c.
7836 Replace bindings for split-window-vertically and
7837 split-window-horizontally by bindings for
7838 split-window-above-each-other and split-window-side-by-side.
7839
7840 * cus-start.el (all): Remove entries for window-min-height and
7841 window-min-width. Add entries for window-splits and
7842 window-nest.
7843
f0da764a
GM
78442011-06-09 Glenn Morris <rgm@gnu.org>
7845
80675c21
GM
7846 * calendar/appt.el (appt-mode-line): New function.
7847 (appt-check, appt-disp-window): Use it.
7848
f0da764a
GM
7849 * files.el (hack-one-local-variable-eval-safep):
7850 Allow minor-modes with explicit +/-1 arguments.
7851
59f623b7
TZ
78522011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7853
7854 * term/xterm.el (xterm): Add defgroup.
7855 (xterm-extra-capabilities): Add defcustom to supply known xterm
7856 capabilities, skip querying them, or query them (default).
7857 (terminal-init-xterm): Use it.
7858 (terminal-init-xterm-modify-other-keys): New function to set up
7859 modifyOtherKeys support to simplify `terminal-init-xterm'.
7860
9aab8e0d
MR
78612011-06-09 Martin Rudalics <rudalics@gmx.at>
7862
7863 * window.el (resize-window-reset, resize-window-reset-1)
7864 (resize-subwindows-skip-p, resize-subwindows-normal)
7865 (resize-subwindows, resize-other-windows, resize-this-window)
7866 (resize-root-window, resize-root-window-vertically)
7867 (window-deletable-p, window-or-subwindow-p)
7868 (frame-root-window-p): New functions.
7869
e8b08aee
GM
78702011-06-09 Glenn Morris <rgm@gnu.org>
7871
7872 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7873 (ange-ftp-get-files): Use it.
7874
254c37a5
AK
78752011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7876
7877 * mail/sendmail.el (mail-recover-1, mail-recover):
7878 * files.el (recover-file, recover-session):
7879 Handle dired-listing-switches not being just a single short option.
7880
35d7dbd3
GM
78812011-06-09 Glenn Morris <rgm@gnu.org>
7882
7883 * calendar/appt.el (appt-display-message, appt-disp-window):
7884 Handle lists of appointments.
7885
387522b2
MR
78862011-06-08 Martin Rudalics <rudalics@gmx.at>
7887
2b75be67
SM
7888 * window.el (one-window-p): Move down in code.
7889 Rewrite doc-string.
7890 (window-current-scroll-bars): Rewrite doc-string.
7891 Normalize live window argument.
387522b2
MR
7892 (walk-windows, get-window-with-predicate, count-windows):
7893 Rewrite doc-string. Use window-list-1.
7894 (window-in-direction-2, window-in-direction, get-mru-window):
7895 New functions.
7896
d8e4b68b 78972011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7898
7899 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7900 Doc fix (Bug#8713).
7901
79022011-06-08 Chong Yidong <cyd@stupidchicken.com>
7903
7904 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7905
79062011-06-08 Juanma Barranquero <lekktu@gmail.com>
7907
7908 * loadhist.el (unload-feature-special-hooks):
7909 Add `comint-output-filter-functions'.
7910
0de12c52
IK
79112011-06-08 Ivan Kanis <gnu@kanis.fr>
7912
7913 * calendar/appt.el (appt-check): Move some initializations into the let.
7914
f3d1777e
MR
79152011-06-08 Martin Rudalics <rudalics@gmx.at>
7916
7917 * window.el (window-height): Defalias to window-total-height.
7918 (window-width): Defalias to window-body-width.
7919
18af70d0
CY
79202011-06-07 Chong Yidong <cyd@stupidchicken.com>
7921
7922 * image-mode.el (image-toggle-animation): New command.
7923 (image-mode-map): Bind it to RET.
7924 (image-mode): Update message.
7925 (image-toggle-display-image): Avoid a spurious cache flush.
7926 (image-transform-rotation): Doc fix.
7927 (image-transform-properties): Return quickly in the normal case.
7928 (image-animate-loop): Rename from image-animate-max-time.
7929
2b75be67 7930 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7931 (create-animated-image): Remove unnecessary function.
7932 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7933 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7934 (image-animate-timer): Use car-safe.
7935 (image-animate-timeout): Rename argument.
7936
190b47e6
MR
79372011-06-07 Martin Rudalics <rudalics@gmx.at>
7938
7939 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7940 window.c. Rename first argument to ALL-FRAMES.
7941 Rephrase doc-strings.
7942 (get-buffer-window-list): Rewrite using window-list-1.
7943 Rephrase doc-string.
a1511caf
MR
7944 (window-safe-min-height, window-safe-min-width): New constants.
7945 (window-size-ignore, window-min-size, window-min-size-1)
7946 (window-sizable, window-sizable-p, window-size-fixed-1)
7947 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7948 (window-max-delta-1, window-max-delta, window-resizable)
7949 (window-resizable-p, window-total-height, window-total-width)
7950 (window-body-width): New functions.
7951 (window-full-height-p, window-full-width-p): Rewrite using
7952 window-total-size.
7953 (window-body-height): Rewrite using window-body-size.
190b47e6 7954
85cc1f11
MR
79552011-06-06 Martin Rudalics <rudalics@gmx.at>
7956
7957 * window.el (window-right, window-left, window-child)
7958 (window-child-count, window-last-child, window-any-p)
7959 (normalize-live-buffer, normalize-live-frame)
7960 (normalize-any-window, normalize-live-window)
7961 (window-iso-combination-p, window-iso-combined-p)
7962 (window-iso-combinations)
7963 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7964 (windows-with-parameter, window-with-parameter)
7965 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7966 (window-atom-check, window-side-check, window-check):
7967 New functions.
85cc1f11
MR
7968 (ignore-window-parameters, window-sides, window-sides-vertical)
7969 (window-sides-slots): New variables.
7970 (window-size-fixed): Move down in code. Minor doc-string fix.
7971
e7156492
AS
79722011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7973
7974 * comint.el (comint-dynamic-complete-as-filename)
7975 (comint-dynamic-complete-filename): Correctly call
7976 completion-in-region.
7977
7e821d0d
DD
79782011-06-05 Deniz Dogan <deniz@dogan.se>
7979
7980 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7981 in last change.
7982
ac09b8a1
DD
79832011-06-05 Deniz Dogan <deniz@dogan.se>
7984
7985 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7986 (rcirc): Use it to prompt for encryption.
7987
34699b85
RW
79882011-06-05 Roland Winkler <winkler@gnu.org>
7989
7990 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7991 (bibtex-search-entries): New command bound to C-c C-a.
7992 (bibtex-display-entries): New function.
7993
004dedd3
RW
79942011-06-05 Roland Winkler <winkler@gnu.org>
7995
7996 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7997 (bibtex-insert-kill): After yanking insert newline if necessary.
7998 (bibtex-initialize): Call bibtex-string-files-init only once.
7999 (bibtex-mode): Do not call easy-menu-add.
8000 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8001 (bibtex-yank): Set arg properly if nil.
8002
022fe7ce
RW
80032011-06-05 Roland Winkler <winkler@gnu.org>
8004
2b75be67
SM
8005 * textmodes/bibtex.el (bibtex-search-entry-globally):
8006 New variable.
022fe7ce
RW
8007 (bibtex-search-entry): Use it.
8008
b7c3692a
RW
80092011-06-05 Roland Winkler <winkler@gnu.org>
8010
8011 * textmodes/bibtex.el (bibtex-entry-format): New option
8012 sort-fields.
8013 (bibtex-format-entry, bibtex-reformat): Honor this option.
8014 (bibtex-parse-entry): Return fields in proper order.
8015
8eda563d
JB
80162011-06-05 Juanma Barranquero <lekktu@gmail.com>
8017
8018 * doc-view.el (doc-view-remove-if): Move computation of result out
8019 of `dolist' to silence misleading lexical-binding warning.
8020
7dbe3dbc
CY
80212011-06-04 Chong Yidong <cyd@stupidchicken.com>
8022
8023 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8024 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8025
0c33dd17
MA
80262011-06-04 Michael Albinus <michael.albinus@gmx.de>
8027
8028 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8029 "SunOS 5.10".
8030
f8f91c2b
MA
80312011-06-04 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8034 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8035 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8036 (tramp-parse-putty):
8037 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8038 (tramp-completion-function-alist-ssh)
8039 (tramp-completion-function-alist-telnet)
8040 (tramp-completion-function-alist-su)
8041 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8042 cookie.
8043
8044 * net/tramp-ftp.el:
8045 * net/tramp-sh.el:
8046 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8047 load "tramp.el" `tramp-set-completion-function'.
8048
e17d9003
SM
80492011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * shell.el: Require and use pcomplete.
8052 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8053 (shell-completion-vars): Set pcomplete-default-completion-function.
8054
6c4cab03
DD
80552011-06-04 Deniz Dogan <deniz@dogan.se>
8056
8057 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8058 `memq' (Bug#8799).
8059
ea9fafe0
SM
80602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8063
b3e945d3
JB
80642011-06-02 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8067 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8068 * vc/log-view.el (log-view-beginning-of-defun):
8069 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8070 (smerge-refine-forward, smerge-refine-chopup-region):
8071 Silence warning for unused `dotimes' counter variables.
8072
7d520089
SM
80732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * net/tramp.el (tramp-with-progress-reporter): Rename from
8076 with-progress-reporter. Use `declare'.
8077 * net/tramp-smb.el:
8078 * net/tramp-sh.el:
8079 * net/tramp-gvfs.el: Update all uses.
8080
a1c2400f
JB
80812011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8082
8083 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8084 buffer isn't killed before making it current.
8085
2403c841
SM
80862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 Silence various byte-compiler warnings.
8089 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8090 `access-type' and new obsolescence format.
8091 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8092 new format.
8093 (byte-compile-check-variable): New `access-type' argument.
8094 Only warn if the access-type is obsolete.
8095 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8096 (byte-compile-variable-set): Adjust callers.
8097 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8098 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8099 setting it as obsolete.
8100 * simple.el (minibuffer-completing-symbol):
8101 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8102 access as obsolete.
8103 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8104 obsolete yet.
8105 * international/quail.el (quail-mouse-choose-completion): Remove unused
8106 code referring to obsolete var.
8107 (quail-choose-completion-string): Remove.
8108 * server.el (server-clients-with, server-kill-buffer-query-function)
8109 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8110 * proced.el (proced-send-signal):
8111 * emacs-lisp/lisp.el (lisp-complete-symbol):
8112 Replace completion-annotate-function with completion-extra-properties.
8113
2462470b
SM
81142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8115
fb5b2591
SM
8116 * simple.el (goto-line): Use read-number.
8117 (overriding-map-is-bound): Remove.
8118 (saved-overriding-map): Change default.
8119 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8120 Take the map as argument.
8121 (universal-argument, negative-argument, digit-argument): Use it.
8122 (restore-overriding-map): Adjust.
8123 (do-auto-fill): Use fill-forward-paragraph.
8124 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8125
fd6fa53f
SM
8126 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8127 (minibuffer-inactive-mode): New major mode.
8128 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8129 the *Messages* buffer" hack.
8130 (mouse-popup-menubar): Don't burp if the event is a normal key.
8131
2462470b
SM
8132 Miscellaneous tweaks.
8133 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8134 lexical scoping as in subr.el's dolist and dotimes.
8135 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8136 Silence compiler warning.
8137 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8138 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8139 * international/ccl.el (ccl-compile): Trivial simplification.
8140 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8141 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8142 `printflag' argument.
8143 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8144 Purecopy the whole obsolescence data.
8145
108bf785
LL
81462011-06-01 Leo Liu <sdl.web@gmail.com>
8147
8148 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8149 improve doc-string as suggested by Marco Pessotto
8150 <melmothx@gmail.com>.
8151 (rcirc-print): Fix last change.
8152
30a23501
SM
81532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * minibuffer.el (complete-with-action): Return nil for the metadata and
8156 boundaries of non-functional tables.
8157 (completion-table-dynamic): Return nil for the metadata.
8158 (completion-table-with-terminator): Add default case, using
8159 complete-with-action.
8160 (completion--metadata): New function.
8161 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8162 to try and avoid pathological performance problems.
8163 (completion--embedded-envvar-table): Return `category' metadata.
8164
bcd54f83
LMI
81652011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8166
8167 * subr.el (process-alive-p): New tiny convenience function.
8168
e227544d
SM
81692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8172 content but also its previous major mode.
8173
e8296fdc
HE
81742011-05-31 Helmut Eller <eller.helmut@gmail.com>
8175
4d61f28d 8176 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8177 *Backtrace* buffer when we exit with C-M-c.
8178
620c53a6
SM
81792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * minibuffer.el: Add metadata method to completion tables.
8182 (completion-category-overrides): New defcustom.
8183 (completion-metadata, completion--field-metadata)
8184 (completion-metadata-get, completion--styles)
8185 (completion--cycle-threshold): New functions.
8186 (completion-try-completion, completion-all-completions):
8187 Add `metadata' argument to choose completion-styles.
8188 (completion--do-completion): Use metadata to choose cycling.
8189 (completion-all-sorted-completions): Use metadata for sorting.
8190 Remove :completion-cycle-penalty which is not needed any more.
8191 (completion--try-word-completion): Add `metadata' argument.
8192 (minibuffer-completion-help): Check metadata for annotation function
8193 and sorting.
8194 (completion-file-name-table): Return `category' metadata.
8195 (minibuffer-completing-file-name): Make obsolete.
8196 * simple.el (minibuffer-completing-symbol): Make obsolete.
8197 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8198 completion-try-completion.
8199
1257e755
SM
82002011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8203
3767e706
LL
82042011-05-30 Leo Liu <sdl.web@gmail.com>
8205
8206 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8207 (rcirc-print): Decode all incoming messages (bug#8744).
8208 (rcirc-decode-coding-system): Allow value nil for automatic coding
8209 system detection.
3767e706 8210
d1a5d56a
GM
82112011-06-01 Glenn Morris <rgm@gnu.org>
8212
8213 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8214
e8cbec34
CY
82152011-05-29 Chong Yidong <cyd@stupidchicken.com>
8216
8217 * image.el (image-animate-max-time): Allow nil and t values.
8218 Default to nil.
8219 (create-animated-image): Doc fix.
8220 (image-animate-start): Remove second arg; just use
8221 image-animate-max-time.
8222 (image-animate-timeout): Doc fix. Args changed.
8223
8224 * image-mode.el (image-toggle-display-image): Ensure that the
8225 image spec passed to the animate timer is the same object as in
58179cce 8226 the buffer's display property (Bug#6981).
e8cbec34
CY
8227 (image-transform-properties): Doc fix.
8228
8229 * image.el (image-animate-max-time): Default to nil.
8230
159daf87
MR
82312011-05-29 Martin Rudalics <rudalics@gmx.at>
8232
8233 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8234 entire buffer list (Bug#8184).
8235
d66c4c7c
CY
82362011-05-29 Chong Yidong <cyd@stupidchicken.com>
8237
8238 * image.el (imagemagick-types-inhibit)
8239 (imagemagick-register-types): Doc fix.
8240
80aec780
DD
82412011-05-29 Deniz Dogan <deniz@dogan.se>
8242
8243 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8244 default.
8245
1dd3c2d9
CY
82462011-05-29 Chong Yidong <cyd@stupidchicken.com>
8247
8248 * select.el: Don't perform clipboard-manager saving in hooks;
8249 leave the hooks empty.
8250
60e56523
LL
82512011-05-28 Leo Liu <sdl.web@gmail.com>
8252
8253 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8254 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8255 (occur-edit-mode): New major mode (Bug#8463).
8256 (occur-after-change-function): New function.
8257 (occur-engine): Give Occur tags a read-only property.
8258
2b1e1a22
KR
82592011-05-28 Kevin Ryde <user42@zip.com.au>
8260
8261 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8262
5d344e88
CY
82632011-05-28 Chong Yidong <cyd@stupidchicken.com>
8264
8e6ca83d
CY
8265 * bindings.el (help-echo): Make the initial non-indicator dash
8266 empty on graphical terminals (Bug#7295).
8267
5d344e88
CY
8268 * files.el (auto-mode-alist): Move config rule after the
8269 in-stripping one (Bug#8547).
8270
bfbbace7
CY
8271 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8272
fbeba6e2
CY
8273 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8274 setting (Bug#8740).
8275
60ed8c72
AA
82762011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8277
4ac619f0
AA
8278 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8279 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8280 (Bug#8539).
60ed8c72 8281
23db196e
CY
82822011-05-28 Chong Yidong <cyd@stupidchicken.com>
8283
8284 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8285
5012f24c
DK
82862011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8287
8288 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8289 (hs-hide-block-at-point, hs-find-block-beginning)
8290 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8291 (Bug#8279).
8292
6a639b16
GM
82932011-05-28 Glenn Morris <rgm@gnu.org>
8294
8295 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8296
d43eaf2c
CY
82972011-05-28 Chong Yidong <cyd@stupidchicken.com>
8298
5199bde1
CY
8299 * help-fns.el (describe-function-1): If the function is a derived
8300 major mode, print the parent mode.
8301
d43eaf2c
CY
8302 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8303 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8304
423428a8
SM
83052011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8306
0ff8e1ba 8307 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8308 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8309 * progmodes/etags.el (tags-completion-at-point-function):
8310 * info-look.el (info-lookup-completions-at-point): Mark as
8311 non-exclusive.
8312 (info-complete): Adjust accordingly.
8313
423428a8
SM
8314 * info-look.el: Convert to lexical-binding and completion-at-point.
8315 (info-lookup-completions-at-point): New function.
8316 (info-complete): Use it and completion-in-region.
8317
b74aa22b
DA
83182011-05-28 Drew Adams <drew.adams@oracle.com>
8319
8320 * isearch.el: Let M-e start with point at the first mismatched char.
8321 (isearch-fail-pos): New function.
8322 (isearch-edit-string): Use it.
8323
66e2e71d
DK
83242011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8325
8326 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8327
b1890b0f 83282011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8329
8330 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8331 traversal functions for avl-trees.
8332 (avl-tree--stack): New struct.
8333 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8334 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8335 (avl-tree--do-enter): Add optional `updatefun' arg.
8336 Change return value.
eb95d01d 8337 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8338 (avl-tree--do-delete): Add `test' and `nilflag' args.
8339 Change return value.
eb95d01d
TC
8340 (avl-tree-member): Add optional `nilflag'
8341 (avl-tree-member-p): New function.
8342 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8343 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8344 (avl-tree-stack-empty-p): New functions.
8345
3769ddcf
TC
8346 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8347 avl-tree--del-balance1 and make it work both ways.
8348 (avl-tree--del-balance2): Remove.
8349 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8350 make it work both ways.
8351 (avl-tree--enter-balance2): Remove.
8352 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8353 New macros.
8354 (avl-tree--mapc, avl-tree-map): Add direction argument.
8355
eb95d01d 83562011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8357
8358 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8359
a9f737ee
CY
83602011-05-27 Chong Yidong <cyd@stupidchicken.com>
8361
8362 * select.el: Support clipboard managers with built-in function
8363 x-clipboard-manager-save, via delete-frame-functions and
8364 kill-emacs-hook.
8365 (xselect-convert-to-targets): Add MULTIPLE target to list.
8366 (xselect-convert-to-save-targets): New function.
8367
c92a1e54
KH
83682011-05-27 Kenichi Handa <handa@m17n.org>
8369
8370 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8371 let-binding rfc2047-encode-encoded-words to nil.
8372
e145f188
GM
83732011-05-27 Glenn Morris <rgm@gnu.org>
8374
5ec8a862
GM
8375 * mail/emacsbug.el: Don't require url-util.
8376
4b29d9fb
GM
8377 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8378
e145f188
GM
8379 * files.el (set-auto-mode):
8380 Also respect mode: entries at the end of the file. (Bug#8586)
8381
7d15102b
GM
83822011-05-26 Glenn Morris <rgm@gnu.org>
8383
98f593b8
GM
8384 * files.el (hack-local-variables-prop-line, hack-local-variables):
8385 Downcase mode names, as seems to be traditional.
27b48e63 8386 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8387
7d15102b
GM
8388 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8389 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8390
51d5b4ec
JD
83912011-05-25 Julien Danjou <julien@danjou.info>
8392
8393 * textmodes/rst.el (rst-define-level-faces): Do not define face
8394 symbol if it is already defined.
8395
91513f63
VB
83962011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8397
8398 * play/5x5.el (5x5-new-game, 5x5-randomize):
8399 Reset 5x5-solver-output to nil when a new grid is cast.
8400 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8401 these debugging traces, as defmacro breaks the compiled code.
8402
4d90d6d0
DK
84032011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8404
8405 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8406
e1b90ef6
LL
84072011-05-24 Leo Liu <sdl.web@gmail.com>
8408
8409 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8410 (vc-bzr-sha1): Adapt.
8411
d8e4b68b 8412 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8413
8414 * bindings.el: Provide sha1 feature.
8415
db0406bb 84162011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8417
8418 * mail/sendmail.el: Require `rfc2047'.
8419 (mail-insert-from-field): Do not perform RFC2047 encoding.
8420 (mail-encode-header): New function.
8421 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8422 buffer to the return value of select-message-coding-system.
8423 Call mail-encode-header.
b8d747b9
KH
8424
8425 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8426
db0406bb 84272011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8428
4d90d6d0
DK
8429 * mail/supercite.el (sc-default-cite-frame):
8430 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8431
eb8a5e9b
GM
84322011-05-24 Glenn Morris <rgm@gnu.org>
8433
f8630703
GM
8434 * progmodes/python.el (brm-menu): Declare.
8435
8831bbed
GM
8436 * emulation/viper.el (viper-set-hooks): Declare.
8437
eb8a5e9b
GM
8438 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8439 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8440 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8441 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8442 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8443 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8444
a2a25d24
SM
84452011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 Add an :exit-function for completion-at-point.
8448
8449 * minibuffer.el (completion--done): New fun.
8450 (completion--do-completion): Use it. New arg `expect-exact'.
8451 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8452 since completion--do-completion does it for us now.
8453 (minibuffer-force-complete): Use completion--done and
8454 completion--replace. Handle sole-completion case with more care.
8455 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8456 (completion-extra-properties): New var.
8457 (completion-annotate-function): Make obsolete.
8458 (minibuffer-completion-help): Adjust accordingly.
8459 Use completion-list-insert-choice-function.
8460 (completion-at-point, completion-help-at-point):
8461 Bind completion-extra-properties.
8462 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8463 * simple.el (completion-list-insert-choice-function): New var.
8464 (completion-setup-function): Preserve it.
8465 (choose-completion): Pay attention to it, shuffle the code a bit.
8466 (choose-completion-string): New arg `insert-function'.
8467
8468 * textmodes/bibtex.el: Convert to lexical binding.
8469 (bibtex-mode-map): Use completion-at-point.
8470 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8471 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8472 (bibtex-complete): Define as obsolete alias.
8473 (bibtex-complete-internal): Remove.
8474 (bibtex-format-entry): Remove unused sub-group in regexp.
8475 * shell.el (shell--command-completion-data)
8476 (shell-environment-variable-completion):
8477 * pcomplete.el (pcomplete-completions-at-point):
8478 * comint.el (comint--complete-file-name-data): Use :exit-function
8479 instead of completion-table-with-terminator so it also works for
8480 choose-completion.
8481
e44e373d
SM
84822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8483
4f91a816
SM
8484 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8485
782fc819
SM
8486 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8487 (bug#8710).
8488
e44e373d
SM
8489 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8490
381987c3
KM
84912011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8492
8493 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8494 customization variable and implement: If non-nil, auto-fill will
8495 be inhibited while on topic's header line.
8496
b776bc70
VB
84972011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8498
8499 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8500 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8501 always have a solution in grid size = 5 cases.
8502 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8503 (5x5-solver-output, 5x5-log-buffer): New vars.
8504 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8505 Make these variables buffer local to achieve 5x5 multi-session-ness.
8506 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8507 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8508 (5x5-solve-suggest): New funs.
8509 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8510 randomize a grid so that we ensure that there is always a solution.
8511 (5x5-make-random-grid): Allow other movement than flipping.
8512
7de88b6e
KR
85132011-05-23 Kevin Ryde <user42@zip.com.au>
8514
8515 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8516 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8517 advice and passes PREDICATE.
8518
b1ef1257
SM
85192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8520
bbca48fe
SM
8521 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8522 byte-compile-lambda if it's actually a lambda.
8523
b1ef1257
SM
8524 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8525 Fix function quoting. Use backquote better.
8526
92a9cc65
YS
85272011-05-22 Yuanle Song <sylecn@gmail.com>
8528
8529 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8530 matching (Bug#8516).
8531
f0fb8059
JA
85322011-01-22 Jari Aalto <jari.aalto@cante.net>
8533
8534 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8535 different face (Bug#8178).
8536
d5b44c93
CY
85372011-05-22 Chong Yidong <cyd@stupidchicken.com>
8538
8539 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8540 defface (Bug#8144).
8541
79106a44
SM
85422011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8543
9c848d8a
SM
8544 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8545 funcall as well (bug#8712). Warn when performing those conversions.
8546 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8547
79106a44
SM
8548 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8549
88dfa756
GM
85502011-05-22 Glenn Morris <rgm@gnu.org>
8551
8552 * files.el (hack-local-variables-prop-line): Small simplifications.
8553 (hack-local-variables, hack-local-variables-prop-line):
8554 If MODE-ONLY, return the mode, rather than just `t'.
8555
b7cf2c79
SM
85562011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8559
3f1a8558
GM
85602011-05-21 Glenn Morris <rgm@gnu.org>
8561
7e4ccca3
GM
8562 * files.el (hack-local-variables-prop-line, hack-local-variables):
8563 If only interested in the mode, don't bother doing the other stuff.
8564
637d46ca
GM
8565 * image-mode.el (image-after-revert-hook):
8566 Redraw all frames on which the image is visible. (Bug#8567)
8567
973d955b
GM
8568 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8569
3f1a8558
GM
8570 * wid-edit.el (widget-checklist-match-inline):
8571 Fix 2011-04-19 change. (Bug#8649)
8572
96479927
SM
85732011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8574
1dcf791f
SM
8575 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8576 Also allow singlespace after single-letter capitals followed by a dot.
8577
96479927
SM
8578 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8579 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8580
35fd0881
N
85812011-05-20 Nix <nix@esperi.org.uk>
8582
8583 * files.el (basic-save-buffer-2):
8584 Fix handling of break-hardlink-on-save with non-existent files.
8585
82745640
DD
85862011-05-19 Deniz Dogan <deniz@dogan.se>
8587
8588 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8589 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8590
4a720484
GM
85912011-05-19 Glenn Morris <rgm@gnu.org>
8592
d1f21341
GM
8593 * progmodes/f90.el (f90-type-def-re):
8594 Handle "type, bind(c)". (Bug#8691)
8595
4a720484
GM
8596 * emacs-lisp/autoload.el (batch-update-autoloads):
8597 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8598
2fb0a219
MA
85992011-05-18 Michael Albinus <michael.albinus@gmx.de>
8600
8601 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8602 property for the correct connection in case of multihops.
8603
e565dd37
GM
86042011-05-18 Glenn Morris <rgm@gnu.org>
8605
c2571358 8606 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8607 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8608
e565dd37
GM
8609 Rationalize calendar handling of day and month abbrev-arrays.
8610 * calendar/calendar.el (calendar-customized-p): New function.
8611 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8612 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8613 Add :set function.
8614 (calendar-abbrev-length, calendar-day-abbrev-array)
8615 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8616 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8617 Elements may no longer be nil.
8618 (calendar-day-name, calendar-month-name):
8619 Update for changed nature of abbrev arrays.
8620 * calendar/diary-lib.el (diary-name-pattern):
8621 Update for changed nature of abbrev arrays.
8622 (diary-mark-entries-1): Update calendar-make-alist calls.
8623 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8624 * calendar/cal-html.el (cal-html-day-abbrev-array):
8625 Simply inherit from calendar-day-abbrev-array.
8626
1d99a745
SM
86272011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * progmodes/grep.el (grep-mode): Disable default
8630 compilation-directory-matcher setting (bug#8684).
8631
7c1d9aa0
MA
86322011-05-17 Michael Albinus <michael.albinus@gmx.de>
8633
8634 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8635 instead of "head" and "tail". There were problems with SunOS 5.9,
8636 and it performs better.
8637
3952e9d8
GM
86382011-05-17 Glenn Morris <rgm@gnu.org>
8639
2dd12e7f
GM
8640 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8641
e4157b9c
GM
8642 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8643 Replace obsolete function.
8644
8e249bbd
GM
8645 * shell.el (pcomplete-parse-arguments-function): Declare.
8646
3952e9d8
GM
8647 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8648 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8649 (appt-check): Doc fixes.
8650 (appt-disp-window-function, appt-delete-window-function):
8651 Remove needless special case in custom :type.
8652 (appt-display-count): Default to 0, not nil.
8653 (appt-check): Reset appt-display-count to 0, not nil.
8654
c71a0d48 86552011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8656
c71a0d48
GM
8657 * progmodes/python.el (python-font-lock-keywords):
8658 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8659
31d55be9
SM
86602011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8663
3bfacb2f
KR
86642011-05-16 Kevin Ryde <user42@zip.com.au>
8665
8666 * info-look.el (makefile-automake-mode): New setups, looking in
8667 automake manual, then makefile-mode.
8668 (makefile-mode): Remove automake manual, have it just in
8669 makefile-automake-mode since there's various things different or
8670 not relevant to plain make.
8671 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8672 believe a hypothetical automake-mode would go to makefile-mode,
8673 not the other way around.
8674
c8e83751
CY
86752011-05-15 Chong Yidong <cyd@stupidchicken.com>
8676
5e9e35cd
CY
8677 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8678 hunk-end tags (Bug#8672).
8679
c8e83751
CY
8680 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8681 vc-annotate-show-diff-revision-at-line (Bug#8671).
8682
50b23e5a
GM
86832011-05-14 Glenn Morris <rgm@gnu.org>
8684
7210a739
GM
8685 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8686 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8687 (change-log-font-lock-keywords): Also handle multiple author lines
8688 with leading tabs. (Bug#8644)
7210a739 8689
4691905a
GM
8690 * calendar/appt.el (appt-check): Rename some local variables.
8691 Some simplification/reordering.
8692
50b23e5a
GM
8693 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8694 (feedmail-sendmail-f-doesnt-sell-me-out)
8695 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8696 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8697 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8698 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8699 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8700 (feedmail-binmail-gnulinuxish-template):
8701 Rename from feedmail-binmail-linuxish-template.
8702 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8703 Use insert-buffer-substring.
8704
215cda7c
BC
87052011-05-14 Bill Carpenter <bill@carpenter.org>
8706
8707 * mail/feedmail.el (feedmail-patch-level): Increase.
8708 (feedmail-debug): New custom group.
8709 (feedmail-confirm-outgoing-timeout)
8710 (feedmail-sendmail-f-doesnt-sell-me-out)
8711 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8712 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8713 (feedmail-sender-line, feedmail-from-line)
8714 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8715 (feedmail-spray-this-address)
215cda7c
BC
8716 (feedmail-spray-address-fiddle-plex-list)
8717 (feedmail-queue-use-send-time-for-date)
8718 (feedmail-queue-use-send-time-for-message-id)
8719 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8720 (feedmail-buffer-eating-function):
8721 Doc fixes.
8722 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8723 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8724 (feedmail-message-action-scroll-down): New functions.
8725 (feedmail-queue-directory, feedmail-queue-draft-directory):
8726 Use expand-file-name.
8727 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8728 Remove C-v help entry.
8729 (feedmail-queue-buffer-file-name): New variable.
8730 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8731 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8732 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8733 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8734 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8735 (feedmail-message-action-toggle-spray)
8736 (feedmail-run-the-queue-no-prompts)
8737 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8738 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8739 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8740 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8741 (feedmail-envelope-deducer, feedmail-fiddle-from)
8742 (feedmail-fiddle-sender, feedmail-default-date-generator)
8743 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8744 (feedmail-fiddle-spray-address)
8745 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8746 (feedmail-fiddle-list-of-fiddle-plexes)
8747 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8748 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8749 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8750 Change default. Doc fix.
8751 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8752 (feedmail-binmail-linuxish-template): New constant.
8753 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8754 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8755 (feedmail-send-it): Add debug call.
8756 Use feedmail-queue-buffer-file-name, and
8757 feedmail-send-it-immediately-wrapper.
8758 (feedmail-message-action-send): Add debug call.
8759 Use feedmail-send-it-immediately-wrapper.
8760 (feedmail-queue-express-to-queue): Add debug call.
8761 Run feedmail-queue-express-hook.
8762 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8763 (feedmail-message-action-help-blat):
8764 Rename from feedmail-queue-send-edit-prompt-help-first.
8765 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8766 Check line-endings. Handle errors better.
8767 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8768 Doc fix. Add debug call.
8769 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8770 Use feedmail-queue-send-edit-prompt-inner.
8771 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8772 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8773 from feedmail-queue-send-edit-prompt.
8774 (feedmail-queue-send-edit-prompt-help)
8775 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8776 (feedmail-tidy-up-slug): Add debug call.
8777 Respect feedmail-queue-slug-suspect-regexp.
8778 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8779 (feedmail-dump-message-to-queue): Add debug call.
8780 Expand queue-directory.
8781 (feedmail-dump-message-to-queue): Change message slightly.
8782 Use feedmail-say-chatter.
8783 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8784 (feedmail-send-it-immediately-wrapper): New function.
8785 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8786 Insert empty string rather than newline. Handle full-frame case.
8787 Use catch/throw. Use feedmail-say-chatter.
8788 (feedmail-fiddle-from): Try mail-host-address.
8789 (feedmail-default-message-id-generator): Doc fix.
8790 Bind system-time-locale. Handle missing end.
8791 (feedmail-fiddle-x-mailer): Add debug call.
8792 Handle feedmail-x-mailer-line being nil.
8793 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8794 Add debug call. Use buffer-substring-no-properties.
8795 (feedmail-say-debug, feedmail-say-chatter): New functions.
8796 (feedmail-find-eoh): Give an explicit error.
8797
42c7e61e
UJ
87982011-05-13 Ulf Jasper <ulf.jasper@web.de>
8799
c2571358 8800 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8801 family from helvetica to sans.
c2571358 8802 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8803 etc/images/newsticker.
8804
c2571358 8805 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8806 family from helvetica to sans.
8807
8808 * net/newst-plainview.el (newsticker-new-item-face)
8809 (newsticker-old-item-face, newsticker-immortal-item-face)
8810 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8811 (newsticker-statistics-face): Change default family from
42c7e61e 8812 helvetica to sans.
c2571358 8813 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8814 etc/images/newsticker.
8815
8816 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8817 (newsticker--process-auto-mark-filter-match): : Tell user about
8818 auto-marking.
8819
8497a297
DV
88202011-05-13 Didier Verna <didier@xemacs.org>
8821
8822 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
8823 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8824 TODO entries.
8497a297
DV
8825 (lisp-lambda-list-keyword-parameter-indentation)
8826 (lisp-lambda-list-keyword-parameter-alignment)
8827 (lisp-lambda-list-keyword-alignment): New customizable user options.
8828 (lisp-indent-defun-method): Improve docstring.
8829 (extended-loop-p): Fix comment.
8830 (lisp-indent-lambda-list-keywords-regexp): New variable.
8831 (lisp-indent-lambda-list): New function.
8832 (lisp-indent-259): Use it.
8833 (lisp-indent-defmethod): Support for more than one
8834 method qualifier and properly indent methods lambda-lists.
8835 (defgeneric): Provide a missing common-lisp-indent-function property.
8836
f278f87f
SM
88372011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8840 bounds for the empty string (bug#8667).
8841
5233edd7
GM
88422011-05-13 Glenn Morris <rgm@gnu.org>
8843
5237a44f
GM
8844 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8845
8340026c 8846 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8847 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8848
5233edd7 8849 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8850 (appt-time-msg-list): Doc fix.
a5464014 8851 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8852
92d10796
AS
88532011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8854
8855 * progmodes/ld-script.el (ld-script-keywords)
8856 (ld-script-builtins): Update keywords list.
8857
914a0ae1
SM
88582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8859
c89be45f
SM
8860 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8861
914a0ae1
SM
8862 * shell.el (shell-completion-vars): New function.
8863 (shell-mode):
8864 * simple.el (read-shell-command): Use it.
8865 (blink-matching-open): No need for " [...]" in minibuffer-message.
8866
98dc3df3
GM
88672011-05-12 Glenn Morris <rgm@gnu.org>
8868
8869 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8870 (appt-check): Simplify.
8871
d2fc7e3d 88722011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8873
4d61f28d 8874 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8875 literal "/dev/null".
8876
d2fc7e3d 88772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8878
8879 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8880 Fix typo.
8881
d2fc7e3d 88822011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8883
3f254caa
SM
8884 * progmodes/which-func.el (which-function):
8885 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8886 which might not be defined (Bug#8260).
8887
d45885f7
GM
88882011-05-12 Glenn Morris <rgm@gnu.org>
8889
8890 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8891 Let byte-compile-initial-macro-environment always take precedence.
8892
488086f4
SM
88932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * net/rcirc.el: Add support for SSL/TLS connections.
8896 (rcirc-server-alist): New field `encryption'.
8897 (rcirc): Check `encryption' settings.
8898 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8899 Merge make-local-variable into `set'.
8900 (rcirc--connection-open-p): New function.
8901 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8902 the process is not a network process (e.g. running gnutls-cli).
8903 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8904 Make rcirc-(en|de)code-coding-system local here.
8905 (rcirc-mode): Merge make-local-variable into `set'.
8906 (rcirc-parent-buffer): Make permanent buffer-local.
8907 (rcirc-multiline-minor-mode): Don't do it here.
8908 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8909 there's no server buffer.
8910
7d3b9d44
GM
89112011-05-11 Glenn Morris <rgm@gnu.org>
8912
f64049c6
GM
8913 * newcomment.el (comment-kill): Prefix "unused" local.
8914
93c9df73
GM
8915 * term/w32console.el (get-screen-color): Declare.
8916
7d3b9d44
GM
8917 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8918 Handle symbol elements of byte-compile-initial-macro-environment.
8919
9e2dd53f
LL
89202011-05-10 Leo Liu <sdl.web@gmail.com>
8921
488086f4
SM
8922 * bookmark.el (bookmark-bmenu-mode-map):
8923 Bind bookmark-bmenu-search to `/'.
8b340240 8924
9e2dd53f 8925 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8926 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8927 (Footnote-unicode): New function.
8928 (footnote-style-alist): Add unicode style to the list.
8929 (footnote-style): Doc fix.
9e2dd53f 8930
79b70037
GM
89312011-05-10 Jim Meyering <meyering@redhat.com>
8932
8933 Fix doubled-word typos.
8934 * international/quail.el (quail-insert-kbd-layout): and and -> and
8935 * kermit.el: and and -> and
8936 * net/ldap.el (ldap-search-internal): to to -> to
8937 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8938 * progmodes/js.el (js-mode): and and -> and
8939 * textmodes/artist.el (artist-move-to-xy): at at -> at
8940 (artist-draw-region-trim-line-endings): if if -> if
8941 And Safetyc -> Safety.
8942 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8943
b8f82dc1 89442011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8945 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8946
8947 * files.el (hack-one-local-variable-eval-safep):
8948 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8949
4f99f44b
GM
89502011-05-10 Glenn Morris <rgm@gnu.org>
8951
8952 * calendar/diary-lib.el (diary-list-entries-hook)
8953 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8954 (diary-nongregorian-marking-hook, diary-list-entries)
8955 (diary-include-other-diary-files, diary-mark-entries)
8956 (diary-mark-included-diary-files): Doc fixes.
8957
84f29e6b
JB
89582011-05-09 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * misc.el: Require tabulated-list.el during compilation.
8961
9bedd73a
CY
89622011-05-09 Chong Yidong <cyd@stupidchicken.com>
8963
488086f4
SM
8964 * progmodes/compile.el (compilation-start):
8965 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8966 (compilation-filter-hook): Doc fix.
8967
797c735c
DD
89682011-05-09 Deniz Dogan <deniz@dogan.se>
8969
8970 * wdired.el: Remove outdated installation comment. Fix usage
8971 comment.
8972
5f4b1dfe
JB
89732011-05-09 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * misc.el: Implement new command `list-dynamic-libraries'.
8976 (list-dynamic-libraries--loaded-only-p): New variable.
8977 (list-dynamic-libraries--refresh): New function.
8978 (list-dynamic-libraries): New command.
8979
4c44026c
CY
89802011-05-09 Chong Yidong <cyd@stupidchicken.com>
8981
488086f4
SM
8982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8983 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8984 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8985 higher priority to avoid clobbering by gnu.
8986
027f966d
CY
89872011-05-08 Chong Yidong <cyd@stupidchicken.com>
8988
8989 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8990 if the face has existing theme settings (Bug#8454).
8991
085f5d7d
CY
89922011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8993
488086f4
SM
8994 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8995 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8996
2a86a00c
RS
8997 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8998 special file names `.' and `..' (Bug#8259).
8999
d9c54a06
CY
90002011-05-08 Chong Yidong <cyd@stupidchicken.com>
9001
488086f4
SM
9002 * progmodes/grep.el (grep-mode-font-lock-keywords):
9003 Remove buffer-changing entries.
d9c54a06
CY
9004 (grep-filter): New function.
9005 (grep-mode): Add it to compilation-filter-hook.
9006
9007 * progmodes/compile.el (compilation-filter-hook)
9008 (compilation-filter-start): New defvars.
9009 (compilation-filter): Call compilation-filter-hook prior to
9010 updating the process mark.
9011
c4662635
SM
90122011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9015
b0512a1d
EZ
90162011-05-07 Eli Zaretskii <eliz@gnu.org>
9017
605c9376
EZ
9018 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9019 mailclient-send-it even if window-system is nil. (Bug#8595)
9020
c4662635
SM
9021 * term/w32console.el (terminal-init-w32console):
9022 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9023 background-mode. (Bug#8597)
9024
d1dc2cc2
SM
90252011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9028 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9029 New functions.
9030 (defgeneric, eieio--defmethod): Use them.
9031 (eieio-defgeneric): Remove.
9032 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9033
915d1300
GM
90342011-05-07 Glenn Morris <rgm@gnu.org>
9035
a3961c3e
GM
9036 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9037 Use let rather than let*.
9038 (timeclock-find-discrep): Remove unused local.
9039
314347b9
GM
9040 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9041
915d1300
GM
9042 * calendar/appt.el (appt-time-msg-list): Doc fix.
9043
275b59b0
NF
90442011-05-06 Noah Friedman <friedman@splode.com>
9045
9046 * apropos.el (apropos-print-doc): Only use
9047 emacs-lisp-docstring-fill-column when it is bound to an integer,
9048 per that variable's documentation.
9049
6c19f744
SM
90502011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9053 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9054
60f884b2
GM
90552011-05-06 Glenn Morris <rgm@gnu.org>
9056
5006e634
GM
9057 * calendar/appt.el (appt-message-warning-time): Doc fix.
9058 (appt-warning-time-regexp): New option.
9059 (appt-make-list): Respect appt-message-warning-time.
9060
548d0a63
GM
9061 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9062 New options.
9063 (diary-add-to-list): Strip comments from the displayed string.
9064 (diary-mode): Set comment-start and comment-end.
9065
60f884b2
GM
9066 * vc/diff-mode.el (smerge-refine-subst): Declare.
9067 (diff-refine-hunk): Don't require smerge-mode when compiling.
9068
989681bb
JB
90692011-05-06 Juanma Barranquero <lekktu@gmail.com>
9070
9071 * simple.el (list-processes): Return nil as the docstring says.
9072
a6bc05e1
MA
90732011-05-05 Michael Albinus <michael.albinus@gmx.de>
9074
9075 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9076 to "".
9077 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9078 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9079 determining of binary transfer. (Bug#7383)
9080
23c22e9a
MA
90812011-05-05 Michael Albinus <michael.albinus@gmx.de>
9082
c4662635
SM
9083 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9084 Fix port computation bug. (Bug#8618)
23c22e9a 9085
0bff894f
GM
90862011-05-05 Glenn Morris <rgm@gnu.org>
9087
b8296902
GM
9088 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9089
1f522ce8
GM
9090 * simple.el (shell-dynamic-complete-functions)
9091 (comint-dynamic-complete-functions): Declare.
9092
cf5bee67
GM
9093 * net/network-stream.el (gnutls-negotiate):
9094 * simple.el (tabulated-list-print): Fix declarations.
9095
9096 * progmodes/gud.el (syntax-symbol, syntax-point):
9097 Remove unnecessary and incorrect declarations.
9098
0bff894f
GM
9099 * emacs-lisp/check-declare.el (check-declare-scan):
9100 Handle byte-compile-initial-macro-environment in bytecomp.el
9101
9869b3ae
SM
91022011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 Fix earlier half-done eieio-defmethod change (bug#8338).
9105 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9106 Streamline and change calling convention.
9107 (defmethod): Adjust accordingly and simplify.
9108 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9109 new eieio--defmethod.
9110 (slot-boundp): Minor CSE simplification.
9111
9c1d5ac5
MZ
91122011-05-05 Milan Zamazal <pdm@zamazal.org>
9113
9114 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9115 (glasses-make-readable): Use glasses-separate-capital-groups.
9116
455c834e
JB
91172011-05-05 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9120 (warning-series): Doc fix.
9121 (display-warning): Don't try to create the buffer if we just found it.
9122
9ed7c8cb
CY
91232011-05-04 Chong Yidong <cyd@stupidchicken.com>
9124
9125 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9126 (autoload-find-generated-file): New function.
9127 (generate-file-autoloads): Bind generated-autoload-file to
9128 buffer-file-name.
9869b3ae
SM
9129 (update-file-autoloads, update-directory-autoloads):
9130 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9131 output file (Bug#7989).
9132 (batch-update-autoloads): Doc fix.
9133
0898ca10
JB
91342011-05-04 Juanma Barranquero <lekktu@gmail.com>
9135
9136 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9137
31dfb76c
GM
91382011-05-04 Glenn Morris <rgm@gnu.org>
9139
f330b642
GM
9140 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9141 function, so it follows changes in calendar-date-style.
9142 (diary-fancy-date-matcher): New function.
9143 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9144 (diary-fancy-font-lock-fontify-region-function):
9145 Use diary-fancy-date-pattern as a function.
9146
31dfb76c
GM
9147 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9148 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9149
48e79d6a
TZ
91502011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9151
9152 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9153 instead of positional arguments. Allow :keylist and :crlfiles
9154 arguments.
9155 (open-gnutls-stream): Call it.
9156
9157 * net/network-stream.el (network-stream-open-starttls): Adjust to
9158 call `gnutls-negotiate' with :process and :hostname arguments.
9159
dd5a5ee0
SM
91602011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9161
ef80fc09
SM
9162 * minibuffer.el (completion--message): New function.
9163 (completion--do-completion, minibuffer-complete)
9164 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9165 (completion--do-completion): Don't ignore completion-auto-help when in
9166 icomplete-mode.
9167
dd5a5ee0
SM
9168 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9169 internal encoding (e.g. tibetan zero is not whitespace).
9170 (global-whitespace-mode): Prefer save-current-buffer.
9171 (whitespace-trailing-regexp): Remove useless save-match-data.
9172 (whitespace-empty-at-bob-regexp): Minor simplification.
9173
b7d22a83
CY
91742011-05-03 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9177
5192af46
AM
91782011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9179
9180 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9181 Use `concat' to create string for insertion.
5192af46 9182
5767d190
SM
91832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9186 Avoid open-line which runs post-self-insert-hook.
9187 (bibtex-fill-entry): Remove unused `end' var.
9188
bf242939
AM
91892011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9190
5767d190
SM
9191 * textmodes/ispell.el (ispell-add-per-file-word-list):
9192 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9193
25666126
LL
91942011-05-03 Leo Liu <sdl.web@gmail.com>
9195
9196 * isearch.el (isearch-yank-pop): New command.
5767d190 9197 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9198 (isearch-forward): Mention it.
9199
52d3c2d0
SM
92002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9201
1bcace58
SM
9202 * simple.el (minibuffer-complete-shell-command): Remove.
9203 (minibuffer-local-shell-command-map): Use completion-at-point.
9204 (read-shell-command): Setup completion vars here instead.
9205 (read-expression-map): Bind TAB to symbol completion.
9206
52d3c2d0
SM
9207 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9208 error directly rather via storing it into `results'.
9209
35813471
LL
92102011-05-02 Leo Liu <sdl.web@gmail.com>
9211
9212 * vc/diff.el: Fix description.
9213
e793a940
LMI
92142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9215
9216 * server.el (server-eval-at): New function.
9217
8de66e05
LMI
92182011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9219
9220 * net/network-stream.el (open-network-stream): Take a :nowait
9221 parameter and pass it on to `make-network-process'.
9222 (network-stream-open-plain): Ditto.
9223
dcb79f20
AS
92242011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9225
9226 * faces.el (face-spec-set-match-display): Don't match toolkit
9227 options on terminal frames.
9228
14a7fbd8
SM
92292011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9230
7eabc1be
SM
9231 * progmodes/pascal.el: Use lexical binding.
9232 (pascal-mode-map): Remove author preferences.
9233
14a7fbd8
SM
9234 * pcomplete.el (pcomplete-std-complete): Don't abuse
9235 completion-at-point.
9236
50f84510
JB
92372011-04-28 Juanma Barranquero <lekktu@gmail.com>
9238
6e087a44
JB
9239 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9240 removing code that has been dead since 1991 or so.
9241
50f84510
JB
9242 * startup.el (command-line): When warning about "_emacs", use a
9243 delayed warning to allow the user to filter it out.
9244
0ba690bd
DD
92452011-04-28 Deniz Dogan <deniz@dogan.se>
9246
9247 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9248 user has not joined.
9249
08abfaad
SM
92502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9253 aren't any completions at point.
9254
638f053a
JB
92552011-04-28 Juanma Barranquero <lekktu@gmail.com>
9256
9257 * subr.el (display-delayed-warnings): New function.
9258 (delayed-warnings-hook): New variable.
9259
8fff8daa
SM
92602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9261
08abfaad
SM
9262 * minibuffer.el (completion-at-point, completion-help-at-point):
9263 Don't presume that a given completion-at-point-function will always
9264 use the same calling convention.
9265
8fff8daa
SM
9266 * pcomplete.el (pcomplete-completions-at-point):
9267 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9268 pcomplete-seen is non-nil.
9269 (pcomplete-comint-setup): Also recognize the new comint/shell
9270 completion functions.
9271 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9272 pcomplete-seen is non-nil.
9273
841a1577 92742011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9275
841a1577 9276 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9277 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9278 the first character in the entry. This allows for code to add its
211ec907
UJ
9279 own uid to the entry.
9280 (icalendar--convert-float-to-ical): Add export of
9281 `diary-float'-entries save for those with the optional DAY
9282 argument.
9283
2a782793
DC
92842011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9285
9286 * subr.el (shell-quote-argument): Use alternate escaping strategy
9287 when we spot a variable reference in a string.
9288
0438ce91
DC
92892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9290
9291 * cus-start.el (all): Define customization for debug-on-event.
9292
841a1577 92932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9294
9295 * subr.el (shell-quote-argument): Escape correctly under Windows.
9296
d090ed6c
SM
92972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9300
bfd31217
MA
93012011-04-25 Michael Albinus <michael.albinus@gmx.de>
9302
d090ed6c
SM
9303 * net/tramp.el (tramp-process-actions): Add POS argument.
9304 Delete region between POS and (pos).
bfd31217 9305
d090ed6c
SM
9306 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9307 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9308 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9309
9310 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9311 position in `tramp-process-actions' call.
9312
9313 * net/trampver.el: Update release number.
9314
e92f3bd3
SM
93152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9316
850256b5
SM
9317 * custom.el (defcustom): Obey lexical-binding.
9318
e92f3bd3
SM
9319 Fix octave-inf completion problems reported by Alexander Klimov.
9320 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9321 Inherit from octave-mode-syntax-table.
9322 (inferior-octave-mode): Set info-lookup-mode.
9323 (inferior-octave-completion-at-point): New function.
9324 (inferior-octave-complete): Use it and completion-in-region.
9325 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9326 comint-filename-completion.
9327 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9328 symbol elements which shouldn't be word elements.
9329 (octave-font-lock-keywords, octave-beginning-of-defun)
9330 (octave-function-header-regexp): Adjust regexps accordingly.
9331 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9332
cd22b309
JB
93332011-04-25 Juanma Barranquero <lekktu@gmail.com>
9334
9335 * net/gnutls.el (gnutls-errorp): Declare before first use.
9336
8b492194
TZ
93372011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9338
9339 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9340 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9341 default trustfile exists before going to use it. Add missing
5a5fa834 9342 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9343 Reported by Claudio Bley <claudio.bley@gmail.com>.
9344 (open-gnutls-stream): Add usage example.
9345
9346 * net/network-stream.el (network-stream-open-starttls): Give host
9347 parameter to `gnutls-negotiate'.
9348 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9349 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9350
841a1577 93512011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9352
cd22b309
JB
9353 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9354 Use correct match group (bug#8438).
05842630 9355
3ba7869c
CY
93562011-04-24 Chong Yidong <cyd@stupidchicken.com>
9357
512e3ae1
CY
9358 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9359 (package-menu--generate): New arg specifying packages to show.
9360 (package-menu-refresh, package-menu-execute, list-packages):
9361 Callers changed.
9362 (package-show-package-list): New function, replacing deleted
9363 package--list-packages (renamed because it is non-internal).
9364
9365 * finder.el (finder-list-matches): Use package-show-package-list
9366 instead of deleted package--list-packages.
9367
e92f3bd3
SM
9368 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9369 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9370 (vc-annotate-mode-map): Bind it to RET.
9371
7031be6d
UR
93722011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9373
9374 * progmodes/etags.el (next-file): Don't use set-buffer to change
9375 buffers (Bug#8478).
9376
4ef177aa
CY
93772011-04-24 Chong Yidong <cyd@stupidchicken.com>
9378
c8d173eb
CY
9379 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9380
4ef177aa
CY
9381 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9382 (apropos-accumulator): Doc fix.
9383 (apropos-function, apropos-macro, apropos-command)
9384 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9385 (apropos-plist): Add face property.
9386 (apropos-symbols-internal): Fix indentation.
9387 (apropos-print): Simplify help, and recognize apropos-multi-type.
9388 (apropos-print-doc): Use button-type-get to extract the button's
9389 face property. Fill docstring (Bug#8352).
9390
4ffd0d6b 93912011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9392
9393 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9394
c6c32125 9395 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9396 (mpuz-mode-map): Use mapc.
c6c32125
JB
9397 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9398 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9399 Fix typos in docstrings.
9400
58d468b4
JB
9401 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9402 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9403
6470c3c6
JB
9404 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9405
4ffd0d6b 94062011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9407
9408 * minibuffer.el (completion--do-completion): Avoid the "Next char
9409 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9410
3ad8bad0
CY
9411 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9412 mouse-2 into unread-command-events, it is interpreted correctly.
9413
71d73c9c 9414 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9415 (image-toggle-display): Doc fix.
71d73c9c 9416
841a1577 94172011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9418
4ffd0d6b
GM
9419 * textmodes/page.el (what-page): Use line-number-at-pos to
9420 calculate line number (Bug#6825).
6e1dbaa9 9421
c2fb1b60
JB
94222011-04-22 Juanma Barranquero <lekktu@gmail.com>
9423
9424 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9425 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9426 Pass argument NO-DEFAULT to `find-tag-interactive'.
9427
e02f48d7
JB
94282011-04-22 Juanma Barranquero <lekktu@gmail.com>
9429
9430 Lexical-binding cleanup.
9431
9432 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9433 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9434 * progmodes/ada-prj.el (ada-prj-initialize-values)
9435 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9436 (ada-prj-show-value):
9437 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9438 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9439 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9440 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9441 * progmodes/bug-reference.el (bug-reference-push-button):
9442 * progmodes/fortran.el (fortran-line-length):
9443 * progmodes/glasses.el (glasses-change):
9444 * progmodes/octave-mod.el (octave-fill-paragraph):
9445 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9446 (python-pdbtrack-grub-for-buffer, python-sentinel):
9447 * progmodes/sql.el (sql-save-connection):
9448 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9449 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9450 Mark unused parameters.
9451
9452 * progmodes/compile.el (compilation--flush-directory-cache)
9453 (compilation--flush-parse, compile-internal): Mark unused parameters.
9454 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9455 (compilation-next-error-function): Remove unused variable `timestamp'.
9456
9457 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9458 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9459
9460 * progmodes/dcl-mode.el (dcl-end-of-command):
9461 Remove unused variable `start'.
9462 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9463 (dcl-option-value-basic, dcl-option-value-offset)
9464 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9465 Mark unused parameters.
9466 (dcl-save-local-variable): Remove unused variable `val'.
9467 (mode): Declare.
9468
9469 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9470 Mark unused parameters.
9471 (delphi-ignore-changes): Move before first use.
9472 (delphi-charset-token-at): Remove unused variable `start'.
9473 (delphi-else-start): Remove unused variable `if-count'.
9474 (delphi-comment-block-start, delphi-comment-block-end):
9475 Remove unused variable `kind'.
9476 (delphi-indent-line): Remove unused variable `new-point'.
9477
9478 * progmodes/ebrowse.el (ebrowse-files-list)
9479 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9480 Mark unused parameters. Don't quote `lambda'.
9481 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9482 Don't quote `lambda'.
9483 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9484 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9485 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9486 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9487 Use `ignore-errors'.
9488 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9489 (ebrowse-view/find-file-and-search-pattern)
9490 (ebrowse-view/find-member-declaration/definition):
9491 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9492 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9493 Rename parameter PREFIX-ARG to PREFIX.
9494 (ebrowse-tags-read-name): Remove unused variables `start' and
9495 `member-info'.
9496 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9497 to `tags-file'.
9498
9499 * progmodes/etags.el (local-find-tag-hook): Declare.
9500 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9501 Mark unused parameters.
9502
9503 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9504 (executable-interpret): Mark unused parameter.
9505
9506 * progmodes/flymake.el (flymake-process-sentinel)
9507 (flymake-after-change-function)
9508 (flymake-create-temp-with-folder-structure)
9509 (flymake-get-include-dirs-dot): Mark unused parameters.
9510 (flymake-safe-delete-directory): Remove unused variable `err'.
9511
9512 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9513 (speedbar-timer-fn, speedbar-line-text)
9514 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9515 (speedbar-center-buffer-smartly): Declare functions.
9516 (gdb-find-watch-expression): Remove unused variable `array'.
9517 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9518 (gdb-starting): Mark unused parameters.
9519 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9520 (gdb-table-string): Remove unused variable `res'.
9521 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9522 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9523 (gdb-display-buffer): Remove unused variable `cur-size'.
9524
9525 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9526 allow lexical-binding compilation.
9527 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9528 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9529 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9530 Mark unused parameters.
9531 (gud-gdb-marker-filter): Remove unused variable `match'.
9532 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9533 lambda expressions and funcall them, instead of using `fset'.
9534
9535 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9536 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9537
9538 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9539 variable `header-beg'; use `let'.
9540
9541 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9542 `restart', `last-sexp' and `at-do'.
9543
9544 * progmodes/js.el (js--debug): Mark unused parameter.
9545 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9546 (js--splice-into-items): Remove unused variable `item'.
9547 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9548
9549 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9550 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9551 (makefile-complete): Remove unused variable `try'.
9552 (makefile-fill-paragraph, makefile-match-function-end):
9553 Mark unused parameters.
9554
9555 * progmodes/octave-inf.el (inferior-octave-complete):
9556 Remove unused variable `proc'.
9557 (inferior-octave-output-digest): Mark unused parameter.
9558
9559 * progmodes/perl-mode.el (perl-calculate-indent):
9560 Remove unused variable `err'.
9561
9562 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9563 (prolog-indent-line): Mark unused parameters.
9564 (prolog-indent-line): Remove unused variable `beg'.
9565
9566 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9567 (reporter-dont-compact-list): Declare.
9568
9569 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9570 Remove unused variable `char'.
9571 (sh-debug): Mark unused parameter.
9572 (sh-get-indent-info): Remove unused variable `start'.
9573 (sh-calculate-indent): Remove unused variable `var'.
9574
9575 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9576 (simula-electric-keyword): Remove unused variable `null'.
9577 (simula-search-backward, simula-search-forward): Remove unused
9578 variables `begin' and `end'.
9579
9580 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9581 Remove unused variable `pos'.
9582 (vera-electric-tab, vera-comment-uncomment-region):
9583 Mark unused parameters.
9584 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9585
7ede3b65
CY
95862011-04-22 Chong Yidong <cyd@stupidchicken.com>
9587
9588 * emacs-lisp/package.el (package--builtins, package-alist)
9589 (package-load-descriptor, package-built-in-p, package-activate)
9590 (define-package, package-installed-p)
9591 (package-compute-transaction, package-buffer-info)
9592 (package--push): Doc fix. Distinguish more clearly between
9593 version strings and version lists.
9594
121656e9
JB
95952011-04-21 Juanma Barranquero <lekktu@gmail.com>
9596
9597 Lexical-binding cleanup.
9598
9599 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9600 (5x5-make-mutate-best):
9601 * play/fortune.el (fortune-in-buffer):
9602 * play/gomoku.el (gomoku-init-display):
9603 * play/solitaire.el (solitaire, solitaire-do-check):
9604 * play/tetris.el (tetris-default-update-speed-function):
9605 Mark unused parameters.
9606
9607 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9608 (bubbles--shift): Remove unused variable `char-org'.
9609 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9610 (bubbles--show-images): Remove unused variable `char'.
9611
9612 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9613 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9614 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9615 (decipher-analyze-buffer): Use ?\s.
9616 (decipher-make-checkpoint): Remove unused variable `mapping'.
9617
9618 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9619
9620 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9621 Remove unused variable `result'; use `let'.
9622
9623 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9624 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9625 (gametree-children-shown-p, gametree-compute-reduced-score):
9626 Use `ignore-errors'.
9627
9628 * play/handwrite.el (ps-lpr-switches): Declare.
9629 (handwrite): Remove unused variables `pmin' and `lastp'.
9630
9631 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9632
9633 * play/landmark.el (landmark-init-display)
9634 (landmark-update-naught-weights): Mark unused parameters.
9635 (landmark-y): Remove unused variable `noise'. Simplify.
9636 (landmark-human-plays): Remove unused variable `score'.
9637
9638 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9639 (mpuz-try-proposal): Remove unused variable `game'.
9640
9641 * play/zone.el (life-patterns): Declare.
9642
80f499c7
JB
96432011-04-20 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * vc/vc.el (ediff-vc-internal): Declare function.
9646
024ff170
SM
96472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9648
c0a193ea
SM
9649 * shell.el: Use lexical-binding and std completion UI.
9650 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9651 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9652 comint-preoutput-filter-functions rather than on
9653 comint-output-filter-functions.
9654 (shell-command-completion, shell--command-completion-data)
9655 (shell-filename-completion, shell-environment-variable-completion)
9656 (shell-c-a-p-replace-by-expanded-directory): New functions.
9657 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9658 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9659 (shell-dynamic-complete-environment-variable): Use them.
9660 (shell-dynamic-complete-as-environment-variable)
9661 (shell-dynamic-complete-as-command): Remove.
9662 (shell-match-partial-variable): Match past point.
9663 * comint.el: Clean up use of completion-at-point-functions.
9664 (comint-completion-at-point): New function.
9665 (comint-mode): Use it completion-at-point-functions.
9666 (comint-dynamic-complete): Make it obsolete.
9667 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9668 (comint-c-a-p-replace-by-expanded-history): New function.
9669 (comint-dynamic-complete-functions)
9670 (comint-replace-by-expanded-history): Use it.
9671 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9672 termination strings. Try harder to avoid second try-completion.
9673 (completion-in-region-mode-map): Disable bindings that don't work yet.
9674
2dbaa080
SM
9675 * comint.el: Use lexical-binding. Require CL.
9676 (comint-dynamic-complete-functions): Use comint-filename-completion.
9677 (comint-completion-addsuffix): Tweak custom type.
9678 (comint-filename-completion, comint--common-suffix)
9679 (comint--common-quoted-suffix, comint--table-subvert)
9680 (comint--complete-file-name-data): New functions.
9681 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9682 (comint-dynamic-list-filename-completions): Use them.
9683 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9684
2dbaa080
SM
9685 * minibuffer.el (completion-in-region-mode):
9686 Keep completion-in-region-mode--predicate global.
9687 (completion-in-region--postch):
9688 Assume completion-in-region-mode--predicate is not null.
9689
c79a6f38
SM
9690 * progmodes/flymake.el (flymake-start-syntax-check-process):
9691 Obey `dir'. Simplify.
9692
024ff170
SM
9693 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9694 we're in VC after all.
9695
1c6c854e
CS
96962011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9697
9698 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9699 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9700 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9701
bed7f140
SM
97022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9703
332e62ab
SM
9704 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9705 add sanity check.
9706
bed7f140
SM
9707 * obsolete/erc-hecomplete.el: Make obsolete.
9708 * obsolete/: Standardize obsolescence info in the header.
9709
f195c582
GM
97102011-04-20 Glenn Morris <rgm@gnu.org>
9711
9712 * calendar/solar.el (solar-horizontal-coordinates):
9713 Use the longitude argument rather than `calendar-longitude'.
9714 (solar-date-next-longitude): Remove unused locals.
9715
cb79b8c0
VJL
97162011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9717
9718 * whitespace.el: New version 13.2.1.
9719
97202011-04-20 felix <EmacsWiki> (tiny change)
9721
d8e4b68b 9722 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9723 switching between major modes on a file.
9724
602ea69d
SM
97252011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9726
9727 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9728 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9729 multi-line comments as well.
9730
06b60517
JB
97312011-04-19 Juanma Barranquero <lekktu@gmail.com>
9732
9733 Lexical-binding cleanup.
9734
9735 * arc-mode.el (archive-mode-revert):
9736 * cmuscheme.el (scheme-interactively-start-process):
9737 * custom.el (custom-initialize-delay):
9738 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9739 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9740 * emacs-lock.el (emacs-lock-clear-sentinel):
9741 * ezimage.el (defezimage):
9742 * follow.el (follow-avoid-tail-recenter):
9743 * fringe.el (set-fringe-mode-1):
9744 * generic-x.el (bat-generic-mode-compile):
9745 * help-mode.el (help-info-variable, help-do-xref)
9746 (help-mode-revert-buffer):
9747 * help.el (view-emacs-todo):
9748 * iswitchb.el (iswitchb-completion-help):
9749 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9750 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9751 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9752 * locate.el (locate-update):
9753 * longlines.el (longlines-encode-region)
9754 (longlines-after-change-function):
9755 * outline.el (outline-isearch-open-invisible):
9756 * ps-def.el (declare-function, charset-dimension, char-width)
9757 (encode-char):
9758 * ps-mule.el (ps-mule-plot-string):
9759 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9760 (recentf-edit-list-select, recentf-edit-list-validate)
9761 (recentf-open-files-action):
9762 * rect.el (delete-whitespace-rectangle-line)
9763 (rectangle-number-line-callback):
9764 * register.el (window-configuration-to-register)
9765 (frame-configuration-to-register):
9766 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9767 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9768 (xselect-convert-to-targets, xselect-convert-to-delete)
9769 (xselect-convert-to-filename, xselect-convert-to-charpos)
9770 (xselect-convert-to-lineno, xselect-convert-to-colno)
9771 (xselect-convert-to-os, xselect-convert-to-host)
9772 (xselect-convert-to-user, xselect-convert-to-class)
9773 (xselect-convert-to-name, xselect-convert-to-integer)
9774 (xselect-convert-to-atom, xselect-convert-to-identity):
9775 * subr.el (declare, ignore, process-kill-without-query)
9776 (text-clone-maintain):
9777 * terminal.el (te-get-char, te-tic-sentinel):
9778 * tool-bar.el (tool-bar-make-keymap):
9779 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9780 * type-break.el (type-break-mode, type-break-noninteractive-query):
9781 * view.el (View-back-to-mark):
9782 * wid-browse.el (widget-browse-action, widget-browse-widget)
9783 (widget-browse-widgets, widget-browse-sexp):
9784 * widget.el (define-widget-keywords):
9785 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9786 Mark unused parameters.
9787
9788 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9789 (align-areas): Remove unused variable `look'.
9790 (align-region): Remove unused variables `real-end' and `pos-list'.
9791
9792 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9793
9794 * bindings.el (mode-line-modified, mode-line-remote):
9795 Mark unused parameters.
9796 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9797
9798 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9799 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9800
9801 * comint.el (comint-history-isearch-pop-state)
9802 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9803 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9804 (comint-substitute-in-file-name): Doc fix.
9805
9806 * completion.el (cmpl-statistics-block): Mark unused parameter.
9807 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9808 (save-completions-to-file, load-completions-from-file):
9809 Remove unused local variable `e'.
9810
9811 * composite.el (compose-chars): Remove unused variable `len'.
9812 (lgstring-insert-glyph): Remove unused variable `g'.
9813 (compose-glyph-string): Remove unused variables `ascent',
9814 `descent', `lbearing' and `rbearing'.
9815 (compose-glyph-string-relative): Remove unused variables
9816 `lbearing', `rbearing' and `wadjust'.
9817 (compose-gstring-for-graphic): Remove unused variables `header',
9818 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9819 (compose-gstring-for-terminal): Remove unused variables `header'
9820 and `nchars'. Use `let', not `let*'.
9821
9822 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9823 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9824 (Custom-buffer-done, custom-buffer-create-internal)
9825 (custom-browse-visibility-action, custom-browse-group-tag-action)
9826 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9827 (widget-magic-mouse-down-action, custom-toggle-parent)
9828 (custom-add-parent-links, custom-toggle-hide-variable)
9829 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9830 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9831 (custom-face-menu-create, custom-variable-menu-create, get)
9832 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9833 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9834 (customize-apropos): Remove unused variable `tests'.
9835 (custom-group-value-create): Remove unused variable `hidden-p'.
9836 (sort-fold-case): Declare.
9837
9838 * cus-theme.el (custom-reset-standard-faces-list)
9839 (custom-reset-standard-variables-list): Declare.
9840 (customize-create-theme, custom-theme-revert, custom-theme-write)
9841 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9842 Mark unused parameters.
9843
9844 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9845
9846 * delim-col.el (delimit-columns-max): Move defvar before first use.
9847
9848 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9849 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9850
9851 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9852 (auto-insert): Declare.
9853 (desktop-restore-file-buffer): Rename desktop-* parameters;
9854 mark unused ones.
9855 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9856 (desktop-buffer): Rename desktop-* parameters.
9857
9858 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9859 (dframe-reposition-frame-xemacs, dframe-help-echo)
9860 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9861 Mark unused parameters.
9862
9863 * dired-aux.el (backup-extract-version-start, overwrite-query)
9864 (overwrite-backup-query, rename-regexp-query)
9865 (rename-non-directory-query): Declare.
9866 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9867 (dired-add-entry): Remove unused variable `orig-file-name'.
9868 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9869 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9870 `dired-copy-preserve-time' directly.
9871 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9872 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9873
9874 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9875 (dired-virtual-revert, dired-make-relative-symlink):
9876 Mark unused parameters.
9877 (manual-program): Declare.
9878 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9879 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9880 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9881
9882 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9883
9884 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9885
9886 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9887 Declare.
9888
9889 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9890
9891 * electric.el (Electric-command-loop): Rename parameter
9892 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9893
9894 * expand.el (expand-in-literal): Remove unused variable `here'.
9895
9896 * facemenu.el (facemenu-add-new-color):
9897 Remove unused variable `docstring'.
9898
9899 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9900 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9901 (face-attr-construct): Mark unused parameter. Doc fix.
9902 (read-color): Remove unused variable `hex-string'.
9903
9904 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9905 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9906 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9907 (display-buffer-other-frame): Remove unused variable `old-window'.
9908 (kill-buffer-hook): Declare.
9909 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9910 Mark unused parameters.
9911 (after-find-file): Pass 1 to `auto-save-mode', not t.
9912
9913 * files-x.el (auto-insert): Declare.
9914 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9915
9916 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9917 variable `buf'. Mark unused parameter.
06b60517
JB
9918 (find-lisp-insert-directory): Mark unused parameter.
9919
9920 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9921 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9922 (format-common-tail): Remove, unused.
9923 (format-deannotate-region): Remove unused variable `loc'.
9924 (format-annotate-region): Remove unused variable `p'.
9925 (format-annotate-single-property-change): Remove unused variables
9926 `default' and `tail'.
9927
9928 * forms.el (read-file-filter): Declare.
9929 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9930
9931 * frame.el (frame-creation-function-alist): Mark unused parameter.
9932 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9933
9934 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9935 Remove unused parameters.
9936 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9937 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9938
9939 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9940 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9941 (hfy-prepare-tag-map): Mark unused parameters.
9942 (htmlfontify-buffer): Use `called-interactively-p'.
9943
9944 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9945 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9946 (ibuffer-do-occur): Mark unused parameters.
9947 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9948 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9949
9950 * ibuffer.el: Don't quote `lambda'.
9951 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9952 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9953 Mark unused parameters.
9954
9955 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9956 (ido-completing-read): Mark unused parameters.
9957 (ido-copy-current-word): Mark unused parameters;
9958 remove unused variable `name'.
9959 (ido-sort-merged-list): Remove unused parameter `dirs'.
9960
9961 * ielm.el (ielm-input-sender): Mark unused parameter.
9962 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9963 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9964 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9965 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9966 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9967
9968 * image-dired.el (image-dired-display-thumbs): Remove unused
9969 variables `curr-file' and `count'.
9970 (image-dired-remove-tag): Remove unused variable `start'.
9971 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9972 variable `curr-file'
9973 (image-dired-rotate-original): Remove unused variable `temp-file'.
9974 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9975 Remove unused variable `file'.
9976 (image-dired-gallery-generate): Remove unused variable `curr'.
9977 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9978
9979 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9980
9981 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9982
9983 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9984
9985 * isearch.el (minibuffer-history-symbol): Declare.
9986 (isearch-edit-string): Remove unused variable `err'.
9987 (isearch-message-prefix, isearch-message-suffix):
9988 Mark unused parameters.
9989
9990 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9991
9992 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9993
9994 * makesum.el (double-column): Remove unused variable `cnt'.
9995
9996 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9997 (ido-ignore-item-temp-list): Declare.
9998
9999 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10000 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10001 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10002 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10003 `mouse-col-delta'.
10004
10005 * mouse-sel.el (mouse-extend-internal):
10006 Remove unused variable `orig-window-frame'.
10007
10008 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10009 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10010 Move declarations before first use.
10011 (pcomplete-opt): Mark unused parameters; doc fix.
10012
10013 * proced.el (proced-revert): Mark unused parameter.
10014 (proced-send-signal): Remove unused variable `err'.
10015
10016 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10017 Rename parameter PREFIX-ARG to ARG.
10018 (ps-basic-plot-string, ps-basic-plot-whitespace):
10019 Mark unused parameters.
10020
10021 * replace.el (replace-count): Define.
10022 (occur-revert-function): Mark unused parameters.
10023 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10024 (isearch-case-fold-search, isearch-string): Declare.
10025 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10026 bind `case-fold-search'. Remove unused variables `beg' and `end',
10027 and simplify.
10028 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10029 COUNT and bind `replace-count'.
10030 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10031 to COUNT.
10032
10033 * savehist.el (print-readably, print-string-length): Declare.
10034
10035 * shadowfile.el (shadow-expand-cluster-in-file-name):
10036 Remove unused variable `cluster'.
10037 (shadow-copy-file): Remove unused variable `i'.
10038 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10039 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10040 (shadow-define-literal-group, shadow-define-regexp-group)
10041 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10042
10043 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10044 (shell): Use `called-interactively-p'.
10045 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10046
10047 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10048 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10049 (delete-backward-char): Remove unused variable `ocol'.
10050 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10051 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10052 (event-apply-hyper-modifier, event-apply-shift-modifier)
10053 (event-apply-control-modifier, event-apply-meta-modifier):
10054 Mark unused parameters.
10055 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10056 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10057
10058 * speedbar.el (speedbar-ignored-directory-expressions)
10059 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10060 (speedbar-find-file, speedbar-dir-follow)
10061 (speedbar-directory-buttons-follow, speedbar-tag-find)
10062 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10063 (speedbar-buffers-line-directory, speedbar-buffer-click):
10064 Mark unused parameters.
10065 (speedbar-tag-file): Remove unused variable `mode'.
10066 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10067
10068 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10069
10070 * talk.el (talk): Remove unused variable `display'.
10071
10072 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10073 (tar-write-region-annotate): Mark unused parameter.
10074
10075 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10076 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10077 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10078 warning by another.
10079
10080 * time-stamp.el (time-stamp-string-preprocess):
10081 Remove unused variable `require-padding'.
10082
10083 * tree-widget.el (widget-glyph-enable): Declare.
10084 (tree-widget-action): Mark unused parameter.
10085
10086 * w32-fns.el (x-get-selection): Mark unused parameter.
10087 (autoload-make-program, generated-autoload-file): Declare.
10088
10089 * wdired.el (wdired-revert): Mark unused parameters.
10090 (wdired-xcase-word): Remove unused variable `err'.
10091
10092 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10093 (whitespace-help-scroll): Remove unused variable `data-help'.
10094
10095 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10096 (widget-image-insert, widget-after-change, default)
10097 (widget-default-format-handler, widget-default-notify)
10098 (widget-default-prompt-value, widget-info-link-action)
10099 (widget-url-link-action, widget-function-link-action)
10100 (widget-variable-link-action, widget-file-link-action)
10101 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10102 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10103 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10104 (widget-insert-button-action, widget-delete-button-action, visibility)
10105 (widget-documentation-link-action, widget-documentation-string-action)
10106 (widget-const-prompt-value, widget-regexp-match, symbol)
10107 (widget-coding-system-prompt-value)
10108 (widget-key-sequence-value-to-external, sexp)
10109 (widget-sexp-value-to-internal, character, vector, cons)
10110 (widget-choice-prompt-value, widget-boolean-prompt-value)
10111 (widget-color--choose-action): Mark unused parameters.
10112 (widget-item-match-inline, widget-choice-match-inline)
10113 (widget-checklist-match, widget-checklist-match-inline)
10114 (widget-group-match): Rename parameter VALUES to VALS.
10115 (widget-field-value-set): Remove unused variable `size'.
10116 (widget-color-action): Remove unused variables `value' and `start'.
10117
10118 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10119 variable `dir'. Doc fix.
06b60517
JB
10120 (windmove-find-other-window): Don't pass it.
10121
10122 * window.el (count-windows): Mark unused parameter.
10123 (bw-adjust-window): Remove unused variable `err'.
10124
10125 * woman.el (woman-file-name): Remove unused variable `default'.
10126 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10127 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10128 (global-font-lock-mode): Declare.
10129 (woman-decode-region): Mark unused parameter.
10130 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10131
10132 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10133 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10134 (x-dnd-handle-moz-url): Remove unused variable `title'.
10135 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10136
10137 * xml.el (xml-parse-tag, xml-parse-attlist):
10138 Remove unused variable `pos'.
10139
bc4f7f3d
GM
101402011-04-19 Glenn Morris <rgm@gnu.org>
10141
10142 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10143 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10144 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10145 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10146 * calendar/cal-html.el (cal-html-insert-minical):
10147 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10148 (calendar-mark-date-pattern):
10149 Prefix "unused" locals.
10150
10151 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10152 optional argument `style'.
10153
10154 * calendar/appt.el (appt-make-list):
10155 * calendar/cal-china.el (calendar-chinese-date-string):
10156 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10157 (diary-hebrew-yahrzeit):
10158 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10159 * calendar/calendar.el (calendar-generate-window):
10160 * calendar/time-date.el (time-to-days):
10161 Remove unused local variables.
10162
16a43933
CY
101632011-04-18 Chong Yidong <cyd@stupidchicken.com>
10164
10165 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10166 glyphless-char-display table.
10167 (tabulated-list-glyphless-char-display): New var.
10168
7eed1860
SS
101692011-04-18 Sam Steingold <sds@gnu.org>
10170
10171 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10172 to acknowledgments.
10173
4d2d1ccd
GM
101742011-04-17 Glenn Morris <rgm@gnu.org>
10175
10176 * calendar/diary-lib.el (diary-sexp-entry):
10177 * calendar/holidays.el (holiday-sexp):
10178 Set debug-on-error rather than the removed stack-trace-on-error.
10179
239da61d
GM
101802011-04-16 Glenn Morris <rgm@gnu.org>
10181
10182 * progmodes/f90.el: Use lexical-binding.
10183 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10184
8b05752a
SM
101852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10186
daca8ba5
SM
10187 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10188 (mail-mode): Setup mailalias completion here instead.
10189 * mail/mailalias.el: Use lexical-binding.
10190 (pattern, mailalias-done): Declare dynamic.
10191 (mail-completion-at-point-function): New function, from mail-complete.
10192 (mail-complete): Use it.
10193 (mail-completion-expand): New function.
10194 (mail-get-names): Use it.
10195 (mail-directory, mail-directory-process, mail-directory-stream):
10196 Don't use `pattern' for lexically bound arg.
10197
6f542485
SM
10198 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10199
037e7c3f
SM
10200 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10201 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10202 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10203
8b05752a
SM
10204 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10205 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10206 (byte-interactive-p): Define them again, for use when inlining
10207 old code.
10208
49093f60
JB
102092011-04-15 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * loadup.el: Use `string-to-number', not `string-to-int'.
10212
b5b8e7de
SM
102132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10216 gud-gdb-complete-command.
10217 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10218 (gud-gdb-completion-at-point): New function.
10219 (gud-gdb-completions): Remove.
10220
f42efeb5
MA
102212011-04-14 Michael Albinus <michael.albinus@gmx.de>
10222
49093f60
JB
10223 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10224 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10225 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10226 whether `executable-find' is bound.
f42efeb5
MA
10227
10228 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10229
e240cc21
SM
102302011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * minibuffer.el (completion-in-region-mode-predicate)
10233 (completion-in-region-mode--predicate): New vars.
10234 (completion-in-region, completion-in-region--postch)
10235 (completion-in-region-mode): Use them.
10236 (completion--capf-wrapper): Also return the hook function.
10237 (completion-at-point, completion-help-at-point):
10238 Adjust and provide a predicate.
c2bd2ab0
SM
10239
10240 Preserve arg names for advice of subr and lexical functions (bug#8457).
10241 * help-fns.el (help-function-arglist): Consolidate the subr and
10242 new-byte-code cases. Add argument `preserve-names' to extract names
10243 from the docstring when needed.
10244 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10245 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10246 (ad-arglist): Use help-function-arglist's new arg.
10247 (ad-definition-type): Use cond.
10248
c183f693
JB
102492011-04-13 Juanma Barranquero <lekktu@gmail.com>
10250
06641a47
JB
10251 * autorevert.el (auto-revert-handler):
10252 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10253 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10254 Don't quote lambda.
10255
c183f693
JB
10256 * image-mode.el (image-transform-set-scale):
10257 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10258
1e3b6001
G
102592011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10260
10261 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10262 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10263 Upgrades via gnutls-cli are too slow to be done opportunistically.
10264
2d6af8dd
JB
102652011-04-12 Juanma Barranquero <lekktu@gmail.com>
10266
10267 * dframe.el (dframe-current-frame): Remove spurious quote.
10268
c0749a51
GM
102692011-04-12 Glenn Morris <rgm@gnu.org>
10270
088d0d61
GM
10271 * calendar/cal-tex.el (cal-tex-end-document):
10272 Try to automatically use latin1 input if needed.
10273
c0749a51
GM
10274 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10275 Don't try to cons a mark onto an empty element.
10276
5c90fde0
LL
102772011-04-11 Leo Liu <sdl.web@gmail.com>
10278
10279 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10280 buffers.
10281 (ido-kill-buffer-at-head): Support killing virtual buffers.
10282
369e974d
CY
102832011-04-10 Chong Yidong <cyd@stupidchicken.com>
10284
10285 * minibuffer.el (completion-show-inline-help): New var.
10286 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10287 (minibuffer-force-complete, minibuffer-complete-word):
10288 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10289
10290 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10291 to avoid interference from inline help (Bug#5849).
10292
37f1c930
LL
102932011-04-10 Leo Liu <sdl.web@gmail.com>
10294
099c39a4
JB
10295 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10296 Fix typo.
37f1c930 10297
a32d4040
CY
102982011-04-09 Chong Yidong <cyd@stupidchicken.com>
10299
10300 * image-mode.el (image-toggle-display-image): Signal an error if
10301 not in Image mode.
10302 (image-transform-mode, image-transform-resize)
10303 (image-transform-set-rotation): Doc fix.
daca8ba5 10304 (image-transform-set-resize): Delete.
a32d4040
CY
10305 (image-transform-set-scale, image-transform-fit-to-height)
10306 (image-transform-fit-to-width): Handle image-toggle-display-image
10307 and image-transform-resize directly.
10308
099c39a4 103092011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10310
10311 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10312 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10313 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10314 (doc-view-mode-map): Add bindings for the new functions.
10315
099c39a4 103162011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10317
4d61f28d 10318 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10319 Fix typo in docstring.
10320
3726838a
EZ
103212011-04-08 Eli Zaretskii <eliz@gnu.org>
10322
04f33f1e
EZ
10323 * files.el (file-size-human-readable): Produce one digit after
10324 decimal, like "ls -lh" does.
10325
10326 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10327 the file size representation.
10328
3726838a
EZ
10329 * simple.el (list-processes): If async subprocesses are not
10330 available, error out with a clear error message.
10331
cbb59342
CY
103322011-04-08 Chong Yidong <cyd@stupidchicken.com>
10333
10334 * help.el (help-form-show): New function, to be called from C.
10335 Put help-form output in a buffer named differently than *Help*.
10336
e3971c44
EZ
103372011-04-08 Eli Zaretskii <eliz@gnu.org>
10338
10339 * files.el (file-size-human-readable): New function.
10340
10341 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10342 computing the representation inline. Don't require `cl'.
10343
12544bbe
GM
103442011-04-08 Glenn Morris <rgm@gnu.org>
10345
a1de6c6a
GM
10346 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10347
3c4671f4
GM
10348 * net/browse-url.el (browse-url-firefox):
10349 Test system-type, not system-configuration.
10350
b605679c
GM
10351 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10352 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10353 Use log-edit-empty-buffer-p. (Bug#7598)
10354
56442f0c
GM
10355 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10356 (rlogin-mode-map): Initialize in the defvar.
10357 (rlogin): Use ignore-errors.
10358
12544bbe
GM
10359 * replace.el (occur-mode-map): Some fixes for menu items.
10360
eb237b0f
AH
103612011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10362
10363 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10364
7d668f2c
CY
103652011-04-06 Chong Yidong <cyd@stupidchicken.com>
10366
e67a13ab
CY
10367 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10368 issuing unused warnings.
10369
10370 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10371 macro directly.
10372
7d668f2c
CY
10373 * simple.el: Lisp reimplement of list-processes. Based on an
10374 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10375 (process-menu-mode): New major mode.
10376 (list-processes--refresh, list-processes):
10377 (process-menu-visit-buffer): New functions.
10378
10379 * files.el (save-buffers-kill-emacs): Don't assume any return
10380 value of list-processes, which is undocumented anyway.
10381
a83ec3c9
CY
103822011-04-06 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * emacs-lisp/tabulated-list.el: New file.
10385
e91a96fe
CY
10386 * emacs-lisp/package.el: Use Tabulated List mode.
10387 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10388 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10389 table format using Tabulated List mode variables.
10390 (package--push): New macro, replacing package-list-maybe-add.
10391 (package-menu--generate): Use package--push. Renamed from
10392 package--generate-package-list.
10393 (package-menu-refresh, list-packages): Use it.
daca8ba5 10394 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10395 Return insertion data instead of inserting it directly.
099c39a4
JB
10396 (package-menu-describe-package, package-menu-execute):
10397 Use tabulated-list-get-id.
e91a96fe
CY
10398 (package-menu-mark-delete, package-menu-mark-install)
10399 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10400 (package-menu-mark-obsolete-for-deletion):
10401 Use tabulated-list-put-tag.
e91a96fe
CY
10402 (package--list-packages, package-menu-revert)
10403 (package-menu-get-package, package-menu-get-version)
10404 (package-menu-sort-by-column): Functions deleted.
10405 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10406 (package-menu--status-predicate, package-menu--version-predicate)
10407 (package-menu--name-predicate)
10408 (package-menu--description-predicate): Handle arguments in the
10409 Tabulated List format.
10410 (package-list-packages-no-fetch): Call list-packages.
10411
3e214b50
JB
104122011-04-06 Juanma Barranquero <lekktu@gmail.com>
10413
10414 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10415 (after-find-file): Don't bind it.
3e214b50
JB
10416 (revert-buffer-in-progress-p): New variable.
10417 (revert-buffer): Bind it.
10418 Pass nil for `after-find-file-from-revert-buffer'.
10419
10420 * saveplace.el (save-place-find-file-hook): Use new variable
10421 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10422
3f0f1700
GM
104232011-04-06 Glenn Morris <rgm@gnu.org>
10424
c0274801
GM
10425 * Makefile.in (AUTOGEN_VCS): New variable.
10426 (autoloads): Use $AUTOGEN_VCS.
10427
3f0f1700
GM
10428 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10429 * calendar/calendar.el (calendar-mode-map):
10430 Check for toolkit scroll bars. (Bug#8305)
10431
41ea9e48
CY
104322011-04-05 Chong Yidong <cyd@stupidchicken.com>
10433
10434 * minibuffer.el (completion-in-region--postch)
10435 (completion-in-region-mode): Remove unnecessary messages.
10436
6194c800
JB
104372011-04-05 Juanma Barranquero <lekktu@gmail.com>
10438
33256f14
JB
10439 * font-lock.el (font-lock-refresh-defaults):
10440 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10441 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10442
6194c800
JB
10443 * info.el (Info-directory-list, Info-read-node-name-2)
10444 (Info-split-parameter-string): Doc fixes.
10445 (Info-virtual-nodes): Reflow docstring.
10446 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10447 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10448 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10449 Fix typos in docstrings.
10450 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10451 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10452 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10453 (Info-restore-desktop-buffer): Mark unused parameters.
10454 (Info-directory-find-file, Info-directory-find-node)
10455 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10456 (Info-virtual-index-find-node, Info-apropos-find-file)
10457 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10458 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10459 (Info-virtual-index): Remove unused local variable `nodename'.
10460
b87a8200 104612011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10462
b87a8200
DD
10463 * net/rcirc.el: Update my e-mail address.
10464 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10465
3b2ff876
CY
104662011-04-05 Chong Yidong <cyd@stupidchicken.com>
10467
10468 * startup.el (command-line): Save the cursor's theme-face
10469 directly, instead of using face-override-spec.
10470
10471 * custom.el (load-theme): Minor optimization in assigning faces.
10472
8d17e7ca
JB
104732011-04-04 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * help-fns.el (describe-variable): Complete all variables having
10476 documentation, including keywords.
10477 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10478
2fbc1934
JB
104792011-04-04 Juanma Barranquero <lekktu@gmail.com>
10480
10481 Convert to lexical-binding.
10482
10483 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10484 (bs--get-marked-string, bs--get-modified-string)
10485 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10486 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10487 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10488
10489 * ehelp.el (electric-help-execute-extended)
10490 (electric-help-ctrl-x-prefix):
10491 * hexl.el (hexl-revert-buffer-function):
10492 * linum.el (linum-after-change, linum-after-scroll):
10493 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10494
10495 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10496
74f50695
DU
104972011-04-04 Daiki Ueno <ueno@unixuser.org>
10498
10499 * epa-dired.el:
10500 * epa-mail.el:
10501 * epa-hook.el:
10502 * epa-file.el:
10503 * epa.el:
10504 * epg.el: Use lexical binding.
10505
c11325f7
CY
105062011-04-03 Chong Yidong <cyd@stupidchicken.com>
10507
0d9e9a12
CY
10508 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10509
c11325f7 10510 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10511 dictionary case for flyspell-mark-duplications-exceptions.
10512 Use regexp matching for languages.
c11325f7
CY
10513 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10514 default dictionary (Bug#7926).
10515
da91b5f2
CY
105162011-04-02 Chong Yidong <cyd@stupidchicken.com>
10517
099c39a4
JB
10518 * emacs-lisp/package.el (package--with-work-buffer):
10519 Recognize https URLs.
da91b5f2 10520
099c39a4
JB
10521 * net/network-stream.el: Move from gnus/proto-stream.el.
10522 Change prefix to network-stream throughout.
da91b5f2
CY
10523 (open-protocol-stream): Merge into open-network-stream, leaving
10524 open-protocol-stream as an alias. Handle nil BUFFER args.
10525
10526 * subr.el (open-network-stream): Move to net/network-stream.el.
10527
afa8e9f6
GM
105282011-04-02 Glenn Morris <rgm@gnu.org>
10529
1d2e369d
GM
10530 * find-dired.el (find-exec-terminator): New option.
10531 (find-ls-option): Test for -ls support.
10532 (find-ls-subdir-switches): Test for -b in find-ls-option.
10533 (find-dired, find-grep-dired): Doc fixes.
10534 (find-dired): Use find-exec-terminator.
10535
8abb7da8 10536 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10537 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10538 (find-name-arg): Remove purecopy.
8abb7da8 10539
f3ca7378
GM
10540 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10541 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10542 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10543 accordingly. Don't add the null-device if not needed.
10544
afa8e9f6
GM
10545 * files.el (save-some-buffers): Doc fix.
10546
35eae264
EZ
105472011-04-02 Eli Zaretskii <eliz@gnu.org>
10548
10549 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10550
26b51db5
JB
105512011-04-01 Juanma Barranquero <lekktu@gmail.com>
10552
10553 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10554 Use `dolist' rather than `mapcar'.
10555
7200d79c
SM
105562011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10557
03408648 10558 Add lexical binding.
7200d79c 10559
03408648
SM
10560 * subr.el (apply-partially): Use new closures rather than CL.
10561 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10562 (dolist, dotimes): Use slightly different expansion for lexical code.
10563 (functionp): Move to C.
10564 (letrec): New macro.
10565 (with-wrapper-hook): Use it and apply-partially instead of CL.
10566 (eval-after-load): Preserve lexical-binding.
10567 (save-window-excursion, with-output-to-temp-buffer): Turn them
10568 into macros.
7200d79c 10569
03408648
SM
10570 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10571
10572 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10573 than the arglist.
10574 (help-add-fundoc-usage): Don't add `Not documented'.
10575 (help-function-arglist): Handle closures, subroutines, and new
10576 byte-code-functions.
10577 (help-make-usage): Remove leading underscores.
10578 (describe-function-1): Handle closures.
10579 (describe-variable): Use special-variable-p for completion.
10580
10581 * files.el (lexical-binding): Declare safe.
f488fb65 10582
03408648
SM
10583 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10584 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10585 (pcase): Add `let' pattern.
10586 Change memoization so it actually works.
10587 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10588 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10589 <let>: New case.
f488fb65 10590
03408648
SM
10591 * emacs-lisp/macroexp.el: Use lexical binding.
10592 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10593 Don't convert ' to #' without checking that it's indeed quoting
10594 a lambda.
10595
10596 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10597 Use eval-sexp-add-defvars.
03408648
SM
10598 (eval-sexp-add-defvars): New fun.
10599
10600 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10601
10602 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10603 Don't autoload.
10604 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10605 than the internal `byte-compile-lambda'.
10606 (defmethod): Don't hide code under quotes.
10607 (eieio-defmethod): New `code' argument.
10608
10609 * emacs-lisp/eieio-comp.el: Remove.
10610
10611 * emacs-lisp/edebug.el (edebug-eval-defun)
10612 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10613 (edebug-toggle): Avoid `eval'.
10614
10615 * emacs-lisp/disass.el (disassemble-internal): Handle new
10616 `closure' objects.
10617 (disassemble-1): Handle new byte codes.
10618
10619 * emacs-lisp/cl.el (pushnew): Silence warning.
10620
10621 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10622 (cl-byte-compile-throw): Remove.
10623 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10624
10625 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10626 closures.
10627
10628 * emacs-lisp/cconv.el: New file.
10629
10630 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10631 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10632 (byte-compile-initial-macro-environment):
10633 Handle declare-function here.
10634 (byte-compile--lexical-environment): New var.
10635 (byte-stack-ref, byte-stack-set, byte-discardN)
10636 (byte-discardN-preserve-tos): New lap codes.
10637 (byte-interactive-p): Don't use any more.
10638 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10639 New macros.
10640 (byte-compile-lapcode): Use them and handle new lap codes.
10641 (byte-compile-obsolete): Remove.
10642 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10643 (byte-compile-arglist-warn): Check late def of inlinable funs.
10644 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10645 since they should have been expanded by now.
10646 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10647 (byte-compile-from-buffer): Remove unused second arg.
10648 (byte-compile-preprocess): New function.
10649 (byte-compile-toplevel-file-form): New function to distinguish
10650 file-form calls from outside from file-form calls from hunk-handlers.
10651 (byte-compile-file-form): Simplify.
10652 (byte-compile-file-form-defsubst): Remove.
10653 (byte-compile-file-form-defmumble): Simplify now that
10654 byte-compile-lambda always returns a byte-code-function.
10655 (byte-compile): Preprocess.
10656 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10657 Remove, not used any more.
10658 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10659 (byte-compile-make-args-desc): New funs.
10660 (byte-compile-lambda): Handle lexical functions. Always return
10661 a byte-code-function.
10662 (byte-compile-reserved-constants): New var, to make up room for
10663 closed-over variables.
10664 (byte-compile-constants-vector): Obey it.
10665 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10666 (byte-compile-macroexpand-declare-function): New function.
10667 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10668 byte-code-functions.
10669 (byte-compile-form): Check obsolescence here.
10670 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10671 (byte-compile-variable-ref): Remove.
10672 (byte-compile-dynamic-variable-op): New fun.
10673 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10674 (byte-compile-variable-set): New funs.
10675 (byte-compile-discard): Add 2 args.
10676 (byte-compile-stack-ref, byte-compile-stack-set)
10677 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10678 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10679 macroexpand-all instead.
10680 (byte-compile-quote-form): Remove.
10681 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10682 (byte-compile-bind, byte-compile-unbind): New funs.
10683 (byte-compile-let): Handle let* and lexical binding.
10684 (byte-compile-let*): Remove.
10685 (byte-compile-catch, byte-compile-unwind-protect)
10686 (byte-compile-track-mouse, byte-compile-condition-case):
10687 Handle a new :fun-body form, used for lexical scoping.
10688 (byte-compile-save-window-excursion)
10689 (byte-compile-with-output-to-temp-buffer): Remove.
10690 (byte-compile-defun): Simplify.
10691 (byte-compile-stack-adjustment): New fun.
10692 (byte-compile-out): Use it.
10693 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10694
10695 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10696 handler any more.
10697
10698 * emacs-lisp/byte-opt.el: Use lexical binding.
10699 (byte-inline-lapcode): Remove (to bytecomp).
10700 (byte-compile-inline-expand): Pay attention to inlining to/from
10701 lexically bound code.
10702 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10703 any more.
10704 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10705 any more and don't call compiler-macros.
10706 (byte-compile-splice-in-already-compiled-code): Remove.
10707 (byte-code): Don't inline any more.
10708 (disassemble-offset): Receive `bytes' as argument rather than via
10709 dynamic scoping.
10710 (byte-compile-tag-number): Declare before first use.
10711 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10712 `return' even if make-spliceable.
10713 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10714 obsolete interactive-p.
10715 (byte-optimize-lapcode): Optimize new lap-codes.
10716 Don't trip up on new form of `byte-constant' lap code.
10717
10718 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10719
10720 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10721
10722 * custom.el (custom-initialize-default, custom-declare-variable):
10723 Use `defvar'.
10724
10725 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10726 New variables.
10727 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10728 (COMPILE_FIRST): Add macroexp and cconv.
10729 * makefile.w32-in: Mirror changes in Makefile.in.
10730
10731 * vc/cvs-status.el:
10732 * vc/diff-mode.el:
10733 * vc/log-edit.el:
10734 * vc/log-view.el:
10735 * vc/smerge-mode.el:
10736 * textmodes/bibtex-style.el:
10737 * textmodes/css.el:
10738 * startup.el:
10739 * uniquify.el:
da91b5f2
CY
10740 * minibuffer.el:
10741 * newcomment.el:
10742 * reveal.el:
10743 * server.el:
10744 * mpc.el:
10745 * emacs-lisp/smie.el:
10746 * doc-view.el:
10747 * dired.el:
03408648
SM
10748 * abbrev.el: Use lexical binding.
10749
0f0c1f27
EZ
107502011-04-01 Eli Zaretskii <eliz@gnu.org>
10751
10752 * info.el (info-display-manual): New function.
10753
c82b2579
SM
107542011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10757
221ddf68
TH
107582011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10759
10760 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10761 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10762
cba6e77e
GM
107632011-03-31 Glenn Morris <rgm@gnu.org>
10764
e040639f
GM
10765 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10766
cba6e77e
GM
10767 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10768
6d0f1c9e
CS
107692011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10770
10771 * progmodes/python.el (python-default-interpreter)
10772 (python-python-command-args, python-jython-command-args)
10773 (python-which-shell, python-which-args, python-which-bufname)
10774 (python-file-queue, python-comint-output-filter-function)
10775 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10776 variables and functions.
10777
3e2d70fd
SM
107782011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10781 (completion-in-region-mode): New minor mode.
10782 (completion-in-region): Use it.
10783 (completion-in-region--data, completion-in-region-mode-map): New vars.
10784 (completion-in-region--postch): New function.
10785 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10786 New vars.
10787 (completion--capf-wrapper): New function.
10788 (completion-at-point): Use it to track well-behavedness of
10789 hook functions.
10790 (completion-help-at-point): New command.
10791
f3e4086c
JM
107922011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10793
10794 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10795 syntax class to search for whitespace on a single line
10796 (Message-ID: <4D938140.4030905@redhat.com>).
10797
eb7ffc14
LL
107982011-03-30 Leo Liu <sdl.web@gmail.com>
10799
10800 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10801 New commands.
10802 (edit-abbrevs-map): Bind them here.
10803 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10804
d806ab68
KM
108052011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10806
10807 * allout.el (allout-hide-by-annotation, allout-flag-region):
10808 Reduce possibility of overlay leakage by making them volatile.
10809
10810 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10811 hash is not shared between buffers. Mode initialization is
10812 responsible for giving it a useful starting value.
10813 (allout-item-span): Reduce possibility of overlay leakage by
10814 making them volatile.
10815 (allout-widgets-count-buttons-in-region): Add diagnostic function
10816 for tracking down button overlay leaks.
10817
ea622834
LL
108182011-03-29 Leo Liu <sdl.web@gmail.com>
10819
10820 * ido.el (ido-read-internal): Use the default history var
10821 minibuffer-history if no HISTORY is specified.
10822
b62f8267
G
108232011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10824
03408648
SM
10825 * net/imap.el (imap-shell-open, imap-process-connection-type):
10826 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10827 Kerberos, SSL, other subprocesses.
10828
947b6566
LL
108292011-03-28 Leo Liu <sdl.web@gmail.com>
10830
10831 * abbrev.el (abbrev-table-empty-p): New function.
10832 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10833 nonempty ones. (Bug#5937)
10834
5ffb62aa
JD
108352011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10836
10837 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10838
7a097943
LL
108392011-03-27 Leo Liu <sdl.web@gmail.com>
10840
10841 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10842 for foreground and background colors.
10843 (ansi-color-make-color-map): Adapt.
10844
c5b40130
LL
108452011-03-25 Leo Liu <sdl.web@gmail.com>
10846
1f48f7d2
LL
10847 * midnight.el (midnight-time-float): Remove. Note it calculates
10848 the microsecond component incorrectly and seconds-to-time does the
10849 same job.
625897ec 10850 Remove redundant (require 'timer).
1f48f7d2 10851
c5b40130
LL
10852 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10853 (ido-completions): Remove unused arguments. (Bug#8329)
10854
d86d2721
SM
108552011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * minibuffer.el (completion--flush-all-sorted-completions):
10858 Remove itself from hook.
10859 (completion-at-point): Let the functions perform the completion
10860 immediately and return nil or t.
10861 * comint.el (comint-dynamic-complete-functions): Now identical to
10862 completion-at-point-functions.
10863 (comint-dynamic-list-input-ring): Remove unused var `index'.
10864 (comint--match-partial-filename, comint--unquote&expand-filename):
10865 New funs, split from comint-match-partial-filename.
10866 (comint-dynamic-complete): Use completion-at-point.
10867 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10868
e8974c48
DA
108692011-03-24 Drew Adams <drew.adams@oracle.com>
10870
10871 * thingatpt.el: Support `defun'.
10872
def71b5e
LL
108732011-03-23 Leo Liu <sdl.web@gmail.com>
10874
cb5af48e
LL
10875 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10876
def71b5e
LL
10877 * help-mode.el (help-mode-finish): Tweak regexp.
10878
927c53e7
GM
108792011-03-23 Glenn Morris <rgm@gnu.org>
10880
18d05bed
GM
10881 * eshell/esh-opt.el (eshell-eval-using-options):
10882 Do not bind unused local variable `eshell-option-stub'.
10883
927c53e7
GM
10884 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10885
9d0da923
JB
108862011-03-22 Juanma Barranquero <lekktu@gmail.com>
10887
10888 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10889 keymap variable in `with-no-warnings' to avoid a warning when the
10890 keymap has been already `defconst'ed.
10891
4b978a67
LL
108922011-03-22 Leo Liu <sdl.web@gmail.com>
10893
10894 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10895 encode all chars in abbrevs; otherwise use emacs-mule or
10896 utf-8-emacs. (Bug#8308)
10897
5fd62452
JB
108982011-03-22 Juanma Barranquero <lekktu@gmail.com>
10899
0b1596c6
JB
10900 * simple.el (backward-delete-char-untabify):
10901 Avoid warning about using `delete-backward-char'.
10902
5fd62452
JB
10903 * image.el (image-type-file-name-regexps): Make it variable.
10904 `imagemagick-register-types' modifies it, and the user may want
10905 to add new extensions for known image types.
10906 (imagemagick-register-types): Throw error if not using ImageMagick.
10907
0b4e93f1
LL
109082011-03-22 Leo Liu <sdl.web@gmail.com>
10909
10910 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10911 located before rcirc-prompt-end-marker.
10912 (rcirc-complete): Error if point is not after rcirc prompt.
10913 Handle the case when table is nil.
9882e214 10914 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10915
fccee4ab
CY
109162011-03-22 Chong Yidong <cyd@stupidchicken.com>
10917
10918 * custom.el (custom--inhibit-theme-enable): Make it affect only
10919 custom-theme-set-variables and custom-theme-set-faces.
10920 (provide-theme): Ignore custom--inhibit-theme-enable.
10921 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10922 (custom-enabling-themes): Delete variable.
d86d2721
SM
10923 (enable-theme): Accept only loaded themes as arguments.
10924 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10925 (custom-enabled-themes): Forbid themes from setting this.
10926 Eliminate use of custom-enabling-themes.
10927 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10928
af896da6
LL
109292011-03-21 Leo Liu <sdl.web@gmail.com>
10930
10931 * ido.el (ido-read-internal): Add ido-selected to history instead
10932 of user input.
10933
78f64af0
SM
109342011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * subr.el (deferred-action-list, deferred-action-function):
10937 Mark obsolete.
10938
b16ac1ec
LL
109392011-03-21 Leo Liu <sdl.web@gmail.com>
10940
810f7698
LL
10941 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10942 change on 2011-02-13 (bug#8309).
10943
b16ac1ec
LL
10944 * minibuffer.el (read-file-name-function): Change default value.
10945 (read-file-name--defaults): Rename from read-file-name-defaults.
10946 (read-file-name-default): Rename from read-file-name.
10947 (read-file-name): Call read-file-name-function.
10948
4e05e67e
GM
109492011-03-21 Glenn Morris <rgm@gnu.org>
10950
10951 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10952 Doc fixes.
10953
4359915b
CY
109542011-03-21 Chong Yidong <cyd@stupidchicken.com>
10955
10956 * cus-theme.el: Add missing provide statement.
10957 (customize-create-theme): Extract theme value correctly.
10958 (custom-theme-visit-theme): Autoload.
10959 (customize-create-theme): Prompt before inserting default faces.
10960
1fe275ee
JB
109612011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10962
10963 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10964 units and musical notes.
10965
cd394be1 109662011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10967
10968 * ido.el (ido-read-internal): Use completing-read-default.
10969 (ido-completing-read): Fix compatibility with completing-read.
10970
7d476bde
CO
109712011-03-20 Christian Ohler <ohler@gnu.org>
10972
10973 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10974 (ert-delete-all-tests): Use `called-interactively-p' rather than
10975 `interactive-p'.
10976 (ert--make-xrefs-region): Respect END.
10977
fe0fb33e
CY
109782011-03-19 Chong Yidong <cyd@stupidchicken.com>
10979
ff854b0b
CY
10980 * dired-aux.el (dired-create-directory): Signal an error if the
10981 directory already exists (Bug#8246).
10982
fe0fb33e
CY
10983 * facemenu.el (list-colors-display): Call list-faces-display
10984 inside with-help-window.
10985 (list-colors-print): Use display property to align the final
10986 column, instead of checking window-width.
10987
576bce32
EZ
109882011-03-19 Eli Zaretskii <eliz@gnu.org>
10989
4d61f28d 10990 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10991 windows-nt systems.
10992 (emerge-protect-metachars): Quote correctly for ms-dos and
10993 windows-nt systems.
10994
89c41d68 109952011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10996
10997 * info.el (info-initialize): Replace all uses of `:' with
10998 path-separator for compatibility with non-Unix systems.
10999 Cache quoting of path-separator. (Bug#8258)
11000
b14e3e21 110012011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11002
11003 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11004 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11005 (mouse-avoidance-mode): Fix typos in docstrings.
11006
4525ce3e
CY
110072011-03-19 Chong Yidong <cyd@stupidchicken.com>
11008
11009 * startup.el (package-subdirectory-regexp): Move from package.el.
11010 Omit \\` and \\', and let callers add them.
11011
11012 * emacs-lisp/package.el (package-strip-version)
11013 (package-load-all-descriptors): Add \\` and \\' to
11014 package-subdirectory-regexp before using it.
11015 (package-untar-buffer): New arg DIR; ensure that file untars only
11016 into this expected directory. Remove superfluous delete-region.
11017 (package-unpack): Caller changed.
11018 (package-tar-file-info): Use package-subdirectory-regexp.
11019
a904a09a 110202011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11021
a904a09a
SM
11022 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11023 diff-mode-shared-map (bug#8284).
11024 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11025
110262011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11027
11028 * calendar/time-date.el (format-seconds): Use assoc instead of
11029 assoc-string, since assoc-string doesn't exist in XEmacs.
11030
171fc304
JB
110312011-03-17 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * custom.el (custom-known-themes): Reflow docstring.
11034 (custom-theme-load-path): Fix typo in docstring.
11035 (load-theme): Fix typo in error message.
11036 (custom-available-themes, custom-variable-theme-value):
11037 Use `let', not `let*'.
11038
d71990a1
JB
110392011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11040
11041 * calc/README: Mention inclusion of musical notes.
11042
11043 * calc/calc-units.el (calc-lu-quant): Rename from
11044 `calc-logunits-quantity'.
11045 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11046 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11047 (calc-db): Rename from `calc-dblevel'.
11048 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11049 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11050 (calc-np): Rename from `calc-nplevel'.
11051 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11052 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11053 (calc-lu-plus): Rename from `calc-logunits-add'.
11054 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11055 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11056 (calc-lu-minus): Rename from `calc-logunits-sub'.
11057 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11058 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11059 (calc-lu-times): Rename from `calc-logunits-mul'.
11060 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11061 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11062 (calc-lu-divide): Rename from `calc-logunits-div'.
11063 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11064 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11065
11066 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11067 functions being autoloaded.
11068
11069 * calc/calc.el (calc-lu-power-reference): Rename from
11070 `calc-logunits-power-reference'.
11071 (calc-lu-field-reference): Rename from
11072 `calc-logunits-field-reference'.
11073
7a71b18d
GM
11074 * calc/calc-help.el (calc-l-prefix-help):
11075 Mention musical note functions.
d71990a1 11076
40c2934b
SM
110772011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * minibuffer.el (completion-all-sorted-completions):
11080 Use :completion-cycle-penalty text property if present.
11081
b0911414
KM
110822011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11083
11084 * allout.el (allout-yank-processing): Adjust for new rebulleting
11085 regime so bullet being yanked is used without prompting the user
11086 for a choice.
11087
8a05b668
JB
110882011-03-16 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * startup.el (command-line): Warn the user that _emacs is deprecated.
11091
5ba5fb81
JB
110922011-03-16 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11095 (delphi-verbose, delphi-comment-face, delphi-string-face)
11096 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11097 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11098 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11099 (delphi-new-comment-line, delphi-font-lock-defaults)
11100 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11101 Fix typos in docstrings.
11102
2dab465b
KM
111032011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11104
5ba5fb81 11105 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11106 Invert the roles of character and string values for INSTEAD, so a
11107 string is used for the more common case of a defaulting prompt.
11108
0adf5618
SM
111092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * progmodes/ruby-mode.el (ruby-backward-sexp):
11112 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11113 * play/gamegrid.el (gamegrid-make-face):
11114 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11115 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11116 * notifications.el (notifications-notify):
11117 * net/xesam.el (xesam-search-engines):
11118 * net/quickurl.el (quickurl-list-insert):
11119 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11120
d72700e5
CY
111212011-03-15 Chong Yidong <cyd@stupidchicken.com>
11122
11123 * startup.el (command-line): Update package subdirectory regexp.
11124
49c5410a
SM
111252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11126
c6eee9aa
SM
11127 * allout.el (allout-abbreviate-flattened-numbering)
11128 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11129
49c5410a
SM
11130 * subr.el (read-char-choice): Only show the cursor after the prompt,
11131 not after the answer.
11132
047b2bb9
KR
111332011-03-15 Kevin Ryde <user42@zip.com.au>
11134
11135 * help-fns.el (variable-at-point): Skip leading quotes, if any
11136 (bug#8253).
11137
0a57d256
SM
111382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11141 warning message.
11142
77c992bc
MA
111432011-03-14 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * shell.el (shell): When called interactively, offer to change the
11146 shell file name on remote hosts.
11147
eebc475d
TZ
111482011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11149
11150 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11151 integration for LDAP parameters. The host, base, user or binddn,
11152 and secret tokens can be specified in a netrc file, for instance.
11153 This is optional because an `auth-source' parameter must be
11154 specified in the search attributes.
11155
9d05d1ba
JB
111562011-03-13 Juanma Barranquero <lekktu@gmail.com>
11157
11158 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11159
09d9db2c
GM
111602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11163 into declaration. Remove redundant and harmful binding.
11164
111652011-03-12 Eli Zaretskii <eliz@gnu.org>
11166
11167 * files.el (file-ownership-preserved-p): Pass `integer' as an
11168 explicit 2nd argument to `file-attributes'. If the file's owner
11169 is the Administrators group on Windows, and the current user is
11170 Administrator, consider that a match.
11171
11172 * server.el (server-ensure-safe-dir): Consider server directory
11173 safe on MS-Windows if its owner is the Administrators group while
11174 the current Emacs user is Administrator. Use `=' to compare
11175 numerical UIDs, since they could be integers or floats.
11176
219bd536
JB
111772011-03-12 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11180
f3afd36b
MA
111812011-03-12 Michael Albinus <michael.albinus@gmx.de>
11182
11183 Sync with Tramp 2.2.1.
11184
11185 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11186
11187 * net/trampver.el: Update release number.
11188
3aaaa6f1
SM
111892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11190
94642599
SM
11191 * progmodes/compile.el (compilation--previous-directory): Fix up
11192 various nil/dead-marker mismatches (bug#8014).
11193 (compilation-directory-properties, compilation-error-properties):
11194 Don't call it at a position past the one we're about to change.
11195
3aaaa6f1
SM
11196 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11197 Disable obsolescence warnings in the file that declares it.
11198
14239447
KM
111992011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11200
099c39a4
JB
11201 * allout-widgets.el (allout-widgets-tally):
11202 Initialize allout-widgets-tally as a hash table rather than nil to
11203 prevent mode-line redisplay warnings. Also, clarify the module
11204 description and fix a comment typo.
14239447 11205
135e287c
JB
112062011-03-11 Juanma Barranquero <lekktu@gmail.com>
11207
11208 * help-fns.el (describe-variable): Don't complete keywords.
11209 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11210
ffbf300e
CY
112112011-03-10 Chong Yidong <cyd@stupidchicken.com>
11212
ba08b241
CY
11213 * emacs-lisp/package.el (package-version-join): Impose a standard
11214 string representation for pre/alpha/beta version lists.
11215 (package-unpack-single): Standardize the directory name by passing
11216 it through package-version-join.
11217 (package-strip-rcs-id): Accept any version string that does not
11218 signal an error in version-to-list.
ffbf300e 11219
f346fd6b
MA
112202011-03-10 Michael Albinus <michael.albinus@gmx.de>
11221
11222 * simple.el (delete-trailing-whitespace): Return nil for the
11223 benefit of `write-file-functions'.
11224
ccb55d27
GM
112252011-03-10 Glenn Morris <rgm@gnu.org>
11226
5ceaac0c
GM
11227 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11228
02da65ff
GM
11229 * vc/vc-git.el (vc-git-program): New option.
11230 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11231 (vc-git--call): Use it.
11232
b2f603cc
GM
11233 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11234
5772caab
GM
11235 * cus-edit.el (Custom-newline): If no button at point, look
11236 for a subgroup button at start-of-line. (Bug#2298)
11237
ccb55d27
GM
11238 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11239
ec6ecaed
JD
112402011-03-10 Julien Danjou <julien@danjou.info>
11241
11242 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11243 `cursor-type' is nil.
11244
9d5aa01d
JB
112452011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11246
11247 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11248
b6a5875b
KM
112492011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11250
7a71b18d 11251 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11252 preserves the existing header prefix, rebulleting it if necessary,
11253 rather than replacing it. This is necessary for proper operation
11254 of cooperative addons like allout-widgets.
1154d12e
JB
11255 (allout-make-topic-prefix, allout-rebullet-heading):
11256 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11257 value as alternate bullet to be used, instead of prompting the user
11258 for a bullet character.
b6a5875b 11259
ee545c35
MA
112602011-03-09 Michael Albinus <michael.albinus@gmx.de>
11261
d86d2721
SM
11262 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11263 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11264 `tramp-default-port'.
11265
c47971d7
DD
112662011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11267
11268 * net/rcirc.el (rcirc-handler-001): Remove useless
11269 with-rcirc-process-buffer.
11270 (rcirc-check-auth-status): Swap arguments to string-match.
11271
13522cb4
GM
112722011-03-09 Glenn Morris <rgm@gnu.org>
11273
0be6f4f1
GM
11274 * shell.el (shell-mode):
11275 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11276
13522cb4
GM
11277 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11278 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11279
515de2e3
CY
112802011-03-08 Chong Yidong <cyd@stupidchicken.com>
11281
11282 * emacs-lisp/package.el (package-refresh-contents)
11283 (package-menu-execute): Use condition-case-no-debug.
11284
b511b994
MA
112852011-03-08 Michael Albinus <michael.albinus@gmx.de>
11286
11287 * simple.el (shell-command-to-string): Use `process-file'.
11288
11289 * emacs-lisp/package.el (package-tar-file-info): Handle also
11290 remote files.
11291
d86d2721
SM
11292 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11293 Use `equal' for upload base check.
b511b994 11294
25bbfb31
AM
112952011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11296
11297 * textmodes/texinfo.el (texinfo-environments):
11298 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11299
be996521
GM
113002011-03-08 Glenn Morris <rgm@gnu.org>
11301
e9c8529f
GM
11302 * cus-start.el (cursor-in-non-selected-windows):
11303 Fix :set quoting oddness. (Bug#8192)
11304
be996521
GM
11305 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11306 in some setf expressions. (Bug#2159)
11307
2bb5649e
CY
113082011-03-08 Chong Yidong <cyd@stupidchicken.com>
11309
11310 * custom.el (custom-available-themes): Return themes in
11311 alphabetical order.
11312
33383987 11313See ChangeLog.15 for earlier changes.
e3d51b27
MR
11314
11315;; Local Variables:
11316;; coding: utf-8
e3d51b27
MR
11317;; End:
11318
acaf905b 11319 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11320
11321 This file is part of GNU Emacs.
11322
11323 GNU Emacs is free software: you can redistribute it and/or modify
11324 it under the terms of the GNU General Public License as published by
11325 the Free Software Foundation, either version 3 of the License, or
11326 (at your option) any later version.
11327
11328 GNU Emacs is distributed in the hope that it will be useful,
11329 but WITHOUT ANY WARRANTY; without even the implied warranty of
11330 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11331 GNU General Public License for more details.
11332
11333 You should have received a copy of the GNU General Public License
11334 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.