Check there is a font-lock specification before initial fontification.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
487915d7
AM
12012-02-26 Alan Mackenzie <acm@muc.de>
2
3 Check there is a font-lock specification before doing initial
4 fontification.
5
6 * font-core.el (font-lock-mode): Move the conditional from
7 :after-hook to font-lock-initial-fontify.
8 (font-lock-default-function): Move the check for a specification
9 to font-lock-spec-present.
10
11 * font-lock.el (font-lock-initial-fontify): call ...
12 (font-lock-spec-present): New function.
13
4fd96557
JB
142012-02-26 Jim Blandy <jimb@red-bean.com>
15
16 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17 (gdb-send): Apply it to the operand of the '-interpreter-exec
18 console' command, so that we can pass arguments with (say) quotes
19 in them. Store exact string sent in gdb-debug-log (Bug#10765).
20
9a4888c0
CY
212012-02-26 Chong Yidong <cyd@gnu.org>
22
07498861
CY
23 * help-fns.el (describe-function-1): Clarify description of
24 remapping (Bug#10844).
25
9a4888c0
CY
26 * files.el (files-equal-p): Doc fix.
27 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
28 and quit the loop once a mismatch is found.
29
ea8fb88d
JB
302012-02-25 Juanma Barranquero <lekktu@gmail.com>
31
32 * bs.el (bs--show-with-configuration): Don't throw an error
33 if the window cannot be split; otherwise, subsequent calls to
34 bs-show fail, restoring a stale window config. (Bug#10882)
35
525795c1
JD
362012-02-25 Jan Djärv <jan.h.d@swipnet.se>
37
38 * term/ns-win.el (global-map): Bind ns-drag-file to
39 ns-find-file (Bug#5855, Bug#10050).
40
f008086f
AS
412012-02-25 Andreas Schwab <schwab@linux-m68k.org>
42
43 * calendar/parse-time.el (parse-time-string): Allow extractor to
44 return nil.
45
a3fcfa99
MA
462012-02-25 Michael Albinus <michael.albinus@gmx.de>
47
91027d08
JB
48 * net/tramp.el (tramp-file-name-for-operation):
49 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
50
51 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
52 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
53 Add COPY-CONTENTS argument.
a3fcfa99 54
67b0de11
CY
552012-02-25 Chong Yidong <cyd@gnu.org>
56
57 Add custom groups for VC backends, for consistency with vc-bzr.
58
59 * vc/vc-arch.el (vc-arch):
60 * vc/vc-cvs.el (vc-cvs):
61 * vc/vc-git.el (vc-git):
62 * vc/vc-hg.el (vc-hg):
63 * vc/vc-mtn.el (vc-mtn):
64 * vc/vc-rcs.el (vc-rcs):
65 * vc/vc-sccs.el (vc-sccs):
66 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
67 All relevant defcustoms reassigned.
68
3c9dfce6
CY
692012-02-25 Chong Yidong <cyd@gnu.org>
70
1339bf43
CY
71 * newcomment.el (comment-styles): Add autoload (Bug#10868).
72
3c9dfce6
CY
73 * term/x-win.el (x-initialize-window-system): Reduce default for
74 x-selection-timeout to 5 seconds (Bug#8869).
75
53a46cd0 762012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 77
53a46cd0 78 * files.el (file-subdir-of-p): Fix typo.
14a8a663 79
25b2e303 802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
81
ec70a47d
GM
82 * files.el (files-equal-p, file-subdir-of-p): New functions.
83 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 84 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
85 * dired-aux.el (dired-copy-file-recursive): Same.
86 (dired-create-files): Modify destination when source is equal to
87 dest when copying files.
53a46cd0 88 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 89
914260cd
MA
902012-02-24 Michael Albinus <michael.albinus@gmx.de>
91
92 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
93 (Bug#10874)
94
2cb228f7
AM
952012-02-23 Alan Mackenzie <acm@muc.de>
96
97 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
98 parameter "after-hook:" to allow the expansion to run code after
99 the execution of the mode hooks.
100
101 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 102 from font-lock-mode-internal.
2cb228f7 103
91027d08 104 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
105 :after-hook.
106
8f0fde21
SM
1072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
108
3e88618b
SM
109 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
110 (completion--cache-all-sorted-completions): New function.
111 (completion-all-sorted-completions): Use it.
112 (completion--do-completion, minibuffer-force-complete):
113 Use it to re-instate the flush hook.
114
8f0fde21
SM
115 * icomplete.el (icomplete-completions): Replace last fix with a better
116 one (bug#10850).
117
8e911f6f
DG
1182012-02-23 Dmitry Gutov <dgutov@yandex.ru>
119
120 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
121 when it might call us back infinitely (bug#10797).
122
49fe4321
GM
1232012-02-23 Glenn Morris <rgm@gnu.org>
124
125 * minibuffer.el (completion-category-overrides): Doc fix.
126
b291b572
SM
1272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * minibuffer.el (completion-table-with-context): Fix inf-loop.
130 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
131
31a9ef2e
GM
1322012-02-23 Glenn Morris <rgm@gnu.org>
133
5e6e6794 134 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
135 (authors-obsolete-files-regexps, authors-ignored-files)
136 (authors-ambiguous-files, authors-renamed-files-alist):
137 Add more entries.
138
0bd1e074
JL
1392012-02-23 Juri Linkov <juri@jurta.org>
140
141 * isearch.el (isearch-occur): Sync interactive spec with occur's
142 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
143
b617673c
JL
144 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
145
19e9789e
JL
1462012-02-22 Juri Linkov <juri@jurta.org>
147
148 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
149 (ucs-insert): Doc fix. Check for hex digits in the string.
150 Don't display `nil' in the error message. (Bug#10857)
151
f41ce09d
AM
1522012-02-22 Alan Mackenzie <acm@muc.de>
153
7a71b18d 154 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 155
ac2eceee
GM
1562012-02-22 Glenn Morris <rgm@gnu.org>
157
158 * ffap.el (ffap-c-path):
159 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
160
abd1f678
CY
1612012-02-22 Chong Yidong <cyd@gnu.org>
162
163 * custom.el (load-theme): Doc fix.
164
f25aef2e
GM
1652012-02-22 Glenn Morris <rgm@gnu.org>
166
167 * dired-x.el (dired-guess-shell-alist-default):
168 Remove escape sequences from nroff output. (Bug#172)
169
5f8dc2ca
GM
1702012-02-21 Glenn Morris <rgm@gnu.org>
171
6ff86ec4
GM
172 * vc/emerge.el (emerge-defvar-local):
173 Set `permanent-local' property rather than unused `preserved'.
174
be3223a3 175 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
176 (picture-mode-map): Use it. (Bug#10860)
177 (picture-mode): Doc fix.
178
3fe58f4f
JB
1792012-02-21 Juanma Barranquero <lekktu@gmail.com>
180
181 * newcomment.el (uncomment-region-default): Remove unused binding.
182
f9a998c3
GM
1832012-02-21 Glenn Morris <rgm@gnu.org>
184
185 * textmodes/picture.el (picture-motion, picture-motion-reverse)
186 (picture-self-insert, picture-tab-chars): Doc fix.
187 (picture-mode-map): Fix C-a, C-e.
188
c6029348
GM
1892012-02-20 Glenn Morris <rgm@gnu.org>
190
191 * emacs-lisp/authors.el (authors-aliases): Add another entry.
192
ab1ce9d7
LL
1932012-02-20 Leo Liu <sdl.web@gmail.com>
194
195 * icomplete.el (icomplete-completions): Check FROM arg before
196 passing to substring (Bug#10850).
197
0fd40f89
CY
1982012-02-19 Chong Yidong <cyd@gnu.org>
199
200 * comint.el: Require ansi-color.
201 (comint-output-filter-functions): Add ansi-color-process-output.
202
203 * ansi-color.el: Don't set comint-output-filter-functions; it is
204 now in the initial value defined in comint.el.
205 (ansi-color-apply-face-function): New variable.
206 (ansi-color-apply-on-region): Use it.
207 (ansi-color-apply-overlay-face): New function.
208
209 * shell.el (shell): No need to require ansi-color.
210 (shell-mode): Use ansi-color-apply-face-function to highlight
211 color escapes using font-lock-face property (Bug#10835).
212
20af2394
CY
2132012-02-19 Chong Yidong <cyd@gnu.org>
214
215 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
216 mode-line formats (Bug#10839).
217
e23a3fbe
GM
2182012-02-18 Glenn Morris <rgm@gnu.org>
219
b474519e
GM
220 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
221
222 * mail/undigest.el (unforward-rmail-message): Doc fix.
223
e23a3fbe
GM
224 * saveplace.el (save-place-ignore-files-regexp): Add :version.
225
57939ff4
EZ
2262012-02-18 Eli Zaretskii <eliz@gnu.org>
227
228 * international/characters.el (script-list): Sync with the latest
229 Unicode Character Database.
230
0c23686e
AS
2312012-02-18 Andreas Schwab <schwab@linux-m68k.org>
232
233 * international/titdic-cnv.el: Remove duplicate coding tag.
234 * language/cham.el: Likewise.
235 * language/tai-viet.el: Likewise.
236
6818b449
GM
2372012-02-18 Glenn Morris <rgm@gnu.org>
238
239 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
240 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
241 (calendar-bahai-all-holidays-flag, calendar-other-dates):
242 * calendar/diary-lib.el (diary-abbreviated-year-flag):
243 * calendar/holidays.el (holiday-bahai-holidays)
244 (calendar-holidays, list-holidays):
245 Use utf-8 Bahá'í in doc-strings, menus, etc.
246
0311a3fc
TH
2472012-02-17 Tassilo Horn <tassilo@member.fsf.org>
248
249 * saveplace.el (save-place-ignore-files-regexp): New variable
250 allowing for excluding files from saving their location of point.
251 The default value matches the temporary commit message editing
252 files from Git, SVN, Bazaar, and Mercurial.
253 (save-place-to-alist): Use it.
254
eb864a71
LM
2552012-02-17 Lawrence Mitchell <wence@gmx.li>
256 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * newcomment.el (uncomment-region-default): Don't leave extra space
259 when an arg is provided (bug#8150).
260
ee0ce425
TZ
2612012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
262
eb864a71 263 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 264
95ddf442
GM
2652012-02-17 Glenn Morris <rgm@gnu.org>
266
267 * net/socks.el: Require network-stream. (Bug#10599)
268
48dd1e39 2692012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
270
271 * international/charprop.el:
272 * international/uni-name.el:
273 * international/uni-old-name.el:
274 * international/uni-comment.el: Regenerate.
275
d68cd087
GM
2762012-02-16 Glenn Morris <rgm@gnu.org>
277
278 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
279 Interactively in calendar buffer, give an error if not on a date.
280
13932042
GM
2812012-02-15 Glenn Morris <rgm@gnu.org>
282
283 * shell.el (shell-delimiter-argument-list):
284 Revert 2011-02-17 change. (Bug#8027)
285
c3a70e2b
CY
2862012-02-15 Chong Yidong <cyd@gnu.org>
287
60236b0d
CY
288 * minibuffer.el (completion-at-point-functions): Doc fix.
289
c3a70e2b
CY
290 * custom.el (defcustom): Doc fix; note use of defvar.
291
9f26dc24
GM
2922012-02-15 Glenn Morris <rgm@gnu.org>
293
294 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
295 Doc fixes.
296
6546b134
GM
2972012-02-14 Glenn Morris <rgm@gnu.org>
298
299 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
300
d29b2b4c
LI
3012012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
302
303 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
304 way the ports list is computed.
835bdcba
LI
305 (smtpmail-query-smtp-server): Prompt the user for a port number if
306 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 307
08dcdbc9
TZ
3082012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
309
310 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
311
2605051a
GM
3122012-02-13 Glenn Morris <rgm@gnu.org>
313
314 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
315
7ee99f32
TZ
3162012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
317
318 * net/gnutls.el (gnutls-trustfiles): New variable.
319 (gnutls-negotiate): Use it.
320
5f0af64f
LI
3212012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
322
323 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
324 does its stuff if Gnus is running.
325
c14fcc95
AM
3262012-02-13 Alan Mackenzie <acm@muc.de>
327
328 Fix a loop in c-set-fl-decl-start.
329
7a71b18d 330 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
331 c-backward-syntactic-ws actually moves backwards.
332
142b4d90
LL
3332012-02-13 Leo Liu <sdl.web@gmail.com>
334
335 * net/rcirc.el (rcirc-markup-attributes): Move point to the
336 beginning so that all \C-o chars are removed.
337
fa9958a6
TZ
3382012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
339
340 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
341 tag.
342
0bc5886a
AM
3432012-02-12 Alan Mackenzie <acm@muc.de>
344
345 Fix infinite loop with long macros.
346 * cc-engine.el (c-state-safe-place): Handle macros properly.
347
d4bd55e7
CY
3482012-02-12 Chong Yidong <cyd@gnu.org>
349
350 * window.el (display-buffer): Doc fix (Bug#10785).
351
66f3fe22
GM
3522012-02-12 Glenn Morris <rgm@gnu.org>
353
bd7da63e
GM
354 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
355 (x-disown-selection-internal, x-get-selection-internal):
356 Sync docs with the xselect.c versions.
357
66f3fe22
GM
358 * allout-widgets.el: Add missing license notice.
359
3e0d2fa7
GM
3602012-02-11 Glenn Morris <rgm@gnu.org>
361
cfecdf09
GM
362 * select.el (x-get-selection-internal, x-own-selection-internal)
363 (x-disown-selection-internal):
364 * x-dnd.el (x-get-selection-internal): Update declarations.
365
6d216d7f
GM
366 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
367
2bed3f04
GM
368 * window.el (window-sides-slots):
369 * tool-bar.el (tool-bar-position):
370 * term/xterm.el (xterm-extra-capabilities):
371 * ses.el (ses-self-reference-early-detection):
372 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
373 (verilog-auto-wire-type)
374 (verilog-auto-delete-trailing-whitespace)
375 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
376 (verilog-auto-tieoff-declaration):
377 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
378 (sql-oracle-statement-starters, sql-oracle-scan-on):
379 * progmodes/prolog.el (prolog-align-comments-flag)
380 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
381 (prolog-left-indent-regexp, prolog-paren-indent-p)
382 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
383 (prolog-types, prolog-mode-specificators)
384 (prolog-determinism-specificators, prolog-directives)
385 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
386 (prolog-electric-dot-flag)
387 (prolog-electric-dot-full-predicate-template)
388 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
389 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
390 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
391 (prolog-program-switches, prolog-prompt-regexp)
392 (prolog-debug-on-string, prolog-debug-off-string)
393 (prolog-trace-on-string, prolog-trace-off-string)
394 (prolog-zip-on-string, prolog-zip-off-string)
395 (prolog-use-standard-consult-compile-method-flag)
396 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
397 (prolog-imenu-max-lines, prolog-info-predicate-index)
398 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
399 (prolog-char-quote-workaround):
400 * progmodes/cc-vars.el (c-defun-tactic):
401 * net/tramp.el (tramp-encoding-command-interactive)
402 (tramp-local-end-of-line):
403 * net/soap-client.el (soap-client):
404 * net/netrc.el (netrc-file):
405 * net/gnutls.el (gnutls):
406 * minibuffer.el (completion-category-overrides)
407 (completion-cycle-threshold)
408 (completion-pcm-complete-word-inserts-delimiters):
409 * man.el (Man-name-local-regexp):
410 * mail/feedmail.el (feedmail-display-full-frame):
411 * international/characters.el (glyphless-char-display-control):
412 * eshell/em-ls.el (eshell-ls-date-format):
413 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
414 (lisp-lambda-list-keyword-parameter-indentation)
415 (lisp-lambda-list-keyword-parameter-alignment):
416 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
417 * dired-x.el (dired-omit-verbose):
418 * cus-theme.el (custom-theme-allow-multiple-selections):
419 * calc/calc.el (calc-highlight-selections-with-faces)
420 (calc-lu-field-reference, calc-lu-power-reference)
421 (calc-note-threshold):
422 * battery.el (battery-mode-line-limit):
423 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
424 (archive-7z-update):
425 * allout.el (allout-prefixed-keybindings)
426 (allout-unprefixed-keybindings)
427 (allout-inhibit-auto-fill-on-headline)
428 (allout-flattened-numbering-abbreviation):
429 * allout-widgets.el (allout-widgets-auto-activation)
430 (allout-widgets-icons-dark-subdir)
431 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
432 (allout-widgets-theme-dark-background)
433 (allout-widgets-theme-light-background)
434 (allout-widgets-item-image-properties-emacs)
435 (allout-widgets-item-image-properties-xemacs)
436 (allout-widgets-run-unit-tests-on-load)
437 (allout-widgets-time-decoration-activity)
438 (allout-widgets-hook-error-post-time)
439 (allout-widgets-track-decoration):
440 Add missing :version tags to new defcustoms and defgroups.
441
5fec1b8e
GM
442 * progmodes/sql.el (sql-ansi-statement-starters)
443 (sql-oracle-statement-starters): Add custom type.
444
3e0d2fa7
GM
445 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
446 (prolog-system-version): Give it a type.
447
90b671e2
EZ
4482012-02-11 Eli Zaretskii <eliz@gnu.org>
449
450 * term/pc-win.el (x-select-text, x-selection-owner-p)
451 (x-own-selection-internal, x-disown-selection-internal)
452 (x-get-selection-internal): Sync doc strings and argument lists
453 with xselect.c, common-win.el and x-win.el. (Bug#10783)
454
5eac0c02
LL
4552012-02-11 Leo Liu <sdl.web@gmail.com>
456
457 * progmodes/python.el (python-end-of-statement): Fix infinite
458 loop. (Bug#10788)
459
f82cb659
GM
4602012-02-10 Glenn Morris <rgm@gnu.org>
461
462 * international/mule-cmds.el (unify-8859-on-encoding-mode)
463 (unify-8859-on-decoding-mode): Properly mark as obsolete.
464
cc26d239
LI
4652012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
466
467 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
468 about SMTP before checking the From header.
469
91027d08 470 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
471 into own function for reuse by emacsbug.el.
472
1be3ca5a
LL
4732012-02-10 Leo Liu <sdl.web@gmail.com>
474
475 * subr.el (condition-case-unless-debug): Rename from
476 condition-case-no-debug. All callers changed.
477 (with-demoted-errors): Fix caller.
478
479 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
480 * nxml/rng-valid.el (rng-do-some-validation):
481 * emacs-lisp/package.el (package-refresh-contents)
482 (package-menu-execute):
483 * desktop.el (desktop-create-buffer):
91027d08 484 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 485
b011fbfe
GM
4862012-02-10 Glenn Morris <rgm@gnu.org>
487
b2096d72
GM
488 * textmodes/bibtex.el:
489 Add missing :version tags for new/changed defcustoms.
490
b011fbfe
GM
491 * files.el (remote-file-name-inhibit-cache): Doc fixes.
492
4c7e65bf
LI
4932012-02-09 Lars Ingebrigtsen <larsi@rusty>
494
495 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
496 (smtpmail-via-smtp): Use it, or fall back on the From address.
497 (smtpmail-send-it): Ditto.
498
f3934f6f
SM
4992012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
502 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
503 (byte-compile-tmp-var): New const.
504 (byte-compile-defvar): Use it to minimize .elc size.
505 Just use `defvar' rather than simulate it (bug#10761).
506
a075a2c5
GM
5072012-02-09 Glenn Morris <rgm@gnu.org>
508
cf3aa21b
GM
509 * files.el (rename-uniquely): Doc fix. (Bug#3806)
510
354998cd
GM
511 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
512 Add :version tags.
513
83274125 514 * progmodes/compile.el (compilation-first-column)
34c071c6 515 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 516
dab3703d
GM
517 * vc/log-view.el (log-view-toggle-entry-display):
518 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
519
3f88cd72
GM
520 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
521 (report-emacs-bug-can-use-xdg-email):
522 (report-emacs-bug-insert-to-mailer): Doc fixes.
523 (report-emacs-bug): Message fix.
524
d95b247d
GM
525 * net/browse-url.el (browse-url-can-use-xdg-open)
526 (browse-url-xdg-open): Doc fixes.
527
a075a2c5
GM
528 * electric.el (electric-indent-mode, electric-pair-mode)
529 (electric-layout-rules, electric-layout-mode): Doc fixes.
530 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
531
ffb6157e
MR
5322012-02-08 Martin Rudalics <rudalics@gmx.at>
533
534 * server.el (server-unselect-display): Don't inadvertently kill
535 the current buffer. (Bug#10729)
536
e1ac4066
GM
5372012-02-08 Glenn Morris <rgm@gnu.org>
538
34e8a2da
GM
539 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
540 (sql-list-table): Doc fixes.
541
b4ac6e8c
GM
542 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
543 Comment out (does nothing).
544
e1ac4066
GM
545 * completion.el (dynamic-completion-mode):
546 * dirtrack.el (dirtrack-debug-mode):
547 * electric.el (electric-layout-mode):
548 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
549 * face-remap.el (text-scale-mode, buffer-face-mode):
550 * iimage.el (iimage-mode):
551 * image-mode.el (image-transform-mode):
552 * minibuffer.el (completion-in-region-mode):
553 * scroll-lock.el (scroll-lock-mode):
554 * simple.el (next-error-follow-minor-mode):
555 * tar-mode.el (tar-subfile-mode):
556 * tooltip.el (tooltip-mode):
557 * vcursor.el (vcursor-use-vcursor-map):
558 * wid-browse.el (widget-minor-mode):
559 * emulation/tpu-edt.el (tpu-edt-mode):
560 * emulation/tpu-extras.el (tpu-cursor-free-mode):
561 * international/iso-ascii.el (iso-ascii-mode):
562 * language/thai-util.el (thai-word-mode):
563 * mail/supercite.el (sc-minor-mode):
564 * net/goto-addr.el (goto-address-mode):
565 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
566 * progmodes/cwarn.el (cwarn-mode):
567 * progmodes/flymake.el (flymake-mode):
568 * progmodes/glasses.el (glasses-mode):
569 * progmodes/hideshow.el (hs-minor-mode):
570 * progmodes/pascal.el (pascal-outline-mode):
571 * textmodes/enriched.el (enriched-mode):
572 * vc/smerge-mode.el (smerge-mode):
573 Doc fixes (minor mode argument).
574
5e0d957f
EZ
5752012-02-07 Eli Zaretskii <eliz@gnu.org>
576
577 * ls-lisp.el (ls-lisp-sanitize): New function.
578 (ls-lisp-insert-directory): Use it to fix or remove any elements
579 in file-alist with missing attributes. (Bug#4673)
580
98d7371e
AM
5812012-02-07 Alan Mackenzie <acm@muc.de>
582
583 Fix spurious recognition of c-in-knr-argdecl.
584
585 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
586 putative K&R region.
587
667ced3a
AM
5882012-02-07 Alan Mackenzie <acm@muc.de>
589
eb864a71
LM
590 * progmodes/cc-engine.el (c-forward-objc-directive):
591 Prevent looping in "#pragma mark @implementation".
667ced3a 592
5b77774d
MA
5932012-02-07 Michael Albinus <michael.albinus@gmx.de>
594
595 * notifications.el (notifications-on-closed-signal): Make `reason'
596 optional. (Bug#10744)
597
af008560
GM
5982012-02-07 Glenn Morris <rgm@gnu.org>
599
60d47423
GM
600 * emacs-lisp/easy-mmode.el (define-minor-mode):
601 Doc fixes for the macro and the mode it defines.
602
dd605cc4
GM
603 * image.el (imagemagick-types-inhibit): Doc fix.
604
af008560
GM
605 * cus-start.el (imagemagick-render-type): Add it.
606
5cc59a37
LI
6072012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
608
609 * progmodes/cc-mode.el
610 (c-standard-font-lock-fontify-region-function): Set the default at
611 load time, too, so that `font-lock-fontify-buffer' can be called
612 without setting up the entire mode first. This fixes a bug in
613 `mm-inline-text' with C MIME parts.
614
9a6dd747
CY
6152012-02-06 Chong Yidong <cyd@gnu.org>
616
2d16b285
CY
617 * simple.el (list-processes--refresh): Delete exited processes
618 (Bug#8094).
619
171e9b6e
CY
620 * comint.el (comint-next-prompt): next-single-char-property-change
621 and prev-single-char-property-change never return nil (Bug#8657).
622
9a6dd747
CY
623 * custom.el (defcustom): Doc fix (Bug#9711).
624
aa4589a7
CY
6252012-02-05 Chong Yidong <cyd@gnu.org>
626
5c2a252f
CY
627 * cus-edit.el (custom-variable-reset-backup): Quote the value
628 before storing it in the customized-value property (Bug#6712).
4aab9006 629 (custom-display): Add a customization type tag.
983b9602 630 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 631
aa4589a7
CY
632 * wid-edit.el (widget-field-value-get): New optional arg to
633 suppress trailing whitespace truncation.
634 (character): Use it (Bug#2689).
635
1ff980ae
AS
6362012-02-05 Andreas Schwab <schwab@linux-m68k.org>
637
638 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
639 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
640
03988c98
CY
6412012-02-05 Chong Yidong <cyd@gnu.org>
642
eeb6cc88
CY
643 * cus-edit.el (custom-variable-value-create): For mismatched
644 types, show the current value (Bug#7600).
645
03988c98
CY
646 * custom.el (defcustom): Doc fix.
647
f8cdeef0
GM
6482012-02-05 Glenn Morris <rgm@gnu.org>
649
650 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
651
0696d255
JB
6522012-02-05 Juanma Barranquero <lekktu@gmail.com>
653
654 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
655 (pp-buffer): Use `ignore-errors', `looking-at-p'.
656 (pp-last-sexp): Use `looking-at-p'.
657
34c99998
GM
6582012-02-04 Glenn Morris <rgm@gnu.org>
659
8f05da42
GM
660 * files.el (revert-buffer):
661 Doc fix (mention revert-buffer-in-progress-p).
662
f160676e
GM
663 * emacs-lisp/ert-x.el (ert-simulate-command):
664 Check deferred-action-list (which is obsolete) is bound.
665
c7291ad9
GM
666 * subr.el (with-wrapper-hook): Doc fixes.
667
34c99998
GM
668 * simple.el (filter-buffer-substring-functions)
669 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
670
6283a7d3
LL
6712012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
672
673 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
674 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
675
e96e3013
LL
6762012-02-04 Leo Liu <sdl.web@gmail.com>
677
678 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
679
8ded50f2
GM
6802012-02-04 Glenn Morris <rgm@gnu.org>
681
82ff1d13
GM
682 * image.el (image-extension-data): Add obsolete alias.
683
987a0a16
GM
684 * isearch.el (isearch-update): Doc fix.
685
ea32ef46
GM
686 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
687
8ded50f2
GM
688 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
689
eea14f31
GM
6902012-02-03 Glenn Morris <rgm@gnu.org>
691
692 * image.el (image-animated-p): Doc fix. Use image-animated-types.
693 (image-animate-timeout): Doc fix.
694
695 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
696
12f381b7
GM
6972012-02-02 Glenn Morris <rgm@gnu.org>
698
953cebf5
GM
699 * server.el (server-auth-dir): Doc fix.
700 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
701
12f381b7
GM
702 * subr.el (run-mode-hooks): Doc fix.
703
953a8c3b
JL
7042012-02-02 Juri Linkov <juri@jurta.org>
705
706 * image-mode.el (image-toggle-display-image): Remove tautological
707 `major-mode' from the `derived-mode-p' test.
708
c5d3843c
KH
7092012-02-02 Kenichi Handa <handa@m17n.org>
710
9f6e692e 711 * composite.el (compose-region): Cancel previous change.
c5d3843c 712
159462d4 7132012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
714
715 * composite.el (compose-region, compose-string): Signal error for
716 a null string component (Bug#6988).
717
9f562668
CY
7182012-02-01 Chong Yidong <cyd@gnu.org>
719
e2cef717
CY
720 * view.el (view-buffer-other-window, view-buffer-other-frame):
721 Handle special modes like view-buffer (Bug#10650).
722 (view-buffer): Simplify.
723
9f562668
CY
724 * frame.el (set-frame-font): Tweak meaning of third argument.
725
9f6e692e
JB
726 * dynamic-setting.el (font-setting-change-default-font):
727 Use set-frame-font (Bug#9982).
9f562668 728
781acb9f
GM
7292012-02-01 Glenn Morris <rgm@gnu.org>
730
6035be52
GM
731 * progmodes/compile.el (compilation-internal-error-properties):
732 Respect compilation-first-column in the "*compilation*" buffer.
733
781acb9f
GM
734 * emacs-lisp/easy-mmode.el (define-minor-mode):
735 Relax :variable's test for a named function.
736
abbceb00
AM
7372012-01-31 Alan Mackenzie <acm@muc.de>
738
739 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
740 off by one error.
741
fce3fdeb
CY
7422012-01-31 Chong Yidong <cyd@gnu.org>
743
744 * frame.el (set-frame-font): New arg ALL-FRAMES.
745
746 * menu-bar.el (menu-set-font): Use set-frame-font.
747
748 * faces.el (face-spec-reset-face): Don't apply unspecified
749 attribute values to the default face.
750
47893581
JB
7512012-01-31 Juanma Barranquero <lekktu@gmail.com>
752
753 * progmodes/cwarn.el (cwarn): Remove dead link.
754 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
755 Remove * from defcustom docstrings.
756 (turn-on-cwarn-mode): Make obsolete.
757 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
758 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
759
e58e988a
GM
7602012-01-31 Glenn Morris <rgm@gnu.org>
761
60dc2671 762 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 763 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 764 Allow named functions to be used as the cdr of :variable.
e58e988a 765
7a3f511d
GM
7662012-01-30 Glenn Morris <rgm@gnu.org>
767
768 * emacs-lisp/authors.el (authors-fixed-entries):
769 Remove reference to deleted file rnewspost.el.
770
cb882333
JB
7712012-01-29 Juanma Barranquero <lekktu@gmail.com>
772
773 * window.el (window-with-parameter): Remove unused variable `windows'.
774 (window--side-check): Remove unused variable `code'.
775 (window--resize-siblings): Remove unused variable `first'.
776 (adjust-window-trailing-edge): Remove unused variable `failed'.
777 (window-deletable-p, window--delete): Remove unused variable `buffer'.
778 Use `let', not `let*'.
779 (balance-windows-2): Remove unused variable `found'.
780 (window--state-put-2): Remove unused variable `splits'.
781 (window-state-put): Remove unused variable `selected'.
782 (same-window-p): Use `string-match-p'.
783 (display-buffer-assq-regexp): Remove unused variable `value'.
784 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
785 Mark argument ALIST as ignored.
786 (pop-to-buffer): Remove unused variable `old-window'.
787
907201af
EZ
7882012-01-29 Eli Zaretskii <eliz@gnu.org>
789
790 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
791 and .lzma compressed files.
792
ea162670
CY
7932012-01-29 Chong Yidong <cyd@gnu.org>
794
5b95ee8a
CY
795 * frame.el (window-system-default-frame-alist): Doc fix.
796
ea162670
CY
797 * dynamic-setting.el (font-setting-change-default-font): Don't
798 change the default face if SET-FONT argument is non-nil (Bug#9982).
799
d6e6f4b1
SB
8002012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
801
802 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
803
0f29fa41 8042012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
805
806 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
807 breakpoints in files outside current directory (Bug#6098).
808
db174434
CY
8092012-01-29 Chong Yidong <cyd@gnu.org>
810
6b25e4e2
SE
811 * progmodes/python.el: Require ansi-color at top-level.
812
6df6ae42
JB
813 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
814 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
815 (lisp-mode-abbrev-table): Add doc.
816 (lisp-mode-variables): Don't set local-abbrev-table.
817 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
818
e70ee681
RW
8192012-01-28 Roland Winkler <winkler@gnu.org>
820
821 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
822
ace88aa2
RW
8232012-01-28 Roland Winkler <winkler@gnu.org>
824
825 * textmodes/bibtex.el (bibtex-entry-alist): New function.
826 (bibtex-set-dialect): Use it. Either set global values of
827 dialect-dependent variables or bind these variables buffer-locally
828 (Bug#10254).
829 (bibtex-mode): Call bibtex-set-dialect via
830 hack-local-variables-hook.
eb864a71
LM
831 (bibtex-dialect): Update docstring.
832 Add safe-local-variable predicate.
ace88aa2
RW
833 (bibtex-entry-alist, bibtex-field-alist): Initialize via
834 bibtex-set-dialect.
835 (bibtex-mode-map): Define menu for each dialect.
836 (bibtex-entry): Fix docstring.
837
93376c5b
CY
8382012-01-28 Chong Yidong <cyd@gnu.org>
839
840 * eshell/esh-arg.el (eshell-quote-argument): New function.
841
842 * eshell/esh-ext.el (eshell-invoke-batch-file):
843 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
844 first arg to eshell-parse-command (Bug#10523).
845
4372494f
DA
8462012-01-28 Drew Adams <drew.adams@oracle.com>
847
848 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
849 `default-directory' is non-nil.
850
4d4ec1f8
EZ
8512012-01-28 Eli Zaretskii <eliz@gnu.org>
852
853 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
854 line that displays system-configuration-options. (Bug#9924)
855
7c188927
DA
8562012-01-28 Drew Adams <drew.adams@oracle.com>
857
858 * descr-text.el (describe-char): Show information about POS, in
859 addition to information about the character at POS. Improve and
860 update the doc string. Change "code point" to "code point in
861 charset", to avoid confusion with the character's Unicode code
862 point shown above that. (Bug#10129)
863
e0da685a
EZ
8642012-01-28 Eli Zaretskii <eliz@gnu.org>
865
866 * descr-text.el (describe-char): Show the raw character, not only
867 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
868 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
869 for the reasons.
870
70550acf
PH
8712012-01-28 Phil Hagelberg <phil@hagelb.org>
872
eb864a71
LM
873 * emacs-lisp/package.el (package-install):
874 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 875
0ce8e868
CY
8762012-01-28 Chong Yidong <cyd@gnu.org>
877
cb882333
JB
878 * emacs-lisp/package.el (package-maybe-load-descriptor):
879 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
880 (package-maybe-load-descriptor): Use it.
881 (package-download-transaction): Fully load required packages
882 inside the loop, so that `require' calls work (Bug#10593).
883 (package-install): No need to call package-initialize now.
884
2e7f3bea
CY
8852012-01-28 Chong Yidong <cyd@gnu.org>
886
6e9bad14
CY
887 * simple.el (deactivate-mark): Doc fix (Bug#8614).
888
f823b8ca
CY
889 * tooltip.el (tooltip-mode): Doc fix.
890 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
891
2680c309
CY
892 * frame.el (set-cursor-color): Doc fix (Bug#352).
893
d7a9e63b
CY
894 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
895 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
896
2e7f3bea
CY
897 * cus-edit.el (custom-buffer-create-internal): Fix search button
898 action (Bug#10542).
2ae01800 899 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 900
fc4f7a23
EW
9012012-01-27 Eduard Wiebe <usenet@pusto.de>
902
903 * dired.el (dired-mark-files-regexp):
904 Include any subdirectory components. (Bug#10445)
905
7dd37071
ML
9062012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
907
908 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
909 Handle [host]:port syntax. (Bug#10533)
910
a268160b
AH
9112012-01-27 Alex Harsanyi <harsanyi@mac.com>
912
913 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
914
e43273ef
GM
9152012-01-26 Glenn Morris <rgm@gnu.org>
916
917 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
918 * term.el (term-raw-escape-map): Use Control-X-prefix.
919 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
920
1edf595d
MR
9212012-01-25 Martin Rudalics <rudalics@gmx.at>
922
923 * window.el (window-state-get, window--state-get-1): Don't deal
924 with fixed-sizeness of windows. Simplify code.
925
fa8eafef
JC
9262012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
927
6df6ae42
JB
928 * window.el (window--state-get-1, window--state-put-2):
929 Don't save and restore the mark.
fa8eafef 930
0b21c100
CY
9312012-01-25 Chong Yidong <cyd@gnu.org>
932
933 * custom.el (custom-variable-p): Doc fix.
934
5ae1a6c8
GM
9352012-01-25 Glenn Morris <rgm@gnu.org>
936
40047858
GM
937 * dired.el (dired-goto-file): Handle some of the more common
938 characters that `ls -b' escapes. (Bug#10596)
939
5ddce96c
GM
940 * progmodes/compile.el (compilation-next-error-function):
941 Respect compilation-first-column in the "*compilation*" buffer.
942 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
943
5ae1a6c8
GM
944 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
945
b559f1a9
GM
9462012-01-24 Glenn Morris <rgm@gnu.org>
947
948 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
949
6725d21a
JD
9502012-01-24 Julien Danjou <julien@danjou.info>
951
952 * color.el (color-rgb-to-hsl): Fix value computing.
953 (color-hue-to-rgb): New function.
954 (color-hsl-to-rgb): New function.
955 (color-clamp, color-saturate-hsl, color-saturate-name)
956 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
957 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
958
70df4bbe
GM
9592012-01-24 Glenn Morris <rgm@gnu.org>
960
961 * vc/vc-rcs.el (vc-rcs-create-tag):
962 * vc/vc-sccs.el (vc-sccs-create-tag):
963 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
964
802a2ae2
ML
9652012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
966
967 * eshell/esh-util.el (eshell-read-hosts-file):
968 Skip comment lines. (Bug#10549)
969
d7128bb1
ML
970 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
971
d1a5c3b4
JB
9722012-01-23 Juanma Barranquero <lekktu@gmail.com>
973
2724d9c7
JB
974 * subr.el (display-delayed-warnings): Doc fix.
975 (collapse-delayed-warnings): New function to collapse identical
976 adjacent warnings.
977 (delayed-warnings-hook): Add it.
d1a5c3b4 978
a5509865
MA
9792012-01-22 Michael Albinus <michael.albinus@gmx.de>
980
981 * net/tramp.el (tramp-action-login): Set connection property "login-as".
982
983 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
984 properties, when "login-as" is set.
985
986 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
987 (tramp-default-user-alist): Don't add "pscp".
988 (tramp-do-copy-or-rename-file-out-of-band): Use connection
989 property "login-as", if set. (Bug#10530)
990
cc6d5805
MA
9912012-01-21 Michael Albinus <michael.albinus@gmx.de>
992
993 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
994 "plink1" and "psftp". (Bug#10530)
995
9962012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
997
998 * international/mule-cmds.el (prefer-coding-system): Show a
999 warning message if the default value of file-name-coding-system
1000 was not changed.
1001
f0960428
JC
10022012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1003
cb882333
JB
1004 * windmove.el (windmove-reference-loc):
1005 Fix windmove-reference-loc miscalculation.
f0960428 1006
dd6f2a63
JB
10072012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1008
1009 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1010 default unit.
1011
7b447e9b
GM
10122012-01-21 Glenn Morris <rgm@gnu.org>
1013
117a9ea1
GM
1014 * international/mule.el (auto-coding-alist): Add .tbz.
1015
7b447e9b
GM
1016 * files.el (local-enable-local-variables): Doc fix.
1017 (inhibit-local-variables-regexps): Rename from
1018 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1019 Doc fix. Add some extensions from auto-coding-alist.
1020 (inhibit-local-variables-suffixes):
1021 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1022 (inhibit-local-variables-p):
1023 New function, extracted from set-auto-mode-1.
1024 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1025 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1026 (hack-local-variables): Doc fix. Make the mode-only case
1027 respect enable-local-variables and friends.
1028 Respect inhibit-local-variables-regexps for file-locals, but
1029 not for directory-locals.
1030 (set-visited-file-name):
1031 Take account of inhibit-local-variables-regexps.
1032 Whether it applies may change as the file name is changed.
1033 * jka-cmpr-hook.el (jka-compr-install):
1034 * jka-compr.el (jka-compr-uninstall):
1035 Update for inhibit-first-line-modes-suffixes name change.
1036
dd6e3cdd
MR
10372012-01-20 Martin Rudalics <rudalics@gmx.at>
1038
1039 * help-macro.el (make-help-screen): Temporarily restore original
1040 binding for minor-mode-map-alist (Bug#10454).
1041
0d0deb38
JD
10422012-01-19 Julien Danjou <julien@danjou.info>
1043
1044 * color.el (color-name-to-rgb): Use the white color to find the max
1045 color component value and return correctly computed values.
1046 (color-name-to-rgb): Add missing float conversion for max value.
1047
34a02f46
MR
10482012-01-19 Martin Rudalics <rudalics@gmx.at>
1049
1050 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1051 special state value for window-persistent-parameters.
1052 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1053 (window--state-put-2): Reset all window parameters to nil before
1054 assigning values of persistent parameters.
1055
606c44c4
AM
10562012-01-18 Alan Mackenzie <acm@muc.de>
1057
1058 Eliminate sluggishness and hangs in fontification of "semicolon
1059 deserts".
1060
cb882333
JB
1061 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1062 Change value 10000 -> 3000.
606c44c4
AM
1063 (c-state-safe-place): Reformulate so it doesn't stack up an
1064 infinite number of wrong entries in c-state-nonlit-pos-cache.
1065 (c-determine-limit-get-base, c-determine-limit): New functions to
1066 determine backward search limits disregarding literals.
1067 (c-find-decl-spots): Amend commenting.
1068 (c-cheap-inside-bracelist-p): New function which detects "={".
1069
1070 * progmodes/cc-fonts.el
1071 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1072 backward search.
1073 (c-font-lock-declarations): Fix an occurrence of point being
1074 undefined. Check additionally for point being in a bracelist or
1075 near a macro invocation without a semicolon so as to avoid a
1076 fruitless time consuming search for a declarator. Give a more
1077 precise search limit for declarators using the new
1078 c-determine-limit.
1079
f3860cea
GM
10802012-01-18 Glenn Morris <rgm@gnu.org>
1081
1082 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1083 (set-auto-mode): Doc fixes.
1084
1db03b16
GM
10852012-01-17 Glenn Morris <rgm@gnu.org>
1086
0e6038be
GM
1087 * isearch.el (search-nonincremental-instead): Fix doc typo.
1088
1db03b16
GM
1089 * dired.el (dired-insert-directory): Handle newlines in directory name.
1090 (dired-build-subdir-alist): Unescape newlines in directory name.
1091
4cb0aa75
MA
10922012-01-17 Michael Albinus <michael.albinus@gmx.de>
1093
1094 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1095 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1096 (tramp-action-terminal): Use it. (Bug#10530)
1097
1d00653d
SM
10982012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1101
6a6ee00d
MR
11022012-01-16 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (window-state-ignored-parameters): Remove variable.
1105 (window--state-get-1): Rename argument MARKERS to IGNORE.
1106 Handle persistent window parameters. Make copy of clone-of
1107 parameter only if requested. (Bug#10348)
1108 (window--state-put-2): Install a window parameter only if it has
1109 a non-nil value or an existing parameter shall be overwritten.
1110
97912def
MA
11112012-01-15 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1114
688070a5
EZ
11152012-01-14 Eli Zaretskii <eliz@gnu.org>
1116
1117 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1118 don't pass the (nil) value of `upnode' to string-match.
1119
301afadc
CY
11202012-01-14 Chong Yidong <cyd@gnu.org>
1121
1122 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1123 Fix values recognized by the cursorBlink resource.
301afadc 1124
9e5788aa
PE
11252012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1126
1127 * epg.el (epg--make-temp-file): Avoid permission race condition
1128 when running on old Emacs versions (bug#10403).
1129
3cdb7f5a
GM
11302012-01-14 Glenn Morris <rgm@gnu.org>
1131
1132 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1133
8c82b1b4
AM
11342012-01-13 Alan Mackenzie <acm@muc.de>
1135
1136 Fix filling for when filladapt mode is enabled.
1137
1138 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1139 c-mask-paragraph, pass in `fill-paragraph' rather than
1140 `fill-region-as-paragraph'. (This is a reversion of a previous
1141 change.)
eb864a71
LM
1142 * progmodes/cc-mode.el (c-basic-common-init):
1143 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1144
e517eda4
GM
11452012-01-13 Glenn Morris <rgm@gnu.org>
1146
1498536e
GM
1147 * dired.el (dired-switches-escape-p): New function.
1148 (dired-insert-directory): Use dired-switches-escape-p.
1149 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1150
e517eda4
GM
1151 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1152
328f984d
GM
11532012-01-12 Glenn Morris <rgm@gnu.org>
1154
1155 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1156 changes in adaptive-fill-regexp. (Bug#10276)
1157
2cc769a8
AM
11582012-01-11 Alan Mackenzie <acm@muc.de>
1159
1160 Fix Emacs bug #10463 - put `widen's around the critical spots.
1161
1d00653d 1162 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1163 widen around each invocation of c-state-pp-to-literal. Remove an
1164 unused let variable.
1165
e52c37fa
GM
11662012-01-11 Glenn Morris <rgm@gnu.org>
1167
1168 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1169 Doc fix.
e52c37fa 1170
96f8741e
CY
11712012-01-10 Chong Yidong <cyd@gnu.org>
1172
1d00653d
SM
1173 * net/network-stream.el (network-stream-open-starttls):
1174 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1175 response to the capability command.
1176
b09a806e
GM
11772012-01-10 Glenn Morris <rgm@gnu.org>
1178
1179 * mail/unrmail.el (unrmail): Tweak previous change.
1180
7655cb66
CY
11812012-01-09 Chong Yidong <cyd@gnu.org>
1182
1183 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1184
9d5a8f0b
AM
11852012-01-08 Alan Mackenzie <acm@muc.de>
1186
1187 Optimise font locking in long enum definitions.
1188
1189 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1190 arm to a cond form to handle enums.
1191 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1192 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1193
9a0115ab 11942012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1195
1196 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1197 (Bug#10401)
6bb72cbd 1198
f186bb95
LMI
11992012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1200
29232a68
LMI
1201 * faces.el (set-face-attribute): Clarify the meaning of the nil
1202 frame (bug#10294).
1203
4e5d086d
LMI
1204 * subr.el (with-selected-frame): Mention that the selected frame
1205 is restored (bug#9980).
1206
8e66aebe
LMI
1207 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1208 (bug#9759).
1209
cd394be1 1210 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1211 (password-read): Don't autoload unused function.
1212
adf4e762
JB
12132012-01-07 Juanma Barranquero <lekktu@gmail.com>
1214
1215 * progmodes/which-func.el (which-func-mode): Turn into a
1216 non-interactive function and mark as obsolete (bug#10428).
1217
89bd9ccd
CY
12182012-01-06 Chong Yidong <cyd@gnu.org>
1219
1220 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1221 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1222 functions, along with 1 and -1.
1223
4afee9d5
EZ
12242012-01-06 Eli Zaretskii <eliz@gnu.org>
1225
1226 * time.el (display-time-load-average)
1227 (display-time-default-load-average): Doc fixes. See the thread
1228 starting at
1229 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1230 for the details.
1231
536aea70
GM
12322012-01-06 Glenn Morris <rgm@gnu.org>
1233
665ae865
GM
1234 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1235 has no messages. (Bug#10377)
1236
c869783d
GM
1237 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1238 than Info-edit. (Bug#10385)
1239
2bb4227e
GM
1240 * time.el (display-time-load-average, display-time-next-load-average):
1241 Doc fixes.
1242
7d5944b9
GM
1243 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1244 local setting of buffer-read-only to the input buffer. (Bug#10419)
1245
536aea70
GM
1246 * calendar/calendar.el (calendar-mode):
1247 Locally set scroll-margin to 0. (Bug#10379)
1248
7dccca16
UM
12492012-01-06 Ulrich Mueller <ulm@gentoo.org>
1250
1251 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1252
afbb7930
GM
12532012-01-05 Glenn Morris <rgm@gnu.org>
1254
1255 * eshell/em-unix.el (diff-no-select): Autoload it.
1256 (eshell/diff): Use diff-no-select. (Bug#10420)
1257
04482335
CY
12582012-01-05 Chong Yidong <cyd@gnu.org>
1259
7baca3bc
CY
1260 * shell.el (shell-dynamic-complete-functions): Revert last change.
1261 (shell-command-completion-function): New function.
1262 (shell-completion-vars): Use it to implement
1263 shell-completion-execonly (Bug#10417).
1264
04482335
CY
1265 * custom.el (enable-theme): Don't set custom-safe-themes.
1266
1d00653d
SM
1267 * cus-theme.el (custom-theme-merge-theme):
1268 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1269
bb5aa5d6
MM
12702012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1271
1272 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1273 first prompt in `sql-interacive-mode'.
1274 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1275 keywords.
6df6ae42 1276 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1277 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1278 context of original buffer. Invoke `sql-login-hook'.
1279
a7183d7c
EZ
12802012-01-04 Eli Zaretskii <eliz@gnu.org>
1281
1282 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1283 letters in cite-prefix.
1284
a1eacd1e
LMI
12852012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1286
1287 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1288
787cdb34
CY
12892012-01-03 Chong Yidong <cyd@gnu.org>
1290
1d00653d
SM
1291 * shell.el (shell-dynamic-complete-functions):
1292 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1293 comint-filename-completion first (Bug#10417).
1294
30710442
RS
12952012-01-02 Richard Stallman <rms@gnu.org>
1296
1297 * battery.el (battery-status-function):
1298 Detect when to use battery-yeeloong-sysfs.
1299 (battery-echo-area-format): Add string for Yeeloong.
1300 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1301 (battery-yeeloong-sysfs): New function.
1302
f75bfc33
CY
13032012-01-02 Chong Yidong <cyd@gnu.org>
1304
1305 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1306 (dirtrack): Merge code for handling relative filenames in prompt
1307 from shell-dir-cookie-watcher.
1308 (dirtrack-debug-message): New arg to avoid excess format calls.
1309
1310 * shell.el (shell-dir-cookie-re): Variable deleted.
1311 (shell-dir-cookie-watcher): Function deleted.
1312 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1313 with dirtrack-mode.
1314
651e947e
EZ
13152012-01-01 Eli Zaretskii <eliz@gnu.org>
1316
1d00653d
SM
1317 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1318 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1319 libgnutls-26.dll.
1320
94d4c7dc
AS
13212011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1322
1323 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1324
8d43f3cd
EZ
13252011-12-31 Eli Zaretskii <eliz@gnu.org>
1326
1327 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1328 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1329
98c8795a
MA
13302011-12-29 Michael Albinus <michael.albinus@gmx.de>
1331
1332 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1333 also for alternative shells.
1334 (tramp-open-connection-setup-interactive-shell): Check, whether
1335 the shell is a busybox.
1336 (tramp-send-command): Don't suppress multiple prompts for
1337 busyboxes, it hurts.
1338
51281b32
CY
13392011-12-28 Chong Yidong <cyd@gnu.org>
1340
1341 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1342 (gdb-get-source-file): Move mode line update to
1343 gdb-get-source-file (Bug#10087).
1344
2170cb53
CY
13452011-12-25 Chong Yidong <cyd@gnu.org>
1346
1347 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1348 gud-gdb-marker-filter without taking it as an argument.
1349 (gud-gdb-run-command-fetch-lines): Caller changed.
1350 (gud-gdb-completion-function): New variable.
1351 (gud-gdb-completion-at-point): Use it.
1352 (gud-gdb-completions-1): Split from gud-gdb-completions.
1353
1354 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1355 function as separate arguments.
1356 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1357 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1358 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1359 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1360 (gdb-stopped, def-gdb-auto-update-trigger)
1361 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1362 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1363 Callers changed.
2170cb53
CY
1364 (gud-gdbmi-completions): New function.
1365 (gdb): Use it for generating the completion table.
1366
be8b11bb
AM
13672011-12-24 Alan Mackenzie <acm@muc.de>
1368
1369 Introduce a mechanism to widen the region used in context font
1d00653d 1370 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1371
1d00653d
SM
1372 * progmodes/cc-langs.el (c-before-font-lock-functions):
1373 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1374 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1375 functions to be run just before context (etc.) font locking.
1376
1377 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1378 New, functionality extracted from
be8b11bb 1379 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1380 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1381 (c-after-change): Set c-in-after-change-fontification.
1382 (c-set-fl-decl-start): Rejig its interface, so it can be called
1383 from both after-change and context fontifying.
b81d40f0
JB
1384 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1385 New functions.
1386 (c-standard-font-lock-fontify-region-function): New variable.
1387 (c-font-lock-fontify-region): New function.
be8b11bb 1388
341cf6ac
JL
13892011-12-24 Juri Linkov <juri@jurta.org>
1390
1391 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1392 (Bug#10348)
1393
bffcee0a
MA
13942011-12-23 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1397 existence of source file. (Bug#10325)
1398
cb5e207c
AM
13992011-12-23 Alan Mackenzie <acm@muc.de>
1400
1401 Fix unstable fontification inside templates.
1402
b81d40f0
JB
1403 * progmodes/cc-langs.el (c-before-font-lock-functions):
1404 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1405 additionally has c-set-fl-decl-start. The other languages (apart
1406 from AWK) have that as a single entry.
1407
b81d40f0
JB
1408 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1409 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1410 c-set-fl-decl-start.
1411
b81d40f0
JB
1412 * progmodes/cc-mode.el (c-common-init, c-after-change):
1413 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1414 (c-set-fl-decl-start): New function, extracted from
1415 c-font-lock-enclosing-decls and enhanced.
1416
60ff536c
JB
14172011-12-23 Juanma Barranquero <lekktu@gmail.com>
1418
1419 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1420
1c4757d6
JL
14212011-12-22 Juri Linkov <juri@jurta.org>
1422
1423 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1424
d031f2c7
CY
14252011-12-22 Chong Yidong <cyd@gnu.org>
1426
1427 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1428
bace743a
DA
14292011-12-21 Drew Adams <drew.adams@oracle.com>
1430
1431 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1432
728a1f2b
JC
14332011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1434
1435 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1436
0d373f73
TZ
14372011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1438
fec0aaa4
TZ
1439 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1440 highlighting and support. Fix up comments for capitalization.
1441 (cfengine-mode-debug): New var.
1442 (cfengine3-mode): Change the modeline indicator to "CFE3".
1443 (cfengine3-font-lock-keywords): Improve defun highlighting.
1444 (cfengine2-actions): Rename from `cfengine-actions'.
1445 (cfengine2-font-lock-keywords): Rename from
1446 `cfengine-font-lock-keywords'.
1447 (cfengine2-imenu-expression): Rename from
1448 `cfengine-imenu-expression'.
1449 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1450 (cfengine2-beginning-of-defun): Rename from
1451 `cfengine-beginning-of-defun'.
1452 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1453 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1454 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1455 modeline indicator to "CFE2".
1456 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1457 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1458
bc86f573
CY
14592011-12-21 Chong Yidong <cyd@gnu.org>
1460
1461 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1462 filename argument.
1463
d45ba96b
MR
14642011-12-20 Martin Rudalics <rudalics@gmx.at>
1465
1466 * window.el (window-normalize-buffer-to-display): Remove.
1467 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1468
a6198c90
CY
14692011-12-19 Chong Yidong <cyd@gnu.org>
1470
1471 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1472 Don't signal an error in a predicate function; return non-nil.
1473 (vc-dir-mark-file): Move the error here.
1474 (vc-dir-mark-unmark): If acting on the region, keep going if one
1475 of the entries cannot be marked/unmarked.
1476 (vc-dir-mark-all-files): If current entry is a directory, mark
1477 only child files, as documented.
1478
34c5fb55
VB
14792011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1480
1481 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1482 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1483 addition.
1484
c803b2b7
JD
14852011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1486
1487 * term/ns-win.el (ns-get-selection-internal)
1488 (ns-store-selection-internal): Declare.
1154d12e
JB
1489 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1490 Declare as obsolete.
1491 (ns-get-pasteboard, ns-paste-secondary):
1492 Use ns-get-selection-internal.
1493 (ns-set-pasteboard, ns-copy-including-secondary):
1494 Use ns-store-selection-internal.
c803b2b7 1495
9cff91f8 14962011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1497
1498 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1499 (vc-deduce-fileset): Doc fix.
99a289d9 1500
f16c898a
AS
15012011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1502
1503 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1504
763237c4
SS
15052011-12-13 Sam Steingold <sds@gnu.org>
1506
1507 * man.el (Man-getpage-in-background): When running under a
1508 window-system, ignore $MANWIDTH and $COLUMNS.
1509
5fc1c122
KH
15102011-12-15 Kenichi Handa <handa@m17n.org>
1511
1512 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1513 (setup-ethiopic-environment-internal): Comment out key-binding for
1514 ethio-toggle-punctuation.
1515
13d49cbb
AM
15162011-12-13 Alan Mackenzie <acm@muc.de>
1517
898169a2
AM
1518 Add the switch statement to AWK Mode.
1519
7a71b18d 1520 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1521 "default" to the keywords regexp.
1522
7a71b18d 1523 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1524 expression as the rest.
1d00653d
SM
1525 (c-nonlabel-token-key): Allow string literals for AWK.
1526 Refactor for the other modes.
898169a2 1527
13d49cbb 1528 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1529 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1530 routines. Limit backward searching in c-font-lock-enclosing.decl.
1531
1532 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1533 pp-state and literal type in addition to the limits.
1d00653d 1534 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1535 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1536 (c-slow-in-literal, c-fast-in-literal): Remove.
1537 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1538
1539 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1540 being in a literal. Add a limit for backward searching.
1541
1542 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1543 c-slow-in-literal.
1544
15e0efc7
SM
15452011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1548
454592a6
MR
15492011-12-13 Martin Rudalics <rudalics@gmx.at>
1550
1551 * window.el (delete-other-windows): Use correct frame in call to
1552 window-with-parameter.
1553
87393f26
DP
15542011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1555
1556 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1557 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1558 (makefile-gmake-statements, makefile-makepp-statements):
1559 Use it and add new makepp keywords.
1560 (makefile-makepp-font-lock-keywords): Add new patterns.
1561 (makefile-match-function-end): Match new [...] and [[...]].
1562
11636b22
JB
15632011-12-11 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * ses.el (ses-call-printer-return, ses-cell-property-get)
1566 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1567 (ses-create-cell-variable, ses-reset-header-string)
1568 (ses-cell-set-formula, ses-repair-cell-reference-all)
1569 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1570 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1571 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1572 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1573 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1574 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1575 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1576 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1577 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1578 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1579 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1580 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1581
cf018193
VB
15822011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1583
1584 * ses.el: The overall change is to add cell renaming, that is
1585 setting fancy names for cell symbols other than name matching
1586 "\\`[A-Z]+[0-9]+\\'" regexp .
1587 (ses-create-cell-variable): New defun.
1588 (ses-relocate-formula): Relocate formulas only for cells the
1589 symbols of which are not renamed, i.e. symbols whose names do not
1590 match regexp "\\`[A-Z]+[0-9]+\\'".
1591 (ses-relocate-all): Relocate values only for cells the symbols of
1592 which are not renamed.
1593 (ses-load): Create cells variables as the (ses-cell ...) are read,
1594 in order to check row col consistency with cell symbol name only
1595 for cells that are not renamed.
1596 (ses-replace-name-in-formula): New defun.
1597 (ses-rename-cell): New defun.
1598
ee957461
CY
15992011-12-11 Chong Yidong <cyd@gnu.org>
1600
1601 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1602 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1603
9a9e9ef0
MR
16042011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1605
1606 * window.el (other-window): Fix docstring.
1607
92a8eba5
EZ
16082011-12-10 Eli Zaretskii <eliz@gnu.org>
1609
1610 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1611 `from' or `to' address before taking its substring.
1612 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1613 encoded name is chopped in the middle of the encoded string, and
1614 thus displayed encoded.
1615
e152e577
JB
16162011-12-10 Juanma Barranquero <lekktu@gmail.com>
1617
1618 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1619
e5d84bfe
EZ
16202011-12-10 Eli Zaretskii <eliz@gnu.org>
1621
1622 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1623 to use texinfo-update-node and commands that call it if the
1624 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1625 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1626 (texinfo-all-menus-update, texinfo-master-menu)
1627 (texinfo-update-node, texinfo-every-node-update)
1628 (texinfo-multiple-files-update): Doc fix. Warn against updating
1629 all the @node lines.
1630 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1631 argument is numeric. Explain better in the doc string what the
1632 function really does.
1633 (texinfo-insert-master-menu-list): Improve the error message
1634 displayed if there's no menu in the Top node.
1635 (Bug#2975) See also this thread:
e5d84bfe
EZ
1636 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1637
1d84e9bb
MG
16382011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1639
1640 * speedbar.el (speedbar-supported-extension-expressions):
1641 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1642
382c953b
JB
16432011-12-09 Juanma Barranquero <lekktu@gmail.com>
1644
1645 * printing.el (pr-mode-alist):
1646 * simple.el (filter-buffer-substring-functions)
1647 (completion-list-insert-choice-function):
1648 * window.el (window-with-parameter, window-atom-root)
1649 (window-sides-slots, window-size-fixed, window-min-delta)
1650 (window-max-delta, window--resize-mini-window)
1651 (window--resize-child-windows-normal, window-tree)
1652 (delete-other-windows, quit-window, split-window)
1653 (display-buffer-record-window, special-display-buffer-names)
1654 (special-display-regexps, special-display-popup-frame)
1655 (same-window-p, split-window-sensibly)
1656 (display-buffer-overriding-action, display-buffer-alist)
1657 (display-buffer-base-action, display-buffer, switch-to-buffer)
1658 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1659 (fit-window-to-buffer, recenter-positions)
1660 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1661 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1662 and remove unneeded backslashes in docstrings.
1663
39c9faef
SM
16642011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1665
98449af8
SM
1666 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1667
39c9faef
SM
1668 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1669 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1670 end in ".mk".
1671 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1672 when reading the makefile (bug#10116).
1673
86ed9fdc
SM
16742011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1677 (bug#10116).
1678
5580f89d
GM
16792011-12-06 Glenn Morris <rgm@gnu.org>
1680
1681 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1682
28d3917c
CY
16832011-12-06 Chong Yidong <cyd@gnu.org>
1684
1685 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1686
a98edce9
JB
16872011-12-06 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * textmodes/table.el (table-shorten-cell): Fix typo.
1690
e65adfac
CG
16912011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1692
1693 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1694
71cc0b74
EZ
16952011-12-05 Eli Zaretskii <eliz@gnu.org>
1696
1697 * descr-text.el (describe-char): Fix display of strong
1698 right-to-left characters and directional embeddings and overrides.
1699
1700 * simple.el (what-cursor-position): Fix display of codepoints of
1701 strong right-to-left characters.
1702
315bc30d
CY
17032011-12-05 Chong Yidong <cyd@gnu.org>
1704
1705 * faces.el (read-color): Doc fix.
1706
58a70b94
GM
17072011-12-05 Glenn Morris <rgm@gnu.org>
1708
1709 * align.el (align--set-marker): Add doc-string.
1710 Don't try to move something that is not a marker. (Bug#10216)
1711
5158face
GM
17122011-12-04 Glenn Morris <rgm@gnu.org>
1713
1714 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1715 overly zealous deletion of trailing whitespace.
1716
520fca41
JB
17172011-12-04 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * server.el (server-delete-client): On Windows, do not try to delete
1720 the only terminal.
1721 (server-process-filter): On Windows, treat requests for a tty frame as
1722 if they were for a GUI frame if the running server is in GUI mode.
1723
5e605a2e
GM
17242011-12-03 Glenn Morris <rgm@gnu.org>
1725
1726 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1727
5c3fe83f
SM
17282011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1729
6f5e57e7
SM
1730 * electric.el: Streamline electric-indent's hook.
1731 (electric-indent-chars): Revert to simple list.
1732 (electric-indent-functions): New var.
1733 (electric-indent-post-self-insert-function): Use it.
1734
5c3fe83f
SM
1735 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1736 there's no inferior buffer (bug#10196).
1737 (prolog-consult-compile): Don't use toggle-read-only.
1738
6bdac736
MA
17392011-12-02 Michael Albinus <michael.albinus@gmx.de>
1740
1741 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1742 interrupt. (Bug#10187)
1743
6131ba7f
SM
17442011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1745
99c79fee
SM
1746 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1747 (bug#9160).
1748
6131ba7f
SM
1749 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1750 (bug#10191).
1751
cb0a02ea
JL
17522011-12-02 Juri Linkov <juri@jurta.org>
1753
1754 * info.el (Info-search): Display "end of manual" when Isearch
1755 reaches the end of single-file Info manual. (Bug#9918)
1756
66e0570c
EZ
17572011-12-02 Eli Zaretskii <eliz@gnu.org>
1758
1759 * isearch.el (isearch-message-prefix): Run the input method part
1760 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1761
02b16839
JL
17622011-12-02 Juri Linkov <juri@jurta.org>
1763
1764 * isearch.el (isearch-occur): Use `word-search-regexp' for
1765 `isearch-word'.
1766 (isearch-search-and-update): Add condition for `isearch-word' and
1767 call `word-search-regexp'. (Bug#10145)
1768
0b950688
GM
17692011-12-01 Glenn Morris <rgm@gnu.org>
1770
1771 * eshell/em-hist.el (eshell-hist-initialize):
1772 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1773 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1774
9505c3c7
SM
17752011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1778
1bbe96b2 17792011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1780
a1beca85
SM
1781 * progmodes/verilog-mode.el (verilog-pretty-expr):
1782 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1783 verilog, such as += *= and the like.
1784 (verilog-assignment-operator-re): Regular expression to find the
1785 assigment operator in a verilog assignment.
1786 (verilog-assignment-operation-re): Regular expression to find an
1787 assignment statement for pretty-expr.
1788 (verilog-in-attribute-p): Query returns true if point is in an
1789 attribute context; used to skip these for expression line up from
1790 pretty-expr.
1791 (verilog-in-parameter-p): Query returns true if point is in an
1792 parameter definition context; used to skip these for expression
1793 line up from pretty-expr.
1794 (verilog-in-parenthesis-p): Query returns true if point is in a
1795 parenthetical expression, specifically ( ) but not [ ] or { };
1796 used by pretty-expr.
1797 (verilog-just-one-space): If there is no space, don't add one.
1798 (verilog-get-lineup-indent-2): Specifically skip just attribute
1799 contexts for expression lineup, rather than skipping all
1800 parenthetical expressions.
1801 (verilog-calculate-indent): Fix comment, and fix indent.
1802 (verilog-do-indent): Indent declarations in lists (suggested by
1803 Joachim Lechner).
1804 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1805 skeleton items.
1806 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1807 by Alain Mellan).
1808
1bbe96b2 18092011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1810
1811 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1812 parameters with embedded comments. Reported by Ray Stevens.
1813 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1814 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1815 Reported by Tim Holt.
1816 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1817 instantiated by upper module causing wrong expansion until AUTOed a
1818 second time. Reported by K C Buckenmaier.
1819 (verilog-diff-auto): Fix showing .* as a difference when
1820 `verilog-auto-star-save' off. Reported by Dan Dever.
1821 (verilog-auto-reset, verilog-read-always-signals)
1822 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1823 temporary signals in reset list if
1824 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1825 style to each signal's assignment type, bug381.
1826 Reported by Thomas Esposito.
6288f0ca
WS
1827 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1828 (verilog-uvm-statement-re): Support UVM indentation and
1829 highlighting, with old OVM keywords only.
a1beca85 1830 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1831 Support AUTOTIEOFF creating non-wire data types.
1832 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1833 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1834 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1835 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1836 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1837 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1838 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1839 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1840 non-numeric vector width. Reported by Alex Reed.
1841 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1842 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1843 (verilog-auto-delete-trailing-whitespace):
1844 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1845 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1846 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1847 Fix verilog-scan-cache corruption when running user AUTO expansion
1848 hooks that call indentation routines.
1849 (verilog-simplify-range-expression): Fix typo ignoring lower case
1850 identifiers.
1851 (verilog-delete-auto): Fix delete-autos to also remove user created
1852 automatics, as long as they start with AUTO.
1853 (verilog-batch-diff-auto, verilog-diff-auto)
1854 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1855 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1856 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1857 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1858 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1859 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1860 is disabled and its cache will get corrupt, causing AUTOS not to
1861 expand. Instead use only -quick functions.
1862 (verilog-scan-region): Fix scanning over escaped quotes.
1863 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1864 (verilog-re-search-backward-quick)
1865 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1866 related functions now ignore strings, to fix misparsing of strings
1867 with magic comments embedded in them.
a1beca85
SM
1868 (verilog-read-auto-template):
1869 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1870 Reported by Brad Dobbie.
1871 (verilog-read-auto-template):
1872 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1873 Reported by Brad Dobbie.
6288f0ca
WS
1874 (verilog-auto-inst, verilog-auto-inst-param)
1875 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1876 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1877 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1878 debugging templates without merge conflicts, bug357.
1879 Reported by Brad Dobbie.
1880 (verilog-read-auto-template):
1881 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1882 Reported by Brad Dobbie.
1883 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1884 abbrevs so user won't be asked to save.
1885 (verilog-read-auto-lisp-present): Fix to start at beginning of
1886 buffer in case called outside of verilog-auto.
1887 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1888 to "X-2". Reported by Matthew Myers.
1889 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1890 all inputs from module templates. Reported by Leith Johnson.
1891 (verilog-module-inside-filename-p): Fix locating programs as with
1892 modules.
1893 (verilog-auto-inst-port): Fix vl-width expressions when using
1894 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1895 (verilog-decls-get-regs, verilog-decls-get-signals,
1896 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1897 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1898 verilog-read-decls): Combine reg and wire structures into one var
1899 structure to represent SystemVerilog concepts.
1900 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1901 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1902 (verilog-auto-wire-type, verilog-insert-definition):
1903 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1904 SystemVerilog "logic" keyword instead of "wire"/"reg".
1905 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1906 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1907 ifdef or generate if so there's not a driver conflict).
1908 Reported by Matthew Myers.
1909 (verilog-auto-declare-nettype, verilog-insert-definition):
1910 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1911 `default_nettype none. Reported by Julian Gorfajn.
1912 (verilog-read-always-signals-recurse, verilog-read-decls)
1913 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1914 malformed end statement, bug325. Reported by Joshua Wise and
1915 Andrew Drake.
1916 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1917 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1918 when expanding .* in interfaces, bug320.
1919 Reported by Pierre-David Pfister.
6288f0ca 1920 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1921 name and open parenthesis, bug317.
1922 Reported by Pierre-David Pfister.
6288f0ca
WS
1923 (verilog-simplify-range-expression): Fix simplification of
1924 multiplications inside AUTOWIRE connections, bug303.
1925 (verilog-auto-inst-port): Support parameter expansion in
1926 multidimensional arrays.
1927 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1928 after "assert property". Reported by Julian Gorfajn.
1929 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1930 with multiplication, bug303.
1931 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1932 Reported by Jan Frode Lonnum.
1933
1bbe96b2
GM
19342011-11-30 Juanma Barranquero <lekktu@gmail.com>
1935
1936 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1937 (hfy-shell-file-name, hfy-shell):
1938 * international/fontset.el (x-decompose-font-name): Fix typos.
1939
19402011-11-29 Ken Brown <kbrown@cornell.edu>
1941
1942 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1943 (gdb-version): Remove defvar.
1944 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1945 (gdb-gud-context-command, gdb-non-stop-handler)
1946 (gdb-current-context-command, gdb-stopped): Use it.
1947 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1948 (gdb-non-stop-handler): Don't enable pretty-printing here.
1949 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1950 non-stop mode. Use the following.
1951 (gdb-check-target-async): New defun.
1952 (gud-watch, gdb-stopped): Fix whitespace.
1953 (gdb-get-source-file): Don't try to display the source file if
1954 `gdb-main-file' is nil.
1955
19562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * align.el: Try to generate fewer markers (bug#10047).
1959 (align--set-marker): New macro.
1960 (align-region): Use it.
1961
c935221f
SM
19622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1965
e70b5064
CY
19662011-11-29 Chong Yidong <cyd@gnu.org>
1967
1968 * indent.el (indent-for-tab-command, indent-according-to-mode):
1969 Doc fix.
1970 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1971
f3af92b7
MA
19722011-11-29 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1975 aware of remote file names. (Bug#10124)
1976
ed472be9
CY
19772011-11-29 Chong Yidong <cyd@gnu.org>
1978
1979 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1980
24510c22
SM
19812011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * files.el (find-file): Don't use force-same-window (bug#10144).
1984 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1985 use pop-to-buffer if the selected window can't be used.
1986 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1987
c60c3703
EZ
19882011-11-28 Eli Zaretskii <eliz@gnu.org>
1989
1990 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1991 special-mode-map.
1992
e95def75
CY
19932011-11-28 Chong Yidong <cyd@gnu.org>
1994
1995 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1996
c3f1c606
NR
19972011-11-27 Nick Roberts <nickrob@snap.net.nz>
1998
1999 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2000 gdb-get-source-file-list on gdb-create-source-file-list.
2001
00db469c
EZ
20022011-11-26 Eli Zaretskii <eliz@gnu.org>
2003
2004 * whitespace.el (whitespace-newline): Use a different foreground
2005 color for 16-color light-background displays.
2006
4ad3bc2a
CY
20072011-11-24 Chong Yidong <cyd@gnu.org>
2008
2009 * window.el (display-buffer--special-action): Doc fix.
2010
e9fce1ac
JB
20112011-11-25 Juanma Barranquero <lekktu@gmail.com>
2012
2013 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2014 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2015 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2016 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2017 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2018 (avl-tree-stack-first):
2019 * emacs-lisp/cconv.el (cconv--analyse-use):
2020 * net/gnutls.el (gnutls-negotiate): Fix typos.
2021
cb825e5d
GM
20222011-11-24 Glenn Morris <rgm@gnu.org>
2023
3adbe224
GM
2024 * lpr.el (lpr-windows-system, lpr-lp-system):
2025 * mail/binhex.el (binhex-begin-line):
2026 * progmodes/grep.el (grep-history, grep-find-history):
2027 * textmodes/flyspell.el:
2028 * vc/pcvs-defs.el (cvs-global-menu):
2029 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2030 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2031 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2032
321decc8
GM
2033 * net/tls.el: Fix case of "GnuTLS".
2034
420b63ad
GM
2035 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2036
cb825e5d
GM
2037 * version.el (emacs-build-system): Give it a doc-string.
2038
a0649f08
JL
20392011-11-24 Juri Linkov <juri@jurta.org>
2040
2041 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2042
c0bc0fd4
GM
20432011-11-24 Glenn Morris <rgm@gnu.org>
2044
2045 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2046 if called on a non-mime message just toggle the headers. (Bug#8006)
2047
20db1522
JB
20482011-11-24 Juanma Barranquero <lekktu@gmail.com>
2049
2050 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2051 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2052 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2053 (allout-rebullet-heading, allout-open-sibtopic)
2054 (allout-toggle-current-subtree-encryption)
2055 (allout-toggle-subtree-encryption, allout-encrypt-string)
2056 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2057 (allout-distinctive-bullets-string, allout-auto-activation):
2058 * window.el (window-normalize-buffer-to-display):
2059 * progmodes/verilog-mode.el (verilog-batch-indent):
2060 * textmodes/bibtex.el (bibtex-field-braces-opt)
2061 (bibtex-field-strings-opt):
2062 * vc/cvs-status.el (cvs-tree-merge):
2063 Fix typos.
2064
7262a87c
MA
20652011-11-23 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2068 `non-essential' to t, in order to avoid remote connections.
2069
283430a1
EZ
20702011-11-23 Eli Zaretskii <eliz@gnu.org>
2071
a1beca85
SM
2072 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2073 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2074 case-insensitively.
2075
d2992a38
ML
20762011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2077
2078 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2079
50419064
GM
20802011-11-23 Glenn Morris <rgm@gnu.org>
2081
da94eca1
GM
2082 * paths.el (rmail-file-name): Reformat the doc-string so that it
2083 is picked up.
2084
9aac4de2
GM
2085 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2086 (rmail-auto-file): Ignore case in the "special" field names,
2087 as mail-fetch-field does for all others.
2088
8038d2d2
GM
2089 * mail/rmail.el (rmail-forward):
2090 * mail/rmailkwd.el (rmail-set-label):
2091 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2092 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2093
f3fe222a
GM
2094 * mail/rmail.el (rmail-current-message): Doc fix.
2095
50419064
GM
2096 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2097
28109f49
SM
20982011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2101
394c65f1
GM
21022011-11-22 Glenn Morris <rgm@gnu.org>
2103
2104 * mail/rmailmm.el (test-rmail-mime-handler)
2105 (test-rmail-mime-bulk-handler)
2106 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2107
f2a0aa3a
JL
21082011-11-21 Juri Linkov <juri@jurta.org>
2109
1154d12e
JB
2110 * calc/calc.el (calc-read-key-sequence):
2111 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2112
9c34a344
LMI
21132011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2114
2115 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2116 Tell the caller that the next line needs recomputation, even
2117 though it doesn't start a sexp (bug#10094).
2118
f04a3be9
SM
21192011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2122
7978747f
SM
21232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2124
f04a3be9
SM
2125 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2126 Use force-same-window.
7978747f 2127
fe7a3057
JB
21282011-11-20 Juanma Barranquero <lekktu@gmail.com>
2129
2130 * descr-text.el (describe-char-unicode-data):
2131 * json.el (json-string-escape):
2132 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2133 (Footnote-unicode, Footnote-style-p):
2134 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2135
24901d61
CY
21362011-11-20 Chong Yidong <cyd@gnu.org>
2137
2138 * window.el (replace-buffer-in-windows): Restore interactive spec.
2139
bac7ff22
SM
21402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2141
24f3d7b9
SM
2142 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2143
bac7ff22
SM
2144 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2145 (byte-compile-global-not-obsolete-vars): New var.
2146 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2147 Use it.
2148 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2149
cd1181db
JB
21502011-11-20 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2153 * progmodes/pascal.el (electric-pascal-equal):
2154 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2155 * xml.el (xml-substitute-special): Fix typos.
2156
7fb18e9e
GM
21572011-11-20 Glenn Morris <rgm@gnu.org>
2158
2159 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2160 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2161 Doc fixes.
2162 (rmail-decode-mime-charset): Mark as obsolete.
2163
2164 * mail/rmailsum.el (rmail-message-regexp-p-1):
2165 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2166 Before using mime functions, check they are set. (Bug#10077)
2167
d5a6b3ba
JL
21682011-11-19 Juri Linkov <juri@jurta.org>
2169
2170 * info.el (Info-finder-find-node): Use `package--builtins' instead
2171 of `package-alist'. Use node names formed by the pattern "Keyword "
2172 and the keyword name.
2173
e981b61f
AS
21742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2175
1d00653d 2176 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2177
3ffbc301
JL
21782011-11-19 Juri Linkov <juri@jurta.org>
2179
2180 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2181 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2182 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2183 `old-history', `old-history-forward'. Add let-binding
2184 `window-selected'. Remove calls to `kill-buffer',
2185 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2186 before calling `Info-find-node', so `Info-find-node-2' will reread
2187 the Info file. Restore window positions only when `window-selected'
2188 is non-nil.
2189
30c62133
JL
21902011-11-19 Juri Linkov <juri@jurta.org>
2191
2192 * isearch.el (isearch-lazy-highlight-new-loop):
2193 Remove condition `(not isearch-error)'. (Bug#9918)
2194
2195 * misearch.el (multi-isearch-search-fun): Add condition
2196 `(not bound)' to ignore lazy-highlighting search.
2197 Add the search-failed message "end of multi" when the end of
2198 multi-sequence is reached. Uncapitalize the search-failed
2199 message "Repeat for next buffer".
2200
2201 * info.el (Info-search): Add the search-failed message
2202 "end of the manual" when the end of the manual is reached
2203 in Isearch mode.
2204
645ca9cf
JL
22052011-11-19 Juri Linkov <juri@jurta.org>
2206
2207 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2208 Use non-destructive `remove' instead of `delete' because
2209 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2210 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2211
df754f66
JL
22122011-11-19 Juri Linkov <juri@jurta.org>
2213
2214 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2215 to nil instead of binding `search-ring' and `regexp-search-ring'.
2216 (Bug#9185)
2217
0e23d96a
EZ
22182011-11-19 Eli Zaretskii <eliz@gnu.org>
2219
2220 * simple.el (line-move): Force movement by logical lines for any
2221 hscrolled window, not only when auto-hscroll-mode is on.
2222 (line-move-visual): Update doc string to that effect. (Bug#10076)
2223
8a6ccb66
AS
22242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2225
2226 * language/european.el (macintosh): Define as alias for mac-roman.
2227
49ae5b39
EZ
22282011-11-19 Eli Zaretskii <eliz@gnu.org>
2229
2230 * mail/rmailmm.el (rmail-mime-display-header)
2231 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2232 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2233 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2234 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2235 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2236 of a raw aref.
2237 (rmail-mime-entity-segment): To get past the tagline, move forward
2238 2 more lines, to account for the 2 empty lines that precede and
2239 follow the line with the buttons.
2240 (rmail-mime-update-tagline): Move one more line, to get past the
2241 empty line that follows the buttons in the tagline. (Bug#9520)
2242
c56cad4a
MR
22432011-11-19 Martin Rudalics <rudalics@gmx.at>
2244
2245 * window.el (window-max-delta-1, window-min-delta-1)
2246 (window-min-size-1, window-state-get-1, window-state-put-1)
2247 (window-state-put-2): Use "window--" prefix.
2248
cbe71af3
SM
22492011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2ad52c60
SM
2251 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2252 (smie-warning-count): New var.
2253 (smie-set-prec2tab): Use it.
2254 (smie-bnf->prec2): Improve warnings. Add docstring.
2255 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2256 (smie-bnf--set-class): New function.
2257 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2258 corner case.
2259
6944dbc1
SM
2260 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2261 (compilation-error-properties, compilation-move-to-column):
2262 Handle compilation-first-column while in the target buffer.
2263
c400c4d7
SM
2264 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2265 Don't hardcode point-min==1.
2266
6dbe3e96
SM
2267 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2268 (eshell-rewrite-for-command): Remove workaround.
2269 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2270 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2271 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2272
cbe71af3
SM
2273 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2274
a8e1496d
GM
22752011-11-17 Glenn Morris <rgm@gnu.org>
2276
2277 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2278 Ignore buffer-local generated-autoload-file if it is the same
2279 as the global value. (Bug#10049)
2280
df85d315
JB
22812011-11-17 Juanma Barranquero <lekktu@gmail.com>
2282
2283 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2284 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2285 (reftex-toc-previous-heading, reftex-toc-max-level)
2286 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2287 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2288 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2289 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2290 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2291 (reftex-toc-rename-label, reftex-toc-visit-location)
2292 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2293 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2294 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2295 leaving "*toc*" only for references to the buffer.
2296
a0c2d0ae
MR
22972011-11-17 Martin Rudalics <rudalics@gmx.at>
2298
2299 * window.el (window-resize, delete-window, split-window):
2300 Replace window-splits by window-combination-resize.
1d00653d 2301 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2302
35c0bac8
GM
23032011-11-17 Glenn Morris <rgm@gnu.org>
2304
2305 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2306 Make bash entry derive from sh entry, not shell entry.
2307
d0c8fc8a
MA
23082011-11-16 Michael Albinus <michael.albinus@gmx.de>
2309
d0c8fc8a
MA
2310 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2311 properties of linked files. (Bug#9879)
2312
7262a87c
MA
2313 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2314 local file name.
2315
7877f373
JB
23162011-11-16 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * menu-bar.el (menu-bar-file-menu):
2319 * printing.el (pr-ps-utility):
2320 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2321 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2322 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2323 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2324 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2325 (icalendar--convert-cyclic-to-ical)
2326 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2327 (icalendar--convert-ical-to-diary)
2328 (icalendar--convert-recurring-to-diary)
2329 (icalendar--convert-non-recurring-all-day-to-diary)
2330 (icalendar-import-format-sample):
2331 * progmodes/idlw-shell.el (idlwave-shell-mode):
2332 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2333 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2334 (vhdl-ps-print-init): Fix typos.
2335
10649b82
KM
23362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2337
9d0cfcd6
GM
2338 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2339 FSF and collapse date sequence, obscure author/maintainer email address
2340 better, remove extra version line, track relocation of author's webpage.
10649b82 2341
9d0cfcd6
GM
2342 * progmodes/python.el (python-pdbtrack-input-prompt)
2343 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2344 regular python pdb prompts. Adjustments shamelessly taken exactly as
2345 suggested in EmacsWiki page (tiny change):
2346 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2347
58179cce
JB
23482011-11-16 Juanma Barranquero <lekktu@gmail.com>
2349
2350 * expand.el (expand-pos, expand-index, expand-point):
2351 Remove redundant info from docstring.
2352 (expand-add-abbrevs): Doc fix.
2353 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2354 (expand-sample-perl-mode-expand-list): Fix typos.
2355
2356 * net/dbus.el (dbus-event-member-name):
2357 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2358 * term/pc-win.el (msdos-create-frame-with-faces):
2359 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2360
b6f67890
MR
23612011-11-16 Martin Rudalics <rudalics@gmx.at>
2362
2363 * window.el (split-window, window-state-get-1)
2364 (window-state-put-1, window-state-put-2): Rename occurrences of
2365 window-nest to window-combination-limit.
1d00653d 2366 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2367
ce7ddba0
CY
23682011-11-16 Chong Yidong <cyd@gnu.org>
2369
2370 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2371 regexp (Bug#10033).
2372
3ae704f4
SM
23732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2376 `completing-read' will remove *Completions* and will preserve
2377 current-buffer for us.
2378 (tmm-add-prompt): Users of *Completions* will always (re)set its
2379 major mode.
2380 (tmm-old-comp-map): Remove.
2381
6ad1cdde
GM
23822011-11-16 Glenn Morris <rgm@gnu.org>
2383
2384 * mail/rmailedit.el: Require rmailmm when compiling.
2385 (rmail-old-mime-state): New declaration.
2386 (rmail-edit-current-message): If editing a mime message,
2387 edit the "raw" message from the mbox buffer.
2388 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2389
d20faa20
GM
23902011-11-15 Glenn Morris <rgm@gnu.org>
2391
2392 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2393 which wasn't being used. Add optional arg to force given state.
2394 (rmail-mime): Add optional arg to force given state.
2395
c7015153
JB
23962011-11-15 Juanma Barranquero <lekktu@gmail.com>
2397
2398 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2399 * frame.el (display-mm-dimensions-alist):
2400 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2401 (outline-move-subtree-down):
2402 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2403 (newsticker--treeview-do-get-node):
2404 * net/quickurl.el (quickurl-list-buffer-name):
2405 * progmodes/dcl-mode.el (dcl-mode):
2406 * progmodes/gdb-mi.el (gdb-mapcar*):
2407 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2408
45261b50
GM
24092011-11-15 Glenn Morris <rgm@gnu.org>
2410
2411 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2412 in a boolean sense, so just make it a boolean, and fix the doc.
2413 (rmail-show-mime-function, rmail-mime-feature)
2414 (rmail-require-mime-maybe): Doc fixes.
2415 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2416
2417 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2418
0d26e0b6
JB
24192011-11-15 Juanma Barranquero <lekktu@gmail.com>
2420
2421 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2422 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2423 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2424 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2425
447f30f6
GM
24262011-11-15 Glenn Morris <rgm@gnu.org>
2427
672b871d
GM
2428 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2429 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2430 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2431 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2432 (rmail-mime, rmail-show-mime): Doc fixes.
2433
f6aa5bb1
GM
2434 * term/ns-win.el (mode-line-frame-identification):
2435 Leave it alone. (Bug#10051)
2436
947cd66b
GM
2437 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2438
447f30f6
GM
2439 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2440 Handle empty buffers. (Bug#9978)
2441
0b381c7e
JB
24422011-11-14 Juanma Barranquero <lekktu@gmail.com>
2443
2444 * international/mule.el (define-charset):
2445 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2446 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2447 * progmodes/verilog-mode.el (verilog-backward-token):
2448 * textmodes/ispell.el (lookup-words):
2449 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2450
71e027ac
GM
24512011-11-14 Glenn Morris <rgm@gnu.org>
2452
56632ce4
GM
2453 * progmodes/executable.el
2454 (executable-make-buffer-file-executable-if-script-p):
2455 Handle file-modes returning nil.
2456
40500957
GM
2457 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2458 message - not necessary, and causes problems. (Bug#9831)
2459
071c2340
GM
2460 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2461
d3cfca60
GM
2462 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2463
71e027ac
GM
2464 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2465 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2466 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2467
89d61221
MR
24682011-11-12 Martin Rudalics <rudalics@gmx.at>
2469
2470 * window.el (window-resize, delete-window): Use window-splits
2471 variable instead of function.
2472 (window-state-get-1, window-state-put-2, window-state-put):
2473 Don't deal with windows' splits status.
2474
98282f6f
GM
24752011-11-12 Glenn Morris <rgm@gnu.org>
2476
2477 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2478 (apropos-documentation): Doc fixes.
2479
40a8bdf6
JB
24802011-11-11 Juanma Barranquero <lekktu@gmail.com>
2481
2482 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2483 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2484
65bd19ff
SM
24852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * electric.el (electric-indent-post-self-insert-function): Make it
2488 possible for a char to only indent in some circumstances.
2489 (electric-indent-mode): Simplify.
2490
54f9154c
MR
24912011-11-11 Martin Rudalics <rudalics@gmx.at>
2492
2493 * window.el (windows-with-parameter): Remove unused function.
2494 (windows-at-side): Rename to window-at-side-list.
2495 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2496 (window-side-check, window-size-ignore, window-size-fixed-1)
2497 (window-in-direction-2): Prefix with "window--".
2498 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2499
68cbc58b
GM
25002011-11-11 Glenn Morris <rgm@gnu.org>
2501
2502 * subr.el (eval-after-load): If FILE is already loaded,
2503 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2504
b2621720
GM
25052011-11-10 Glenn Morris <rgm@gnu.org>
2506
9a4de110
GM
2507 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2508 Call svn via vc-svn-command rather than vc-do-command.
2509 (vc-svn-command): Add --non-interactive. (Bug#9993)
2510 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2511
b2621720
GM
2512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2513 Add toggle-read-only. (Bug#7292)
2514 * files.el (toggle-read-only): Mention that it should only
2515 be used interactively. (Bug#10006)
2516
1dce7193
SM
25172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2518
d9ac1a1e
SM
2519 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2520 Adjust regexp for OCaml warnings.
2521
0c325082
SM
2522 * electric.el (electric-pair-post-self-insert-function): Let user
2523 turn it off buffer-locally (bug#9932).
2524
90132c14
SM
2525 * progmodes/python.el (python-beginning-of-statement):
2526 Rewrite (bug#2703).
2527
1dce7193
SM
2528 * progmodes/compile.el: Better handle TABs (bug#9749).
2529 (compilation-internal-error-properties)
2530 (compilation-next-error-function): Obey the target buffer's
2531 compilation-error-screen-columns.
2532
c4e7c63a
JB
25332011-11-09 Juanma Barranquero <lekktu@gmail.com>
2534
2535 * progmodes/meta-mode.el: Remove obsolete comments.
2536 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2537 Fix typos in docstrings.
2538
2cffd681
MR
25392011-11-09 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2542 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2543 (window--resizable): New function. Make all callers of
2544 window-resizable call window--resizable instead.
2545 (window-resizable): Rewrite in terms of window--resizable.
2546
0edcba87
GM
25472011-11-08 Glenn Morris <rgm@gnu.org>
2548
2549 * progmodes/delphi.el (delphi-mode-syntax-table):
2550 Let define-derived-mode define a proper syntax table. (Bug#9994)
2551
4b0d61e3
SM
25522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * window.el: Stay away from defsubst.
2555 (window-list-no-nils): Remove.
2556 (window-state-get-1, window-state-get): Use backquote instead.
2557
cd394be1 25582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2559
4b0d61e3 2560 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2561 Fix incorrect use of default argument in `completing-read'.
2562
e1c2c6f2
MR
25632011-11-08 Martin Rudalics <rudalics@gmx.at>
2564
2565 * window.el (display-buffer-function, special-display-function):
2566 Mention display-buffer-record-window but do not mention
2567 help-setup parameter in doc-strings.
b3f4a882 2568 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2569
105216ed
CY
25702011-11-08 Chong Yidong <cyd@gnu.org>
2571
2572 * window.el (window-total-height, window-total-width): Doc fix.
2573 (window-body-size): Move from C.
2574 (window-body-height, window-body-width): Move to C.
2575
0a9f9ab5
SM
25762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * window.el: Make special-display like display-buffer-alist (bug#9532).
2579 (display-buffer--special-action): New function, morphed
2580 from display-buffer--special.
2581 (display-buffer): Use it to handle special-display-buffers at higher
2582 priority (just after display-buffer-alist).
2583 (display-buffer-fallback-action, display-buffer--other-frame-action)
2584 (pop-to-buffer-same-window): Remove display-buffer--special.
2585
a769dd15
GM
25862011-11-07 Glenn Morris <rgm@gnu.org>
2587
2588 * calendar/cal-menu.el (cal-menu-set-date-title):
2589 Do nothing if not in a calendar. (Bug#9976)
2590
05a61ee3
SM
25912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * files.el (find-file): Always use selected-window.
2594
be7f5545
MR
25952011-11-07 Martin Rudalics <rudalics@gmx.at>
2596
2597 * window.el (window-combinations): Make WINDOW argument
2598 mandatory. Rewrite doc-string.
2599 (walk-window-subtree, window-atom-check, window-min-delta)
2600 (window-max-delta, window--resize-this-window)
2601 (window--resize-root-window-vertically, window-tree)
2602 (balance-windows, window-state-put): Rewrite doc-strings as to
2603 not mention the term "subwindow".
2604 (window--resize-subwindows-skip-p): Rename to
2605 window--resize-child-windows-skip-p.
2606 (window--resize-subwindows-normal): Rename to
2607 window--resize-child-windows-normal.
2608 (window--resize-subwindows): Rename to
2609 window--resize-child-windows.
2610 (window-or-subwindow-p): Rename to window--in-subtree-p.
2611
3c6702ef
ML
26122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2613
2614 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2615 Ensure that mbox format messages end in two newlines (Bug#9974).
2616
49745b39
CY
26172011-11-06 Chong Yidong <cyd@gnu.org>
2618
2619 * window.el (window-combination-p): Function deleted; its
2620 side-effect is not used in any existing code.
2621 (window-combinations, window-combined-p): Call window-*-child
2622 directly.
2623
24300f5f
CY
26242011-11-05 Chong Yidong <cyd@gnu.org>
2625
2626 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2627 (window-size-ignore, window-state-get): Callers changed.
2628 (window-normalize-window): Rename from window-normalize-any-window.
2629 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2630 (window-normalize-live-window): Delete.
447f16b8
CY
2631 (window-combination-p, window-combined-p, window-combinations)
2632 (walk-window-subtree, window-atom-root, window-min-size)
2633 (window-sizable, window-sizable-p, window-size-fixed-p)
2634 (window-min-delta, window-max-delta, window-resizable)
2635 (window-resizable-p, window-full-height-p, window-full-width-p)
2636 (window-current-scroll-bars, window-point-1, set-window-point-1)
2637 (window-at-side-p, window-in-direction, window-resize)
2638 (adjust-window-trailing-edge, maximize-window, minimize-window)
2639 (window-deletable-p, delete-window, delete-other-windows)
2640 (record-window-buffer, unrecord-window-buffer)
2641 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2642 (quit-window, split-window, window-state-put)
2643 (set-window-text-height, fit-window-to-buffer)
2644 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2645
89bd5ee1
EZ
26462011-11-04 Eli Zaretskii <eliz@gnu.org>
2647
53479029
EZ
2648 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2649 rfc2047-decode-string.
2650 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2651 warnings.
2652
89bd5ee1
EZ
2653 * window.el (window-body-height, window-body-width): Mention in
2654 the doc string that the return values are in frame's canonical
2655 units. (Bug#9949)
2656
bd17fdee
AM
26572011-11-03 Alan Mackenzie <acm@muc.de>
2658
2659 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2660 change in cc-engine.el.
2661
acc825c5
SM
26622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2665
1885e5b8
MR
26662011-11-02 Martin Rudalics <rudalics@gmx.at>
2667
2668 * window.el (quit-window): Call unrecord-window-buffer after
2669 showing another buffer in the window. (Bug#9937)
acc825c5 2670 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2671
ebe06da9
JB
26722011-11-02 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2675 Accept status with more than 9 shelves. (Bug#9935)
2676 Reported by Colin D Bennett <colin@gibibit.com>.
2677
4ee88440
MR
26782011-11-01 Martin Rudalics <rudalics@gmx.at>
2679
2680 * help.el (with-help-window): Don't reference
2681 temp-buffer-show-specifiers in doc-string.
2682
08e1d82c
AS
26832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2684
2685 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2686 menu-item.
2687
84bd6e9e
VJL
26882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2689
2690 * whitespace.el: New version 13.2.2.
2691 (whitespace-newline-mode): Disable properly. Reported by Sarah
2692 <EmacsWiki>.
2693
dba0634a
UJ
26942011-10-30 Ulf Jasper <ulf.jasper@web.de>
2695
2696 * net/newst-treeview.el: Remove "Time-stamp".
2697 (newsticker--group-manage-orphan-feeds): Do not call
2698 newsticker--treeview-tree-update.
db22a3c2
JB
2699 (newsticker-treeview-update, newsticker-treeview):
2700 Call newsticker--treeview-tree-update if necessary.
dba0634a 2701
3d8daefe
MR
27022011-10-30 Martin Rudalics <rudalics@gmx.at>
2703
2704 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2705 (window-iso-combinations): Remove "iso-" infix.
2706 Suggested by Chong Yidong.
3d8daefe
MR
2707 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2708 (window-max-delta-1, window-resize, window--resize-siblings)
2709 (window--resize-this-window, adjust-window-trailing-edge)
2710 (split-window, balance-windows-1)
2711 (shrink-window-if-larger-than-buffer):
2712 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2713 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2714
1bc4c3ae
SM
27152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2718 in place (bug#9907).
2719 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2720 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2721 (eshell-structure-basic-command, eshell-rewrite-while-command)
2722 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2723 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2724 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2725 (eshell-do-pipelines-synchronously, eshell-eval-command):
2726 Use backquotes and prefer setq to set.
2727 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2728 (eshell-macrop): Use functionp.
c1e2f5fa 2729 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2730
30b65d9c
CY
27312011-10-30 Chong Yidong <cyd@gnu.org>
2732
2733 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2734 instead of set-mark (Bug#9810).
2735
2d197ffb
CY
27362011-10-30 Chong Yidong <cyd@gnu.org>
2737
2738 * window.el (split-window-below, split-window-right): Rename from
2739 split-window-above-each-other and split-window-side-by-side
2740 respectively. All callers changed.
2741 (split-window-sensibly, split-window-sensibly): Use them.
2742 (split-window-keep-point): Doc fix.
2743
2744 * isearch.el: Add isearch-scroll property to split-window-below
2745 and split-window-right.
2746
2747 * follow.el (follow-mode):
2748 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2749 * progmodes/ada-xref.el (ada-gdb-application):
2750 * emulation/vip.el (vip-buffer-in-two-windows):
2751 * image-dired.el (image-dired-dired-with-window-configuration):
2752 * dired-x.el (dired-do-find-marked-files):
2753 * dired.el (dired-pop-to-buffer):
2754 * bs.el (bs--show-with-configuration):
2755 * vc/emerge.el (emerge-setup-windows):
2756 * textmodes/two-column.el (2C-two-columns):
2757 * textmodes/reftex-toc.el (reftex-toc):
2758 * progmodes/gdb-mi.el (gdb-setup-windows):
2759 * progmodes/fortran.el (fortran-window-create):
2760 * net/newst-treeview.el (newsticker--treeview-window-init):
2761 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2762 * emulation/tpu-edt.el (tpu-gold-map):
2763 * emulation/crisp.el (crisp-mode-map):
2764 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2765
38bb2ca8
CY
27662011-10-29 Chong Yidong <cyd@gnu.org>
2767
aa4de341
CY
2768 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2769
e1eb5385
CY
2770 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2771
5d2ece3c
CY
2772 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2773 forged Ispell output (Bug#7904).
2774
38bb2ca8
CY
2775 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2776
d0af9f77
SM
27772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * doc-view.el: Avoid ugly errors about not finding nil.
2780 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2781 (doc-view-dvipdf-program, doc-view-unoconv-program)
2782 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2783 Avoid nil or absolute file name as default value.
2784 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2785
52bedd34
AM
27862011-10-28 Alan Mackenzie <acm@muc.de>
2787
db22a3c2 2788 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2789
7e43cfa5
AM
27902011-10-28 Alan Mackenzie <acm@muc.de>
2791
2792 Amend the handling of c-beginning/end-of-defun in nested declaration
2793 scopes.
2794
52bedd34
AM
2795 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2796 cc-langs.el. Change it to a defcustom.
7e43cfa5 2797
52bedd34
AM
2798 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2799 cc-vars.el.
7e43cfa5 2800
d0af9f77
SM
2801 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2802 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2803
52bedd34 2804 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2805 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2806 (c-widen-to-enclosing-decl-scope): New function.
2807 (c-while-widening-to-decl-block): New macro.
2808 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2809 outward for defun boundaries, and correspondingly change symbol
2810 `respect-enclosure' to `go-outward'.
2811 (c-declaration-limits): Change algorithm to report only the "innermost"
2812 defun's boundaries.
2813
1a2ce9ee
DD
28142011-10-28 Deniz Dogan <deniz@dogan.se>
2815
2816 * net/rcirc.el (rcirc-mode): Use hard newlines.
2817
bc97a826
AM
28182011-10-28 Alan Mackenzie <acm@muc.de>
2819
2820 Amend to indent and fontify macros "which include their own semicolon"
2821 correctly, using the "virtual semicolon" mechanism.
2822
52bedd34 2823 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2824
d0af9f77 2825 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2826 Recode to scan one line at a time rather than having \n and \r
58179cce 2827 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2828 (c-forward-label): Amend for virtual semicolons.
58179cce 2829 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2830
52bedd34
AM
2831 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2832 of the new C macros.
bc97a826 2833
52bedd34 2834 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2835 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2836 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2837 (c-opt-cpp-macro-define): Make into a full language variable.
2838 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2839 AWK Mode (including \n, \r) removed, no longer needed.
2840
d0af9f77
SM
2841 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2842 Invoke c-make-macro-with-semi-re.
bc97a826 2843
52bedd34
AM
2844 * progmodes/cc-vars.el (c-macro-with-semi-re):
2845 (c-macro-names-with-semicolon): New variables.
58179cce 2846 (c-make-macro-with-semi-re): New function.
bc97a826 2847
7a6c0941
SM
28482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * vc/log-edit.el: Fill empty field rather than adding new one.
2851 (log-edit-add-field): New function.
2852 (log-edit-insert-changelog): Use it.
2853
b0c4cdcf
ML
28542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2855
2856 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2857
ee1f1da9
SM
28582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2861 (gdb--check-interpreter): New function.
2862 (gdb): Use it.
2863
51bc5f8b
GM
28642011-10-27 Glenn Morris <rgm@gnu.org>
2865
416a2c45
GM
2866 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2867 (least-positive-float, least-negative-float)
2868 (least-positive-normalized-float, least-negative-normalized-float)
2869 (float-epsilon, float-negative-epsilon):
2870 Remove unnecessary declarations.
2871
2872 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2873 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2874 (least-positive-float, least-negative-float)
2875 (least-positive-normalized-float, least-negative-normalized-float)
2876 (float-epsilon, float-negative-epsilon): Add doc-strings,
2877 based on those in cl.texi.
2878
51bc5f8b
GM
2879 * files.el (set-visited-file-name): If the major-mode changed,
2880 reload the local variables. (Bug#9796)
2881
15de15c6
CY
28822011-10-27 Chong Yidong <cyd@gnu.org>
2883
2884 * subr.el (change-major-mode-after-body-hook): New hook.
2885 (run-mode-hooks): Run it.
2886
ee1f1da9
SM
2887 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2888 Use change-major-mode-before-body-hook.
15de15c6
CY
2889
2890 * simple.el (fundamental-mode):
2891 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2892 change introducing fundamental-mode-hook.
2893
5430d399
JB
28942011-10-26 Juanma Barranquero <lekktu@gmail.com>
2895
acc825c5 2896 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2897
ad74a69e
MA
28982011-10-26 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2901 tramp.el explicitly. (Bug#7583)
ad74a69e 2902
71d4c2a5
SM
29032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * progmodes/octave-mod.el:
2906 * progmodes/octave-inf.el: Update maintainer.
2907
b1f6fa26
CY
29082011-10-26 Chong Yidong <cyd@gnu.org>
2909
2910 * subr.el (with-wrapper-hook): Rewrite doc.
2911
3f04efd6
MA
29122011-10-25 Michael Albinus <michael.albinus@gmx.de>
2913
2914 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2915 filenames "/method:foo:". (Bug#9793)
3f04efd6 2916
410488d3
SM
29172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2920 (bug#9865).
2921
c1ebb47e
GM
29222011-10-24 Glenn Morris <rgm@gnu.org>
2923
2924 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2925
7f5c46c7
MA
29262011-10-24 Michael Albinus <michael.albinus@gmx.de>
2927
2928 * notifications.el: Add the requirement of a running D-Bus session
2929 bus to the Commentary.
2930
db2440b6
JL
29312011-10-24 Juri Linkov <juri@jurta.org>
2932
2933 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2934 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2935 (Bug#9364)
2936
feecf435
JL
29372011-10-24 Juri Linkov <juri@jurta.org>
2938
2939 * info.el (Info-following-node-name-re): Add newline to the list
2940 of allowed characters for leading space. (Bug#9824)
2941
a3839de2
SM
29422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2943
acc825c5
SM
2944 * progmodes/octave-inf.el (inferior-octave-mode-map):
2945 Fix C-c C-h binding.
a3839de2
SM
2946 * progmodes/octave-mod.el (octave-help): Remove.
2947
09388e76
MA
29482011-10-23 Michael Albinus <michael.albinus@gmx.de>
2949
2950 Sync with Tramp 2.2.3.
2951
2952 * net/tramp-cache.el (top): Pacify byte-compiler using
2953 `init-file-user' and `site-run-file'.
2954
2955 * net/trampver.el: Update release number.
2956
86c60681
CY
29572011-10-23 Chong Yidong <cyd@gnu.org>
2958
2959 * files.el (toggle-read-only): Remove obsolete comment about
2960 version control.
2961
2962 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2963 for toggle-read-only. Note that this hasn't called vc-next-action
2964 since 2008-05-02, though it wasn't documented at the time.
2965
a3839de2
SM
2966 * vc/ediff-init.el (ediff-toggle-read-only-function):
2967 Use toggle-read-only.
86c60681 2968
cd5495ff
AM
29692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2970
2971 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2972 of c-parse-state.
2973
00b77525 2974 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2975 correct faulty logical expression.
cd5495ff
AM
2976 (c-parse-state-state, c-record-parse-state-state):
2977 (c-replay-parse-state-state): New defvar/defuns.
2978 (c-debug-parse-state): Use new functions.
2979
42ee24ed
MR
29802011-10-22 Martin Rudalics <rudalics@gmx.at>
2981
2982 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2983 last fix. Use window-in-direction correctly.
42ee24ed 2984
a7dee7e7
CY
29852011-10-21 Chong Yidong <cyd@gnu.org>
2986
2987 * progmodes/idlwave.el (idlwave-mode):
2988 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2989 require-final-newline; that's done in prog-mode.
2990 Suggested by Stefan Monnier.
a7dee7e7 2991
e07b9a6d
MR
29922011-10-21 Martin Rudalics <rudalics@gmx.at>
2993
2994 * mouse.el (mouse-drag-window-above)
2995 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2996 (mouse-drag-mode-line-1, mouse-drag-header-line)
2997 (mouse-drag-vertical-line-rightward-window): Remove.
2998 (mouse-drag-line): New function.
2999 (mouse-drag-mode-line, mouse-drag-header-line)
3000 (mouse-drag-vertical-line): Call mouse-drag-line.
3001 * window.el (window-at-side-p, windows-at-side): New functions.
3002
7e1361d9
UM
30032011-10-21 Ulrich Mueller <ulm@gentoo.org>
3004
3005 * tar-mode.el (tar-grind-file-mode):
3006 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3007
30fcaf3a
CY
30082011-10-21 Chong Yidong <cyd@gnu.org>
3009
3010 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3011 * progmodes/vera-mode.el (vera-mode):
3012 Use mode-require-final-newline.
30fcaf3a 3013
516eddb0
GM
30142011-10-20 Glenn Morris <rgm@gnu.org>
3015
db22a3c2 3016 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3017
10d5f513
CS
30182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3019
3020 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3021
ac6c8639
CY
30222011-10-20 Chong Yidong <cyd@gnu.org>
3023
3024 * emulation/cua-base.el (cua-mode):
3025 * mail/footnote.el (footnote-mode):
3026 * mail/mailabbrev.el (mail-abbrevs-mode):
3027 * net/xesam.el (xesam-minor-mode):
3028 * progmodes/bug-reference.el (bug-reference-mode):
3029 * progmodes/cap-words.el (capitalized-words-mode):
3030 * progmodes/compile.el (compilation-minor-mode)
3031 (compilation-shell-minor-mode):
3032 * progmodes/gud.el (gud-tooltip-mode):
3033 * progmodes/hideif.el (hide-ifdef-mode):
3034 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3035 * progmodes/subword.el (subword-mode):
3036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3037 * progmodes/which-func.el (which-function-mode):
3038 * term/tvi970.el (tvi970-set-keypad-mode):
3039 * term/vt100.el (vt100-wide-mode):
3040 * textmodes/flyspell.el (flyspell-mode):
3041 * textmodes/ispell.el (ispell-minor-mode):
3042 * textmodes/nroff-mode.el (nroff-electric-mode):
3043 * textmodes/paragraphs.el (use-hard-newlines):
3044 * textmodes/refill.el (refill-mode):
3045 * textmodes/reftex.el (reftex-mode):
3046 * textmodes/rst.el (rst-minor-mode):
3047 * textmodes/sgml-mode.el (html-autoview-mode)
3048 (sgml-electric-tag-pair-mode):
3049 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3050 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3051 * emulation/crisp.el (crisp-mode):
3052 * emacs-lisp/eldoc.el (eldoc-mode):
3053 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3054 minor mode behavior.
3055
aa42ab43
JL
30562011-10-19 Juri Linkov <juri@jurta.org>
3057
3058 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3059 the list of hard-coded chars with escape-glyph face.
3060
89400f1d
SM
30612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3064
305c07f6
MA
30652011-10-19 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3068 running process.
3069
13754b54
GM
30702011-10-19 Glenn Morris <rgm@gnu.org>
3071
3072 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3073 Ignore ignored files. (Bug#9726)
3074
06e21633
CY
30752011-10-19 Chong Yidong <cyd@gnu.org>
3076
3077 Doc fix for minor modes, stating that an omitted argument enables
3078 the mode unconditionally when called from Lisp.
3079
3080 * abbrev.el (abbrev-mode):
3081 * allout.el (allout-mode):
3082 * autoinsert.el (auto-insert-mode):
3083 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3084 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3085 (global-auto-revert-mode):
3086 * battery.el (display-battery-mode):
3087 * composite.el (global-auto-composition-mode)
3088 (auto-composition-mode):
3089 * delsel.el (delete-selection-mode):
3090 * desktop.el (desktop-save-mode):
3091 * dired-x.el (dired-omit-mode):
3092 * dirtrack.el (dirtrack-mode):
3093 * doc-view.el (doc-view-minor-mode):
3094 * double.el (double-mode):
3095 * electric.el (electric-indent-mode, electric-pair-mode):
3096 * emacs-lock.el (emacs-lock-mode):
3097 * epa-hook.el (auto-encryption-mode):
3098 * follow.el (follow-mode):
3099 * font-core.el (font-lock-mode):
3100 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3101 * help.el (temp-buffer-resize-mode):
3102 * hilit-chg.el (highlight-changes-mode)
3103 (highlight-changes-visible-mode):
3104 * hi-lock.el (hi-lock-mode):
3105 * hl-line.el (hl-line-mode, global-hl-line-mode):
3106 * icomplete.el (icomplete-mode):
3107 * ido.el (ido-everywhere):
3108 * image-file.el (auto-image-file-mode):
3109 * image-mode.el (image-minor-mode):
3110 * iswitchb.el (iswitchb-mode):
3111 * jka-cmpr-hook.el (auto-compression-mode):
3112 * linum.el (linum-mode):
3113 * longlines.el (longlines-mode):
3114 * master.el (master-mode):
3115 * mb-depth.el (minibuffer-depth-indicate-mode):
3116 * menu-bar.el (menu-bar-mode):
3117 * minibuf-eldef.el (minibuffer-electric-default-mode):
3118 * mouse-sel.el (mouse-sel-mode):
3119 * msb.el (msb-mode):
3120 * mwheel.el (mouse-wheel-mode):
3121 * outline.el (outline-minor-mode):
3122 * paren.el (show-paren-mode):
3123 * recentf.el (recentf-mode):
3124 * reveal.el (reveal-mode, global-reveal-mode):
3125 * rfn-eshadow.el (file-name-shadow-mode):
3126 * ruler-mode.el (ruler-mode):
3127 * savehist.el (savehist-mode):
3128 * scroll-all.el (scroll-all-mode):
3129 * scroll-bar.el (scroll-bar-mode):
3130 * server.el (server-mode):
3131 * shell.el (shell-dirtrack-mode):
3132 * simple.el (auto-fill-mode, transient-mark-mode)
3133 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3134 (line-number-mode, column-number-mode, size-indication-mode)
3135 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3136 * strokes.el (strokes-mode):
3137 * time.el (display-time-mode):
3138 * t-mouse.el (gpm-mouse-mode):
3139 * tool-bar.el (tool-bar-mode):
3140 * tooltip.el (tooltip-mode):
3141 * type-break.el (type-break-mode-line-message-mode)
3142 (type-break-query-mode):
3143 * view.el (view-mode):
3144 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3145 (global-whitespace-mode, global-whitespace-newline-mode):
3146 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3147
a3839de2
SM
3148 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3149 Fix autogenerated docstring.
06e21633 3150
5214e501
JL
31512011-10-19 Juri Linkov <juri@jurta.org>
3152
3153 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3154 by checking environment variables "DESKTOP_SESSION" and
3155 "XDG_CURRENT_DESKTOP". (Bug#9779)
3156
195f8db9
JL
31572011-10-19 Juri Linkov <juri@jurta.org>
3158
3159 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3160 (browse-url-chromium-program, browse-url-chromium-arguments):
3161 New defcustoms.
3162 (browse-url-default-browser): Check for `browse-url-chromium' and
3163 call `browse-url-chromium-program'.
3164 (browse-url-chromium): New command. (Bug#9779)
3165
343a34ff
JB
31662011-10-18 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * facemenu.el (list-colors-duplicates): On Windows, detect more
3169 duplicates by assuming that only colors matching "^System" are
3170 special "system colors". (Bug#9722)
3171
6978a151
SM
31722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3175 to distinguish the author from the committer.
3176
6a80b297
MA
31772011-10-18 Michael Albinus <michael.albinus@gmx.de>
3178
3179 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3180
b31a5677
JK
31812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3182
3183 * international/mule.el (sgml-html-meta-auto-coding-function):
3184 Add support for detecting encoding in HTML5 specified only as
3185 <meta charset="UTF-8">. Implementation just makes http-equiv and
3186 content-type parts from HTML4 encoding string optional. (Bug#9716)
3187
80c6d77f
GM
31882011-10-18 Glenn Morris <rgm@gnu.org>
3189
3190 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3191
08b0fee8
CY
31922011-10-18 Chong Yidong <cyd@gnu.org>
3193
3194 * faces.el (cursor): Doc fix.
3195
67e729a5
CY
31962011-10-17 Chong Yidong <cyd@gnu.org>
3197
3198 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3199
343a34ff 32002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3201
3202 * dirtrack.el (dirtrack): Support shell buffers with path
3203 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3204
0bc06380
TZ
32052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3206
3207 * json.el: Bump version to 1.3 and note change in History.
3208 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3209
8b79f3e0
SM
32102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3211
5a7c536b
SM
3212 * comint.el (comint-insert-input, comint-send-input)
3213 (comint-get-old-input-default, comint-backward-matching-input)
3214 (comint-next-prompt): Use nil instead of `input' for field property of
3215 past user input (bug#114).
3216
96a8a0df
SM
3217 * minibuffer.el (completion--replace): Inherit surrounding properties
3218 (bug#114).
3219 (minibuffer-complete-and-exit): Use it.
3220
8b79f3e0
SM
3221 * comint.el (comint--table-subvert): Quote the all-completions output
3222 (bug#9160).
3223
b8f7ff0d
MR
32242011-10-17 Martin Rudalics <rudalics@gmx.at>
3225
8b79f3e0 3226 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3227
b8f7ff0d 3228 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3229 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3230 entries and separate them from frame entries.
3231
c235b555
GM
32322011-10-15 Glenn Morris <rgm@gnu.org>
3233
3234 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3235 Doc fixes.
3236
6bbfa6e1
CY
32372011-10-15 Chong Yidong <cyd@stupidchicken.com>
3238
8b79f3e0
SM
3239 * net/network-stream.el (network-stream-open-starttls):
3240 Improve detection of failure due to lack of TLS support.
ec5c990d 3241
6bbfa6e1
CY
3242 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3243 putting the input text in front and in bold.
3244
98488977
SM
32452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3246
3d1337be
SM
3247 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3248
ee0b45e4
SM
3249 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3250 empty buffer.
3251
98488977
SM
3252 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3253 unread-command-events rather than pushing yet-another event.
3254
186f4720
EZ
32552011-10-14 Eli Zaretskii <eliz@gnu.org>
3256
3257 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3258 the explanation of the possible choices. Make the options passed
3259 to completing-read shorter.
3260
8b7a997c
AM
32612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3262
3263 * textmodes/flyspell.el (flyspell-large-region): Make sure
3264 extended character mode is used if defined (Bug#1339).
3265
12587bbb
EZ
32662011-10-13 Eli Zaretskii <eliz@gnu.org>
3267
3268 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3269 character info for LRE, LRO, RLE, and RLO characters by appending
3270 an invisible PDF.
12587bbb 3271
bad41229
SM
32722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3275 even in case of error; add debug spec; simplify data flow.
3276 (with-timeout-handler): Remove.
3277
28dbc92f
MA
32782011-10-12 Michael Albinus <michael.albinus@gmx.de>
3279
3280 Fix Bug#6019, Bug#9315.
3281
3282 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3283 complete `buffer-file-name', the local file name part could look
3284 remotely (for example on VMS).
3285
3286 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3287 `tramp-run-real-handler'.
3288 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3289 already quoted by '"'.
3290
3291 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3292 Let `file-name-handler-alist' be nil, the local file name part
3293 could look remotely (for example on VMS).
3294
e1b0b23a
SM
32952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3298 from here...
3299 (flyspell-post-command-hook): ...to here.
3300
a120bde9
SM
33012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3304 if not needed.
3305 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3306 using completion. Protect against "slow" callers.
3307 Remove the "message hack".
3308
7ce7717b
JL
33092011-10-11 Juri Linkov <juri@jurta.org>
3310
3311 * isearch.el (isearch-lazy-highlight-word): New variable.
3312 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3313 Use it. (Bug#9727)
3314
c02ee9d6
GM
33152011-10-11 Glenn Morris <rgm@gnu.org>
3316
3317 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3318 like f90-previous-statement does.
3319
93e616fd 33202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3321
1f190e73 3322 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3323 only in interactive use, to avoid error.
3324
af7b6078
SM
33252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * minibuffer.el (completion-file-name-table): Fix last change,
3328 i.e. ignore normal errors but not the other ones.
3329
0563dae9
MR
33302011-10-10 Martin Rudalics <rudalics@gmx.at>
3331
3332 * window.el (special-display-buffer-names)
3333 (special-display-regexps): Remove some remnants of earlier
3334 changes from doc-strings.
366ca7f3
MR
3335 (quit-windows-on): New function.
3336
3337 * vc/vc.el (vc-revert, vc-rollback):
3338 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3339 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3340 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3341
49677495
MR
33422011-10-09 Martin Rudalics <rudalics@gmx.at>
3343
3344 * window.el (frame-auto-hide-function): Add version tag.
3345 (Bug#9699)
3346
56f2d1e1
MA
33472011-10-09 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3350 condition.
3351
112a6592
LL
33522011-10-09 Leo Liu <sdl.web@gmail.com>
3353
3354 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3355 (Bug#9701)
3356
0812589b
GM
33572011-10-08 Glenn Morris <rgm@gnu.org>
3358
3359 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3360 before the first code statement zero indent. (Bug#9690)
3361
b2b0776e
CY
33622011-10-08 Chong Yidong <cyd@stupidchicken.com>
3363
3364 * simple.el (count-words-region): Always count in the region.
3365 Report the number of lines and characters too.
3366 (count-words): New command, which counts in the buffer if the
3367 region is inactive, as count-words-region used to.
3368 (count-words--message): New function. Handle plurals.
3369 (count-lines-region): Make it an alias for count-words-region.
3370
3371 * bindings.el (esc-map): Replace count-lines-region with
3372 count-words-region.
3373
c557cd6b
MR
33742011-10-08 Martin Rudalics <rudalics@gmx.at>
3375
3376 * window.el (window--delete): Delete dedicated frame
3377 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3378 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3379
61a57ef4 33802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3381
3a7d293b 3382 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3383
c3833279
CY
33842011-10-07 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * bindings.el ([M-left],[M-right]): Bind to left-word and
3387 right-word respectively.
3388
21ce8245
GM
33892011-10-07 Glenn Morris <rgm@gnu.org>
3390
3391 * cus-start.el (debug-on-quit): Fix custom type.
3392
6d823bb2
LMI
33932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3394
0181e193
LMI
3395 * subr.el (define-key-after): Clarify that the function is not
3396 useful for non-menu keymaps.
3397
6d823bb2
LMI
3398 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3399
8e3459ce 34002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3401
21ce8245 3402 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3403 in current minibuffer (Fix bug with recursive minibuffers).
3404
a1c2d21e
CY
34052011-10-06 Chong Yidong <cyd@stupidchicken.com>
3406
3407 * progmodes/gdb-mi.el (gdb): Doc fix.
3408
5a4cf282
MR
34092011-10-05 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (frame-auto-hide-function): New option replacing
3412 frame-auto-delete. Suggested by Stefan Monnier.
3413 (window--delete): Call frame-auto-hide-function instead of
3414 investigating frame-auto-delete.
c96111ea
MR
3415 (window-point-1, set-window-point-1): New functions.
3416 (window-in-direction, record-window-buffer, window-state-get-1)
3417 (display-buffer-record-window): Use window-point-1 instead of
3418 window-point.
3419 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3420
9854542e
SM
34212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3424
8943cfb0
GM
34252011-10-05 Glenn Morris <rgm@gnu.org>
3426
3427 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3428 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3429
647ab967
LL
34302011-10-05 Leo Liu <sdl.web@gmail.com>
3431
3432 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3433 works with buffer object.
3434
3ddfbced
SM
34352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * mpc.el (mpc-tool-bar-map): Add labels.
3438
bdfa5dd2
GM
34392011-10-04 Glenn Morris <rgm@gnu.org>
3440
3441 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3442
0e2070b5
MR
34432011-10-04 Martin Rudalics <rudalics@gmx.at>
3444
3445 * window.el (window--delete): New function.
3446 (frame-auto-delete): Resuscitate option.
3447 (bury-buffer, replace-buffer-in-windows)
3448 (quit-window): Rewrite using window--delete.
3449 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3450 Pass display-buffer-mark-dedicated to window--display-buffer-2
3451 (Bug#9639).
3452
3dc61a09
SM
34532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3454
915a9b64
SM
3455 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3456 returns a list (bug#9554). Add remote file name completion.
3457 * comint.el (comint--table-subvert): Curry and get quote&unquote
3458 functions as arguments.
3459 (comint--complete-file-name-data): Adjust call accordingly.
3460 * pcomplete.el (pcomplete--table-subvert): Remove.
3461 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3462
3dc61a09
SM
3463 * minibuffer.el (completion-table-case-fold): Use currying.
3464 (completion--styles-type, completion--cycling-threshold-type):
3465 New constants.
3466 (completion-styles, completion-category-overrides)
3467 (completion-cycle-threshold): Use them.
3468 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3469 completion-table-case-fold.
3470
8ea0a993
SB
34712011-10-03 Stephen Berman <stephen.berman@gmx.net>
3472
3473 * minibuffer.el (completion-category-overrides): Fix type of styles
3474 and add more user friendly tags (bug#9660).
3475
8c24b7f6
SM
34762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3479 (mule-input-method-string): New widget.
3480 (default-input-method, language-info-custom-alist): Use it.
3481
428fe61a
SM
34822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3483
32c1fffd
SM
3484 * pcomplete.el: Require comint.
3485 (pcomplete--common-suffix): Remove.
3486 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3487 (pcomplete--table-subvert): Sync with comint--table-subvert.
3488 (pcomplete--entries): Use comint-completion-file-name-table.
3489 * comint.el (comint-unquote-filename): Simplify.
3490 (comint-completion-file-name-table): New function (bug#9616).
3491 (comint--complete-file-name-data): Use it.
3492
428fe61a
SM
3493 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3494 (pcmpl-gnu-tar-buffer): Remove.
3495 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3496 around. Make sure pcomplete-suffix-list is only changed temporarily.
3497 Don't look inside the tar's file if it's too large.
428fe61a 3498
04c52e2f
CY
34992011-10-01 Chong Yidong <cyd@stupidchicken.com>
3500
ce3cefcc
CY
3501 * cus-edit.el (custom-mode-map):
3502 * epa.el (epa-key-list-mode-map):
3503 * man.el (Man-mode-map):
3504 * startup.el (splash-screen-keymap):
3505 * simple.el (special-mode-map): Use scroll-up-command and
3506 scroll-down-command.
3507
3508 * progmodes/idlw-help.el (idlwave-help-mode-map):
3509 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3510 * net/newst-plainview.el (newsticker-mode-map):
3511 * emulation/ws-mode.el (wordstar-mode-map):
3512 * emulation/vi.el (vi-com-map):
3513 * calc/calc-graph.el (calc-graph-show-dumb):
3514 * term/sun.el (terminal-init-sun):
3515 * term/ns-win.el (global-map):
3516 * progmodes/grep.el (grep-mode-map):
3517 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3518 * mail/rmail.el (rmail-mode-map):
3519 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3520
04c52e2f
CY
3521 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3522 custom-safe-themes as special.
3523
79adf8c8
JD
35242011-10-01 Julien Danjou <julien@danjou.info>
3525
3526 * notifications.el (notifications-notify): Fix docstring.
3527
63bd50d3
PS
35282011-10-01 Per Starbäck <per@starback.se>
3529
3530 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3531
199e4c7e
MR
35322011-09-30 Martin Rudalics <rudalics@gmx.at>
3533
3534 * startup.el (command-line-1): Fix last fix by inserting
3535 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3536 (Bug#9605) and (Bug#9636)
199e4c7e 3537
fe5f08dd
EZ
35382011-09-29 Eli Zaretskii <eliz@gnu.org>
3539
3540 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3541 window is hscrolled, move by logical lines. (Bug#9607)
3542 (line-move-visual): Update the doc string to the above effect.
3543
b5516bbd
MR
35442011-09-29 Martin Rudalics <rudalics@gmx.at>
3545
ccee00c0
MR
3546 * window.el (display-buffer-record-window): When WINDOW is the
3547 selected window use `point' instead of `window-point'. (Bug#9626)
3548
b5516bbd
MR
3549 * startup.el (command-line-1): Use insert-before-markers when
3550 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3551
b5516bbd
MR
3552 * help.el (help-window): Remove variable.
3553
52aa0014
GM
35542011-09-29 Glenn Morris <rgm@gnu.org>
3555
3556 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3557
df9a7357
JB
35582011-09-29 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * descr-text.el (describe-char-categories): Accept category
3561 descriptions more than one line long.
3562
a8406c20
SM
35632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3564
88d9610c
SM
3565 * simple.el (delete-trailing-whitespace): Fix last change.
3566
a5daf810
SM
3567 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3568 Don't confuse "y => 3" as the beginning of a `y' operation.
3569
a8406c20
SM
3570 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3571 object has more than 4 slots (bug#9613).
3572
a239d4e9
JB
35732011-09-28 Juanma Barranquero <lekktu@gmail.com>
3574
3575 * subr.el (with-output-to-temp-buffer):
3576 * net/quickurl.el (quickurl, quickurl-browse-url):
3577 Fix typos in docstrings.
3578
693fbdb6
EZ
35792011-09-27 Eli Zaretskii <eliz@gnu.org>
3580
3581 * minibuffer.el (completion-styles)
3582 (completion-category-overrides): Cross reference each other in doc
3583 strings.
3584
8b457e28
GM
35852011-09-27 Glenn Morris <rgm@gnu.org>
3586
3587 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3588 to split-string. (Bug#9606)
3589
85a16208
LMI
35902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3591
3592 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3593 (bug#9615).
3594
502f9ebd
CY
35952011-09-27 Chong Yidong <cyd@stupidchicken.com>
3596
3597 * emacs-lisp/package.el (list-packages): Fix echo area message.
3598
7690bdea
LL
35992011-09-27 Leo Liu <sdl.web@gmail.com>
3600
3601 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3602
e2ee6f30
MA
36032011-09-25 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * net/dbus.el (dbus-unregister-object): Don't release services for
3606 registered signals. (Bug#9581)
3607
f3f98342
TZ
36082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3609
3610 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3611 function that picks between cfengine 2 and 3 support
3612 automatically. Update docs accordingly.
3613
dd7aa8dd
KH
36142011-09-22 Kenichi Handa <handa@m17n.org>
3615
3616 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3617 ZERO.
3618 (indian-itrans-v5-table-for-tamil): New variable.
3619 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3620
3f2b07f8
KM
36212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3622
3623 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3624 that's true if the current command involved collapsing of text.
3625 It's reset to false at the beginning of the next command.
3626 (allout-post-command-business): Move the cursor to the beginning
3627 of entry if the cursor is hidden and collapsing activity just
3628 happened.
3629
371d6a61
CY
36302011-09-24 Chong Yidong <cyd@stupidchicken.com>
3631
3632 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3633 tracking (Bug#9541).
3634
2ac2721a
UJ
36352011-09-24 Ulf Jasper <ulf.jasper@web.de>
3636
3637 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3638 (newsticker-show-news): Automatically load html rendering package
3639 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3640 because w3m-fill-column is let-bound" and the error "Symbol's value
3641 as variable is void: w3m-fill-column".
2ac2721a 3642
fac7ae53
MA
36432011-09-24 Michael Albinus <michael.albinus@gmx.de>
3644
3645 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3646 Release services only if they are defined. (Bug#9581)
3647
e08b633b
RS
36482011-09-23 Richard Stallman <rms@gnu.org>
3649
e488d29c
RS
3650 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3651 distinguish start of paragraph from start of its text.
3652
19c38752
RS
3653 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3654
e08b633b
RS
3655 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3656 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3657 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3658
0a39f27e
AS
36592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3660
3661 * international/mule-diag.el (mule-diag): Insert a newline after
3662 each fontset description.
3663
db4e950d
SM
36642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * simple.el (delete-trailing-whitespace):
3667 Document last change; simplify.
3668
eca3f3ea
PW
36692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3670
d68e189a
PW
3671 * simple.el (delete-trailing-whitespace): Also delete
3672 extra newlines at the end of the buffer.
3673
eca3f3ea
PW
3674 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3675 (picture-newline): Use forward-line so as to ignore fields.
3676
01c157cc
SM
36772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * subr.el (with-wrapper-hook): Fix edebug spec.
3680
022de23e
LMI
36812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3682
3683 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3684 (bug#4538).
3685
91683089
MA
36862011-09-23 Michael Albinus <michael.albinus@gmx.de>
3687
eca3f3ea
PW
3688 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3689 Fix nasty bug using wrong cached values.
91683089 3690
5bdd6fa4
AM
36912011-09-23 Alan Mackenzie <acm@muc.de>
3692
3693 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3694
97adfb97
CY
36952011-09-23 Chong Yidong <cyd@stupidchicken.com>
3696
3697 * window.el (pop-to-buffer): Ensure right window is selected if we
3698 chose another frame.
3699
d4ef2b50
EZ
37002011-09-22 Eli Zaretskii <eliz@gnu.org>
3701
3702 * simple.el (what-cursor-position): Use get-char-property-change
3703 and next-single-char-property-change, to be able to show display
3704 properties that come from overlays as well as text properties.
3705
72258fe5
CY
37062011-09-22 Chong Yidong <cyd@stupidchicken.com>
3707
3708 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3709
3710 * cmuscheme.el (run-scheme, switch-to-scheme):
3711 * cus-edit.el (customize-group, custom-buffer-create)
3712 (customize-browse):
3713 * info.el (info):
3714 * shell.el (shell):
3715 * mail/sendmail.el (mail):
3716 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3717
8f098516
RS
37182011-09-22 Richard Stallman <rms@gnu.org>
3719
3720 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3721 move back only to line beg, don't move back over blank lines.
3722
e74f1bb6
MA
37232011-09-22 Michael Albinus <michael.albinus@gmx.de>
3724
3725 * files.el (copy-directory): Set directory attributes only in case
3726 they could be retrieved from the source directory. (Bug#9565)
3727
bfeef8b6
DK
37282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3729
3730 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3731 (hs-find-block-beginning, hs-hide-level-recursive):
3732 Ignore strings as well as comments. (Bug#9502)
3733
7e423bb8
AS
37342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3735
3736 * progmodes/sql.el (sql-comint-postgres):
3737 Convert port number to a string. (Bug#9566)
3738
b4d72fcf
MR
37392011-09-22 Martin Rudalics <rudalics@gmx.at>
3740
3741 * window.el (quit-window): Undedicate window when switching to
3742 previous buffer. Reported by Thierry Volpiatto
3743 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3744 (special-display-popup-frame): When popping up a new frame reset
3745 its previous buffers to nil. Simplify code.
b4d72fcf 3746
a7b88dc6
MA
37472011-09-21 Michael Albinus <michael.albinus@gmx.de>
3748
3749 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3750 and process filter, as done also in `shell-command'.
3751
cf4eacfd
MR
37522011-09-21 Martin Rudalics <rudalics@gmx.at>
3753
eca3f3ea 3754 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3755 Call set-window-start with NOFORCE argument t.
3756 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3757 (quit-window): Reword doc-string. Handle new format of
3758 quit-restore parameter. Don't delete window if it has a
3759 previous buffer we can show instead of the present one.
3760 (display-buffer-record-window): Rewrite using a new format for
3761 the quit-restore window parameter
3762 (special-display-popup-frame, display-buffer-same-window)
3763 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3764 (display-buffer-pop-up-window, display-buffer-use-some-window):
3765 Adapt symbol passed to display-buffer-record-window.
3766 * help.el (help-window-setup): Handle new format of quit-restore
3767 parameter.
3768
8d28cb95
SM
37692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3770
94ab793f
SM
3771 * faces.el (face-list): Fix docstring (bug#9564).
3772
8d28cb95
SM
3773 * window.el (display-buffer--action-function-custom-type):
3774 Don't include internal functions in the Custom interface.
3775
3820edeb
JL
37762011-09-20 Juri Linkov <juri@jurta.org>
3777
3778 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3779 (Info-forward-node, Info-backward-node, Info-next-preorder)
3780 (Info-last-preorder): Use it. (Bug#9528)
3781
5147931d
JL
37822011-09-20 Juri Linkov <juri@jurta.org>
3783
3784 * info.el (Info-last-preorder): Visit last menu item only when
3785 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3786
cf499a1a
JD
37872011-09-20 Julien Danjou <julien@danjou.info>
3788
3789 * password-cache.el (password-cache-remove): Remove entries even if the
3790 value is nil, so that password with a nil value (negative caching) is
3791 possible to invalidate.
3792
f84e2fe2
LM
37932011-09-20 Lawrence Mitchell <wence@gmx.li>
3794
3795 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3796 all whitespace around breakpoint. (Bug#9553)
3797 (f90-find-breakpoint): Only break at whitespace inside a comment.
3798
78054a46
SM
37992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * minibuffer.el (completion-file-name-table): Keep track of errors.
3802 (completion-table-with-predicate): Handle the case where pred1 is nil.
3803 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3804
345083b2
SM
38052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3806
e24e27be
SM
3807 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3808 (debugger-return-value): Signal an error if the debugging context does
3809 not await any return value.
3810
345083b2
SM
3811 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3812 * image-mode.el (image-toggle-display-text)
3813 (image-toggle-display-image): Stay away from evil `intangible'.
3814
08d355e3
LL
38152011-09-19 Leo Liu <sdl.web@gmail.com>
3816
3817 * replace.el (occur-revert-arguments): Make it permanent-local.
3818 (occur-mode): Don't call font-lock-defontify.
3819
f01da43f
CY
38202011-09-19 Chong Yidong <cyd@stupidchicken.com>
3821
3822 * net/ldap.el (ldap-search-internal): Don't push empty search
3823 result (Bug#9508).
3824
b6072fa6
SM
38252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3828
443d6696
MA
38292011-09-19 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3832 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3833
7cc6e154
JL
38342011-09-18 Juri Linkov <juri@jurta.org>
3835
3836 * buff-menu.el (Buffer-menu-mode-map):
3837 * dired.el (dired-mode-map):
3838 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3839 (lisp-interaction-mode-map):
3840 * emacs-lisp/package.el (package-menu-mode-map):
3841 * epa.el (epa-key-list-mode-map):
3842 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3843 (menu-bar-options-menu):
3844 * outline.el (outline-mode-menu-bar-map):
3845 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3846 * vc/vc-dir.el (vc-dir-menu-map):
3847 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3848 Capitalize non-function content words in menu item strings.
3849
3850 * dired.el (dired-mode-map): Add menu item for
3851 `image-dired-dired-toggle-marked-thumbs'.
3852
80302a81
JL
38532011-09-18 Juri Linkov <juri@jurta.org>
3854
3855 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3856 to `isearch-case-fold-search' and restore its original value
3857 after the `isearch-mode' call.
3858
46c5cf66
JL
38592011-09-18 Juri Linkov <juri@jurta.org>
3860
3861 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3862 because `zgrep' returns 1 for successful matches (bug#9226).
3863
d18b513b
JL
38642011-09-18 Juri Linkov <juri@jurta.org>
3865
3866 * info.el (Info-extract-menu-node-name): Check the second match
3867 for empty string (second test-case of bug#9528).
3868 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3869 intermediate nodes to the history (first test-case of bug#9528).
3870
72753f87
JL
38712011-09-18 Juri Linkov <juri@jurta.org>
3872
3873 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3874 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3875
c9384295
JL
38762011-09-18 Juri Linkov <juri@jurta.org>
3877
1154d12e
JB
3878 * info.el (Info-file-supports-index-cookies):
3879 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3880 outputs one more line for long file names (bug#4142).
c9384295 3881
d473dce8
CY
38822011-09-18 Chong Yidong <cyd@stupidchicken.com>
3883
3884 * newcomment.el (comment-normalize-vars): If prompting for
3885 comment-start, set comment-start-skip too (Bug#8424).
3886
2176854d
JB
38872011-09-18 Johan Bockgård <bojohan@gnu.org>
3888
3889 * icomplete.el: Fix previous fix of Bug#5849.
3890 (icomplete-mode): Don't set completion-show-inline-help.
3891 (icomplete-minibuffer-setup): Set completion-show-inline-help
3892 locally during icompletion.
3893
3aace4e4
CY
38942011-09-18 Chong Yidong <cyd@stupidchicken.com>
3895
c940224f
CY
3896 * woman.el (woman2-process-escapes): Don't delete unrecognized
3897 escapes (Bug#7843).
3898
3aace4e4
CY
3899 * files.el (inhibit-first-line-modes-regexps): Add image files.
3900 (hack-local-variables-prop-line): Return nil for malformed
3901 prop-lines (Bug#9044).
3902
710dec63
MA
39032011-09-18 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * net/tramp.el (top): Don't require 'shell.
3906 (tramp-methods): Fix docstring.
3907 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3908 Return complete remote file name. Handle "smb" case.
3909 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3910 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3911
3912 * net/tramp-compat.el (top): Require 'shell.
3913
3914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3915 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3916 `tramp-current-host'.
3917 (tramp-get-remote-tmpdir): Remove.
3918
3919 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3920 `tramp-tmpdir' entries.
3921 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3922 (tramp-smb-handle-file-attributes): Ignore errors.
3923 (tramp-smb-wait-for-output): Check also for process end.
3924
5d5ac8ec
LMI
39252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3926
3927 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3928 when sending QUIT (bug#9312).
3929
8c0f49f0
CY
39302011-09-17 Chong Yidong <cyd@stupidchicken.com>
3931
3932 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3933 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3934 occur-mode-display-occurrence.
3935 (occur-edit-mode): Add usage message.
3936 (occur-cease-edit): New command.
3937 (occur-after-change-function): Use text properties to find the
3938 position of the prefix text.
3939 (occur-engine): Set stickiness of prefix text properties.
3940
8f1383f7
GM
39412011-09-17 Glenn Morris <rgm@gnu.org>
3942
3943 * progmodes/etags.el (complete-tag):
3944 Fix call to completion-in-region. (Bug#9526)
3945
744ba0e3
JL
39462011-09-17 Juri Linkov <juri@jurta.org>
3947
3948 * textmodes/ispell.el (ispell-word): Add to the error message
3949 the word, ispell program name and current dictionary (bug#9121).
3950 (ispell-tex-arg-end): Capitalize "error" in the error message.
3951
d9bbf400
AS
39522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3953
3954 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3955 check. (Bug#4251)
3956
8da11505
JL
39572011-09-17 Juri Linkov <juri@jurta.org>
3958
3959 * window.el (window-safe-min-height, window-safe-min-width):
3960 Fix typos (followup to bug#9522).
3961
a91adc7e
SJ
39622011-09-17 Sven Joachim <svenjoac@gmx.de>
3963
3964 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3965
064f328a
EZ
39662011-09-16 Eli Zaretskii <eliz@gnu.org>
3967
3968 * simple.el (line-move): If goal-column is set, move by logical
3969 lines, not by display lines. (Bug#971)
3970 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3971 to reflect the above change.
3972
e69df516
SM
39732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * image.el (imagemagick-register-types): Use regexp-opt.
3976
cbb0f9ab
CY
39772011-09-15 Chong Yidong <cyd@stupidchicken.com>
3978
3979 * window.el (display-buffer-base-action): Rename from
3980 display-buffer-default-action. Make default value empty.
3981 (display-buffer-overriding-action): Convert to defvar.
3982 (display-buffer-fallback-action): New var.
3983
25322144
CY
39842011-09-15 Chong Yidong <cyd@stupidchicken.com>
3985
3986 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3987 declaration.
3988 (package--add-to-archive-contents): If there is a duplicate entry
3989 with an older version, remove it.
3990 (package-menu-mark-delete, package-menu-mark-install)
3991 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3992 (package-menu-mark-obsolete-for-deletion):
3993 Use package-menu-get-status instead of a regexp search.
25322144
CY
3994 (package-menu-get-status): Use tabulated-list-entry.
3995 (package-menu-mark-upgrades): New command.
d770725a 3996 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3997 (package-menu-execute): Do installation before deletion.
3998 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3999 instead of checking major-mode.
4000 (package-menu--find-upgrades): New function.
4001
7520339c
LMI
40022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4003
4004 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4005 passwords in the log buffer.
65a046c4
LMI
4006 (smtpmail-process-filter): Update the process marker so that the
4007 "broken by peer" status message is inserted in the right place.
7520339c 4008
d3c30954
SM
40092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4010
3fe48822
SM
4011 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4012 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4013 bibtex-completion-at-point-function.
4014 (bibtex-completion-at-point-function): Use them.
4015
1b8b3954
SM
4016 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4017
d3c30954
SM
4018 * mpc.el (mpc-constraints-tag-lookup): New function.
4019 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4020 also to browser "album|playlist".
4021
72779976
JL
40222011-09-14 Juri Linkov <juri@jurta.org>
4023
4024 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4025 (isearch-edit-string): Use length of `isearch-string' when
4026 `isearch-fail-pos' returns nil.
4027 (isearch-message): Remove duplicate code and call
4028 `isearch-fail-pos' with arg `t'.
4029
a0bf2bcd
CY
40302011-09-14 Chong Yidong <cyd@stupidchicken.com>
4031
17bb0a2d
CY
4032 * replace.el (occur-mode-goto-occurrence): Don't force using other
4033 window (Bug#9499).
4034
a0bf2bcd
CY
4035 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4036
f678e0b6
MR
40372011-09-14 Martin Rudalics <rudalics@gmx.at>
4038
4039 * window.el (display-buffer-window): Remove.
4040 (display-buffer-record-window): Use help-setup window parameter
4041 instead of variable display-buffer-window.
4042 (display-buffer-function, special-display-buffer-names)
4043 (special-display-function): Mention help-setup parameter instead
4044 of display-buffer-window in doc-string.
d3c30954
SM
4045 * help.el (help-window-setup): New argument help-window.
4046 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4047 Reword some messages.
4048 (with-help-window): Pass window used for displaying the buffer
4049 to help-window-setup. Don't set display-buffer-window.
4050
8e39b2e8
GM
40512011-09-13 Glenn Morris <rgm@gnu.org>
4052
4053 * emacs-lisp/debug.el (debugger-make-xrefs):
4054 Preserve point. (Bug#9462)
4055
85e9c04b
CY
40562011-09-13 Chong Yidong <cyd@stupidchicken.com>
4057
4058 * window.el (window-deletable-p): Use next-frame.
4059
1b36ed6a
MR
40602011-09-13 Martin Rudalics <rudalics@gmx.at>
4061
4062 * window.el (window-auto-delete): Remove.
4063 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4064 dedication and previous buffers.
1b36ed6a
MR
4065 (switch-to-prev-buffer): Don't delete window.
4066 (delete-windows-on): Delete a window's frame if and only if the
4067 window is dedicated.
4068 (replace-buffer-in-windows): Delete buffer's window or frame if
4069 and only if window is dedicated.
4070 (quit-window): Handle quit-restore as before last change.
4d61f28d 4071 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4072
ef8ef9fb
CY
40732011-09-13 Chong Yidong <cyd@stupidchicken.com>
4074
4075 * window.el (window-deletable-p): Never delete the last frame on a
4076 given terminal.
4077
b2cba41e
GM
40782011-09-13 Glenn Morris <rgm@gnu.org>
4079
4080 * help.el (describe-key-briefly): Copy previous standard-output change.
4081
51553db6 40822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4083
4084 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4085
b7556719
GM
40862011-09-13 Glenn Morris <rgm@gnu.org>
4087
4088 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4089 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4090
64b51947
CY
40912011-09-12 Chong Yidong <cyd@stupidchicken.com>
4092
4093 * dired-aux.el (dired-mark-read-string): Don't return default
4094 value on empty input (Bug#9361).
4095 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4096 Omit initial minibuffer contents.
4097 (dired-do-chmod): Signal an error on empty input.
4098 (dired-mark-read-string): Don't return default on empty input.
4099
4100 * files.el (file-modes-symbolic-to-number): Doc fix.
4101
393a301e
SM
41022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * international/mule-cmds.el (ucs-completions): Remove.
4105 (read-char-by-name): Use complete-with-action instead; add metadata.
4106
fa5660f9
CY
41072011-09-11 Chong Yidong <cyd@stupidchicken.com>
4108
4109 * window.el (display-buffer--action-function-custom-type)
4110 (display-buffer--action-custom-type): New vars.
4111 (display-buffer-alist, display-buffer-default-action)
4112 (display-buffer-overriding-action): Add defcustom types.
4113
4a592f66
CY
4114 * frame.el (delete-other-frames): Doc fix (Bug#276).
4115
73d56dbd
LMI
41162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117
4118 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4119
37ac18a3
CY
41202011-09-11 Chong Yidong <cyd@stupidchicken.com>
4121
4122 Change modes that used same-window-* vars to use switch-to-buffer.
4123
4124 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4125 Use switch-to-buffer.
4126
4127 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4128 (customize-browse, custom-buffer-create-other-window):
4129 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4130
4131 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4132 (Info-prev, Info-up, Info-speedbar-goto-node)
4133 (info-display-manual): Use switch-to-buffer.
4134 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4135
4136 * mail/sendmail.el (mail): Use switch-to-buffer.
4137 (mail-recover): Use switch-to-buffer-other-window.
4138
4139 * cmuscheme.el (run-scheme, switch-to-scheme):
4140 * ielm.el (ielm):
4141 * shell.el (shell):
4142 * net/rlogin.el (rlogin):
4143 * net/telnet.el (telnet, rsh):
4144 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4145
10195bd6
AS
41462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4147
4148 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4149
b322f63a
LMI
41502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4151
39d7fed6
LMI
4152 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4153 so don't mention it (bug#9301).
ba5a81f1 4154 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4155
ee0e9f11
LMI
4156 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4157 match `x', `w32' and `ns', like the manual says (bug#9029).
4158
0b1c89c1 4159 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4160 (process-kill-buffer-query-function): Mention the buffer name in
4161 the query.
0b1c89c1 4162
77549ea8
LMI
4163 * image-mode.el (image-next-line): The line parameter is mandatory
4164 (bug#9258).
4165
803ef892
LMI
4166 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4167 which can be useful (bug#9301).
4168
12980837
LMI
4169 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4170
91054f8f
LMI
4171 * subr.el (match-string): Mention that the current buffer should
4172 be the same as the search was done in (bug#9282).
4173
b322f63a
LMI
4174 * facemenu.el: Disable the remove-* commands if the mark isn't
4175 active (bug#9162).
4176
3199b96f
CY
41772011-09-10 Chong Yidong <cyd@stupidchicken.com>
4178
4179 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4180 of display-buffer.
4181 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4182
4183 * replace.el (occur-mode-goto-occurrence)
4184 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4185 and display-buffer.
4186
4187 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4188 display-buffer.
4189
4190 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4191 special-display and same-window variables.
4192 (mail-other-window): Use switch-to-buffer-other-window.
4193 (mail-other-frame): USe switch-to-buffer-other-frame.
4194
393a301e
SM
4195 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4196 Use display-buffer-other-frame.
3199b96f
CY
4197 (gdb-display-gdb-buffer): Use pop-to-buffer.
4198
4199 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4200
4201 * progmodes/python.el: Don't set same-window-buffer-names.
4202
4203 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4204
4205 * window.el (display-buffer-alist): Add *Python*.
4206
8319e0bf
CY
42072011-09-10 Chong Yidong <cyd@stupidchicken.com>
4208
4209 * window.el (display-buffer-alist): Add entry for buffers
4210 previously handled same-window-*.
4211 (display-buffer-alist, display-buffer-default-action)
4212 (display-buffer-overriding-action): Mark as risky.
4213 (display-buffer-alist): Document action function changes.
4214 (display-buffer--same-window-action)
4215 (display-buffer--other-frame-action): New variables.
4216 (switch-to-buffer, display-buffer-other-frame): Use them.
4217 (display-buffer): Rename reuse-frame entry to reusable-frames.
4218 (display-buffer-reuse-selected-window): Function deleted.
4219 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4220 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4221 (display-buffer-special): New function.
4222 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4223 display-buffer-reuse-or-pop-window. Split off special-display
4224 part into display-buffer-special.
4225 (display-buffer-use-some-window): Don't perform any special
4226 pop-up-frames handling.
4227 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4228 (display-buffer--maybe-same-window): Rename from
0d3ff375 4229 display-buffer-maybe-same-window.
8319e0bf 4230
919a69aa
CY
4231 * info.el: Don't set same-window-regexps.
4232 (info-setup): New function.
4233 (info-other-window, info): Call it.
4234
4235 * cus-edit.el: Don't set same-window-regexps.
4236 (customize-group): New argument.
4237 (customize-group-other-window): Use it.
4238 (customize-face, customize-face-other-window): Likewise.
4239 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4240
8319e0bf
CY
4241 * net/rlogin.el:
4242 * net/telnet.el:
4243 * progmodes/gud.el: Don't set same-window-regexps.
4244
4245 * cmuscheme.el:
4246 * ielm.el:
4247 * shell.el:
4248 * mail/sendmail.el:
4249 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4250
25173000
JL
42512011-09-10 Juri Linkov <juri@jurta.org>
4252
4253 * isearch.el (isearch-edit-string): Remove obsolete mention of
4254 `C-w' (`isearch-yank-word-or-char') from docstring.
4255 (isearch-query-replace): Fix typo in docstring (bug#9466).
4256
056e44ef
JL
42572011-09-10 Juri Linkov <juri@jurta.org>
4258
4259 * paren.el (show-paren-function): Don't show escaped parens.
4260 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4261
c3760c17
EZ
42622011-09-10 Eli Zaretskii <eliz@gnu.org>
4263
4264 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4265 (mm-default-file-encoding): Remove autoload forms, they are
4266 replaced with autoload cookies in mml.el and mm-encode.el.
4267 (mail-add-attachment): New command.
4268 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4269 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4270 the doc string.
4271 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4272
fece895e
RT
42732011-09-10 Reuben Thomas <rrt@sc3d.org>
4274
e69df516
SM
4275 * simple.el (count-words-region): Use buffer if there's no region
4276 (bug#9429).
fece895e 4277
5e68ce4a
JL
42782011-09-09 Juri Linkov <juri@jurta.org>
4279
4280 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4281 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4282 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4283
0a6b9622
AM
42842011-09-09 Alan Mackenzie <acm@muc.de>
4285
4286 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4287 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4288
14a29deb
EZ
42892011-09-09 Eli Zaretskii <eliz@gnu.org>
4290
4291 Fix for Savannah bug#9392.
4292 * simple.el (mail-encode-mml): New defvar.
4293
4294 * mail/rmail.el (mail-encode-mml): Add a defvar.
4295 (rmail-enable-mime-composing): Default to t.
4296 (rmail-forward): Use MIME method of forwarding only if both
4297 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4298 Set mail-encode-mml non-nil if the MIME method was used.
4299
4300 * mail/sendmail.el (mml-to-mime): Add autoload form.
4301 (mail-encode-mml): Add a defvar.
4302 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4303 to nil.
4304 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4305 message through mml-to-mime, and reset mail-encode-mml to nil.
4306
28c45130
GM
43072011-09-09 Glenn Morris <rgm@gnu.org>
4308
4309 * woman.el (woman-if-body): When processing an .el block,
4310 do not delete the next .el block as well. (Bug#9447)
69f4b618 4311 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4312
9b1c252e
MR
43132011-09-08 Martin Rudalics <rudalics@gmx.at>
4314
4315 * window.el (window-deletable-p): Make sure window is live before
4316 invoking window-prev-buffers.
4317
567457e3
LL
43182011-09-08 Leo Liu <sdl.web@gmail.com>
4319
4320 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4321
97f05794
JL
43222011-09-08 Juri Linkov <juri@jurta.org>
4323
4324 * progmodes/compile.el (compilation-environment): Make it
4325 a defcustom (bug#8340).
4326
8b0874b5
MR
43272011-09-08 Martin Rudalics <rudalics@gmx.at>
4328
4329 * window.el (frame-auto-delete): Rename to window-auto-delete.
4330 Make it control auto-deletion of windows and/or frames.
4331 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4332 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4333 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4334 Rewrite handling of case when window/frame can be deleted.
4335 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4336 argument t. (Bug#9456)
8b0874b5 4337
4feb6e73
CY
43382011-09-07 Chong Yidong <cyd@stupidchicken.com>
4339
4340 * help-mode.el (help-mode): Restore autoload.
4341
91ab9c13
JL
43422011-09-07 Juri Linkov <juri@jurta.org>
4343
4344 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4345 `compilation-environment'. Set buffer-local
4346 `compilation-environment' to `thisenv' later after (funcall mode).
4347 (Bug#8340)
4348
4349 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4350 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4351 instead of replacing its value. (Bug#8340)
4352
0527e251
JL
43532011-09-07 Juri Linkov <juri@jurta.org>
4354
4355 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4356 based on text properties put by `grep-filter' instead of matching
4357 escape sequences.
4358 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4359 to the value of `grep-error-screen-columns' (bug#9438).
4360
249f792c
JL
43612011-09-07 Juri Linkov <juri@jurta.org>
4362
4363 * simple.el (next-error-highlight, next-error-highlight-no-select):
4364 Doc fix (bug#9432).
4365
ff7271b9
OT
43662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4367
4368 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4369 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4370
183fc730
LL
43712011-09-07 Leo Liu <sdl.web@gmail.com>
4372
4373 * net/rcirc.el (rcirc-mode): Conditionally initialize
4374 rcirc-input-ring.
4375
77694924
SM
43762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * emacs-lisp/find-func.el (find-function-C-source): Only set
4379 find-function-C-source-directory after checking that we found a source
4380 file there (bug#9440).
4381
d809b8eb
AM
43822011-09-06 Alan Mackenzie <acm@muc.de>
4383
4384 * isearch.el (isearch-other-meta-char): Wherever a key list is
4385 unread, "unread" the prefix arg, too. This fixes bug #8901.
4386
453de99f
OG
43872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4388
4389 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4390
90439906
JL
43912011-09-05 Juri Linkov <juri@jurta.org>
4392
4393 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4394
f62bd846
JL
43952011-09-05 Juri Linkov <juri@jurta.org>
4396
4397 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4398 keeping point where processing of grep matches begins, and
4399 continue to delete remaining escape sequences from the same point.
4400 (grep-filter): Make leading zero optional in "0?1;31m" because
4401 git-grep emits "\033[1;31m" escape sequences unlike expected
4402 "\033[01;31m" as GNU Grep does (bug#9408).
4403 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4404
045820ec
JL
44052011-09-05 Juri Linkov <juri@jurta.org>
4406
4407 * subr.el (y-or-n-p): Capitalize "yes".
4408
f5e29b9b
MA
44092011-09-04 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4412 `tramp-cache-unload-hook' where appropriate.
4413 (tramp-methods): Rename `tramp-remote-sh' to
4414 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4415 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4416
4417 * net/tramp-sh.el (top): Don't require 'shell.
4418 (tramp-methods): Add `tramp-remote-shell' and
4419 `tramp-remote-shell-args' entries.
4420 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4421 (tramp-sh-handle-shell-command): Remove.
4422 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4423 Use `tramp-remote-shell'.
4424
2784c434
CY
44252011-09-03 Chong Yidong <cyd@stupidchicken.com>
4426
393a301e 4427 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4428 (sendmail-query-once): Save directly to send-mail-function.
4429 Update message-send-mail-function too.
4430
4431 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4432
464cdf56
CS
44332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4434
4435 * progmodes/python.el (python-mode-map): Use correct function to
4436 start python interpreter from menu-bar (as reported by Geert
4437 Kloosterman).
4438 (inferior-python-mode-map): Fix typo.
393a301e 4439 (python-shell-map): Remove.
464cdf56 4440
d37e5c87
DD
44412011-09-03 Deniz Dogan <deniz@dogan.se>
4442
4443 * net/rcirc.el (rcirc-print): Simplify code for
4444 rcirc-scroll-show-maximum-output. There is no need to walk
4445 through all windows to find the right one.
4446
f3ada0ee
CS
44472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4448
4449 * help.el (help-return-method): Doc fix.
4450
1f3c99ca
MR
44512011-09-03 Martin Rudalics <rudalics@gmx.at>
4452
4453 * window.el (window-deletable-p): Don't return a non-nil value
4454 when there's a buffer that was shown in the window before.
4455 (Bug#9419)
393a301e
SM
4456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4457 Set window's previous buffers to nil.
1f3c99ca 4458
a3cf097f
EZ
44592011-09-03 Eli Zaretskii <eliz@gnu.org>
4460
4461 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4462 newline before and after the tag line, so it doesn't interfere
4463 with determining the paragraph direction of bidirectional text.
4464
3d03de90
LL
44652011-09-03 Leo Liu <sdl.web@gmail.com>
4466
4467 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4468
c3313451
CY
44692011-09-02 Chong Yidong <cyd@stupidchicken.com>
4470
393a301e 4471 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4472 (pop-to-buffer): Change interactive spec. Pass second argument
4473 directly to display-buffer.
4474 (display-buffer): Fix interactive spec. Use functionp to
4475 distinguish between a function and a list of functions.
4476
4477 * abbrev.el (edit-abbrevs):
4478 * arc-mode.el (archive-extract):
4479 * autoinsert.el (auto-insert):
4480 * bookmark.el (bookmark-bmenu-list):
4481 * files.el (find-file):
4482 * view.el (view-buffer):
4483 * progmodes/compile.el (compilation-goto-locus):
4484 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4485
89894cd8
CY
44862011-09-02 Chong Yidong <cyd@stupidchicken.com>
4487
4488 * window.el (display-buffer-alist): Doc fix.
4489 (display-buffer): Add docstring. Don't treat
4490 display-buffer-default specially.
4491 (display-buffer-reuse-selected-window)
4492 (display-buffer-same-window, display-buffer-maybe-same-window)
4493 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4494 (display-buffer-pop-up-window)
4495 (display-buffer-reuse-or-pop-window)
4496 (display-buffer-use-some-window): New functions.
4497 (display-buffer-default-action): Use them.
393a301e 4498 (display-buffer-default): Delete.
89894cd8
CY
4499 (pop-to-buffer-1): Fix choice of actions.
4500
ae0bc9fb
SM
45012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * minibuffer.el (completion--insert-strings): Don't get confused by
4504 completion entries that end with an LF char.
4505
e9d90883
EZ
45062011-09-01 Eli Zaretskii <eliz@gnu.org>
4507
4508 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4509
437014c8
CY
45102011-09-01 Chong Yidong <cyd@stupidchicken.com>
4511
4512 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4513 (display-buffer-same-window, display-buffer-other-window):
4514 New functions.
437014c8
CY
4515 (pop-to-buffer-1): New function. Use the above.
4516 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4517 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4518
4519 * view.el (view-buffer-other-window, view-buffer-other-frame):
4520 Just use pop-to-buffer.
4521
a5e063d5
TV
45222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4523
4524 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4525
793d32bb
WH
45262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4527
4528 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4529
d65e4c15
RS
45302011-08-31 Richard Stallman <rms@gnu.org>
4531
4532 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4533 of the separation of rmail-view-buffer from rmail-buffer.
4534 If you say no to "replace original", the decrypt is in the
4535 view buffer. If you say yes, the decrypt goes into the
4536 rmail buffer also.
4537
f818cd2a
MR
45382011-08-31 Martin Rudalics <rudalics@gmx.at>
4539
4540 * window.el (display-buffer-window): Rewrite doc-string.
4541 (display-buffer-record-window): New function.
4542 (display-buffer-macro-specifiers)
4543 (display-buffer-even-window-sizes, display-buffer-set-height)
4544 (display-buffer-set-width, display-buffer-in-window)
4545 (display-buffer-reuse-window, display-buffer-split-specifiers)
4546 (display-buffer-side-specifiers, display-buffer-split-window-1)
4547 (display-buffer-split-window, display-buffer-split-atom-window)
4548 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4549 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4550 (display-buffer-other-window-means-other-frame)
4551 (display-buffer-normalize-special)
4552 (display-buffer-normalize-default)
4553 (display-buffer-normalize-argument)
4554 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4555 (display-buffer-normalize-specifiers, display-buffer-frame)
4556 (display-buffer-same-window, display-buffer-same-frame)
4557 (display-buffer-other-window)
4558 (display-buffer-same-frame-other-window)
4559 (display-buffer-other-frame, pop-to-buffer-same-window)
4560 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4561 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4562 (switch-to-buffer-same-frame)
4563 (switch-to-buffer-other-window-same-frame)
4564 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4565 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4566 (display-buffer-alist-set): Remove.
4567 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4568 (special-display-regexps, special-display-function):
4569 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4570 parameter.
4571 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4572 (special-display-frame-alist, special-display-popup-frame)
4573 (same-window-buffer-names, same-window-regexps, same-window-p)
4574 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4575 (split-window-preferred-function, split-height-threshold)
4576 (split-width-threshold, window-splittable-p)
4577 (split-window-sensibly, window--try-to-split-window)
4578 (window--frame-usable-p, even-window-heights)
4579 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4580 (window--display-buffer-2, display-buffer-other-frame):
4581 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4582 (display-buffer-default, display-buffer-assq-regexp): New functions.
4583 (display-buffer-alist): Rewrite doc-string.
4584 (display-buffer-default-action)
4585 (display-buffer-overriding-action): New variables.
4586 (display-buffer, switch-to-buffer): Rewrite.
4587 (pop-to-buffer): Restore Emacs 23 behavior but use
4588 window-normalize-buffer-to-display.
4589 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4590 Restore Emacs 23 behavior but use
4591 window-normalize-buffer-to-switch-to.
4592 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
4593 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4594 Rewrite using Emacs 23 options.
f818cd2a 4595
5bc3b51d
MA
45962011-08-31 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp.el (tramp-root-regexp): Remove.
4599 (tramp-completion-file-name-regexp-unified)
4600 (tramp-completion-file-name-regexp-separate)
4601 (tramp-completion-file-name-regexp-url): Don't use leading volume
4602 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4603 (tramp-drop-volume-letter): Simplify definition.
4604 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4605
b1a4f8e1
SM
46062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4609 (bug#9356).
4610
5664fa7b
RT
46112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4612
b1a4f8e1 4613 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4614
9a45d6c3
JL
46152011-08-29 Juri Linkov <juri@jurta.org>
4616
4617 * isearch.el (isearch-done): Don't display message "Mark saved"
4618 when arg `edit' is non-nil to prevent its flicker in the echo area.
4619
fb87e0fb
CY
46202011-08-28 Chong Yidong <cyd@stupidchicken.com>
4621
4622 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4623 obsolete packages for deletion.
4624
09ac1c2a
CS
46252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4626
4627 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4628 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4629 view-mode from help-mode.
4630 (help-xref-override-view-map): Remove.
4631 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4632 view-mode is not used anymore.
4633
7a1ff57f
CY
46342011-08-28 Chong Yidong <cyd@stupidchicken.com>
4635
4636 * server.el (server-port): Doc fix.
4637
b9696605
CY
4638 * cus-theme.el (custom-theme-choose-mode): Inherit from
4639 special-mode (Bug#9124).
4640 (custom-theme-choose-mode-map): Add special-mode to parent.
4641
ef8cdf8c
AM
46422011-08-28 Alan Mackenzie <acm@muc.de>
4643
4644 * progmodes/cc-fonts.el
4645 (c-make-font-lock-BO-decl-search-function): New function.
4646 (c-basic-matchers-after - "Fontify the clauses after various
4647 keywords"): Extract the three keyword lists for the 3 erroneous
4648 constructs from the list of four, and use the new function above
4649 in place of an old one.
4650
27de4e20
DD
46512011-08-28 Deniz Dogan <deniz@dogan.se>
4652
4653 * net/rcirc.el (rcirc-insert-prev-input)
4654 (rcirc-insert-next-input): Remove unused argument.
4655
356a3681
SM
46562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4659
3fc9b218
AM
46602011-08-27 Alan Mackenzie <acm@muc.de>
4661
4662 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4663 handle function pointer parameters properly.
4664
538a061c
MR
46652011-08-27 Martin Rudalics <rudalics@gmx.at>
4666
4667 * window.el (display-buffer-reuse-window): Fix case where
4668 selected window was reused with non-nil OTHER-WINDOW argument.
4669 (Bug#9381)
4670
35b1c40c
DD
46712011-08-27 Deniz Dogan <deniz@dogan.se>
4672
4673 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4674 oftc's NickServ messages.
4675
2f6a3e79
GM
46762011-08-27 Glenn Morris <rgm@gnu.org>
4677
4678 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4679
7254299e
CY
46802011-08-26 Chong Yidong <cyd@stupidchicken.com>
4681
4682 * emacs-lisp/package.el (package-install): Call package-initialize
4683 if called interactively.
4684
f8ccf167
LL
46852011-08-26 Leo Liu <sdl.web@gmail.com>
4686
4687 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4688
3e8cd5ce
JL
46892011-08-25 Juri Linkov <juri@jurta.org>
4690
4691 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4692 `search-whitespace-regexp' (bug#9364).
4693
93eb7113
JL
46942011-08-25 Juri Linkov <juri@jurta.org>
4695
4696 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4697 `regexp-search-ring' to their global values to protect from
4698 updating by `read-from-minibuffer' (bug#9185).
4699
f65d1611
JL
47002011-08-25 Juri Linkov <juri@jurta.org>
4701
4702 * textmodes/ispell.el (ispell-command-loop): Add newline
4703 at the end of the "Use option `i'..." line.
4704
f1cf7a31
JL
47052011-08-25 Juri Linkov <juri@jurta.org>
4706
4707 * battery.el (display-battery-mode): If `battery-status-function'
4708 or `battery-mode-line-format' is nil, display the message and set
4709 `display-battery-mode' to nil (bug#9363).
4710
0c95fcf7
EZ
47112011-08-25 Eli Zaretskii <eliz@gnu.org>
4712
4713 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4714 bidi-string-mark-left-to-right; they are unnecessary now.
4715
a2ebe600
DD
47162011-08-25 Deniz Dogan <deniz@dogan.se>
4717
4718 * net/quickurl.el: Documentation typo fixes.
4719
e4ed06f1
CY
47202011-08-25 Chong Yidong <cyd@stupidchicken.com>
4721
4722 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4723
e5f1c99e
GM
47242011-08-25 Glenn Morris <rgm@gnu.org>
4725
b2948976
GM
4726 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4727
e5f1c99e
GM
4728 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4729 (smtpmail-via-smtp): Handle nil response from smtp.
4730
f22f4808
JL
47312011-08-24 Juri Linkov <juri@jurta.org>
4732
4733 * proced.el (proced-marked): Inherit from `error' instead of
4734 `font-lock-warning-face'.
4735
4736 * ibuffer.el (ibuffer-marked-face): Change default face from
4737 `font-lock-warning-face' to `warning'.
4738 (ibuffer-deletion-face): Change default face from
4739 `font-lock-type-face' to `error'.
4740
4741 * battery.el (battery-update): Use the face `error' instead of
4742 `font-lock-warning-face' (bug#6117).
4743
6a93965e
JL
47442011-08-24 Juri Linkov <juri@jurta.org>
4745
4746 * faces.el (success): Change face color from "Green3" to
4747 "ForestGreen" on light background (bug#9353).
4748
1ed43b09
CY
47492011-08-24 Chong Yidong <cyd@stupidchicken.com>
4750
5664fa7b
RT
4751 * window.el (quit-window): Rename from quit-restore-window.
4752 Use same arglist as old quit-window.
1ed43b09
CY
4753 (frame-auto-delete): Doc fix.
4754
4755 * view.el (view-mode-exit): Use quit-window.
4756
11dcdbb2
JL
47572011-08-24 Juri Linkov <juri@jurta.org>
4758
4759 * isearch.el (isearch-ring-adjust1): Start visiting previous
4760 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4761 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4762 for empty search string (when the last search string is reused
4763 automatically) to adjust the isearch ring to the last element and
4764 prepare the correct index for further M-p commands (bug#9185).
4765
de62b4df
KH
47662011-08-24 Kenichi Handa <handa@m17n.org>
4767
4768 * international/ucs-normalize.el: If decomposition property of
4769 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4770 nil.
4771 (nfd, nfkd): Likewise.
4772
963b492b
SM
47732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4776 from process filters aren't reliably transmitted to the surrounding
4777 accept-process-output.
4778 (mpc-proc-check): New function.
4779 (mpc-proc-sync): Use it (bug#8293)
4780
93b6b5e1
SM
47812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4784 Add compatibility functions (bug#9313).
4785
bca633fb
EZ
47862011-08-23 Eli Zaretskii <eliz@gnu.org>
4787
b177498a
EZ
4788 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4789
6df6ae42 4790 * international/uni-bidi.el: Regenerate.
bca633fb 4791
0902a04e
KH
47922011-08-23 Kenichi Handa <handa@m17n.org>
4793
4794 * international/charprop.el:
4795 * international/uni-bidi.el:
4796 * international/uni-category.el:
4797 * international/uni-combining.el:
4798 * international/uni-comment.el:
4799 * international/uni-decimal.el:
4800 * international/uni-decomposition.el:
4801 * international/uni-digit.el:
4802 * international/uni-lowercase.el:
4803 * international/uni-mirrored.el:
4804 * international/uni-name.el:
4805 * international/uni-numeric.el:
4806 * international/uni-old-name.el:
4807 * international/uni-titlecase.el:
4808 * international/uni-uppercase.el: Regenerate.
4809
3bbf23bc
MR
48102011-08-23 Martin Rudalics <rudalics@gmx.at>
4811
4812 * help.el (help-window-setup): Fix message displayed when other
4813 window is reused. (Bug#9341)
4814
b3fd59bd
SM
48152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4816
1802e444
SM
4817 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4818 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4819
b3fd59bd
SM
4820 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4821 Mark obsolete.
4822 * shell.el (shell-parse-pcomplete-arguments): New function.
4823 (shell-completion-vars): Use it instead (bug#9160).
4824
4eb61348
SM
48252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4826
867cab74
SM
4827 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4828 strings and comments (bug#9333).
4829
4eb61348
SM
4830 * emacs-lisp/debug.el (debug-arglist): New function.
4831 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4832 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4833
262a1439
JL
48342011-08-22 Juri Linkov <juri@jurta.org>
4835
56ee679c
JL
4836 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4837 Revert regexp that highlights output switches to its old
4838 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4839
262a1439
JL
4840 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4841 to check for empty output (bug#9226).
4842
f13f86fb
CY
48432011-08-22 Chong Yidong <cyd@stupidchicken.com>
4844
4845 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4846 symbol-constituent as the default, as that stops font-lock from
4847 working properly (Bug#8843).
4848
c65c9622
LMI
48492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4850
4851 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4852 `coding-system-for-*' around the process open call to avoid
4853 auth-source side effects.
e7f2c178 4854 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4855 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4856 probe hangs.
c65c9622 4857
23a8a5ab
CY
48582011-08-21 Chong Yidong <cyd@stupidchicken.com>
4859
ff98b2dd
CY
4860 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4861
23a8a5ab
CY
4862 * emacs-lisp/find-func.el (find-function-noselect): New arg
4863 lisp-only.
4864
4865 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4866 signal an error for built-in functions (Bug#6664).
4867
f5e3c598
LMI
48682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4869
4870 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4871 (smtpmail-try-auth-methods): Use it.
4872
a3f2468a
CY
48732011-08-21 Chong Yidong <cyd@stupidchicken.com>
4874
2c34e8da
CY
4875 * font-lock.el (font-lock-fontify-region)
4876 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4877 (font-lock-default-unfontify-buffer)
4878 (font-lock-default-fontify-region)
4879 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4880
b3fd59bd
SM
4881 * progmodes/compile.el (compilation-error-properties):
4882 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4883 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4884 `ant' regexp.
ee31aabc 4885
a3f2468a
CY
4886 * net/browse-url.el (browse-url-firefox): Don't call
4887 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4888
8e999f70
GM
48892011-08-20 Glenn Morris <rgm@gnu.org>
4890
c21a496a
GM
4891 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4892
59ee0542
GM
4893 * tutorial.el (tutorial--default-keys): Update some default bindings.
4894
8e999f70
GM
4895 * files.el (hack-local-variables): Fully ignore case for "mode:".
4896
e3715033
AM
48972011-08-20 Alan Mackenzie <acm@muc.de>
4898
4899 Resolve invalid use of a regexp in regexp-opt.
4900
4d61f28d
JB
4901 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4902 detection for a java annotation.
e3715033 4903
4d61f28d 4904 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4905 detection for a java annotation.
4906
4d61f28d
JB
4907 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4908 handling for java.
e3715033
AM
4909 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4910
04ed2e9c
CY
49112011-08-20 Chong Yidong <cyd@stupidchicken.com>
4912
4913 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4914 (Bug#9274).
4915
826cee64
AM
49162011-08-20 Alan Mackenzie <acm@muc.de>
4917
58179cce 4918 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4919 such a construct. Mainly for when jit-lock etc. starts a chunk
4920 here.
4921
58179cce 4922 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4923 variable.
58179cce 4924 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4925 c-make-font-lock-search-function.
4926 (c-make-font-lock-search-function): Use the above function.
4927 (c-make-font-lock-context-search-function): New function.
4928 (c-cpp-matchers): Enhance the preprocessor expression case with
4929 the above function
4930 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4931 which takes an expression.
4932
4933 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4934
13009bd8
MR
49352011-08-20 Martin Rudalics <rudalics@gmx.at>
4936
4937 * window.el (display-buffer-reuse-window)
4938 (display-buffer-pop-up-window): Don't reuse or split a side
4939 window.
4940
9234ff7f
GM
49412011-08-19 Glenn Morris <rgm@gnu.org>
4942
4943 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4944 Downcase "Mode:". (Bug#9331)
9234ff7f 4945
f635daa1
CY
49462011-08-18 Chong Yidong <cyd@stupidchicken.com>
4947
4948 * international/characters.el: Add L and R categories.
4949
4950 * subr.el (bidi-string-mark-left-to-right): Rename from
4951 string-mark-left-to-right. Use category search.
4952
4953 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4954
bc987f8b
JL
49552011-08-18 Juri Linkov <juri@jurta.org>
4956
4957 * faces.el (error, warning, success): New faces with definitions
4958 copied from old default values of `font-lock-warning-face',
4959 `compilation-warning', `compilation-info' (bug#6117).
4960
4961 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4962
4963 * progmodes/compile.el (compilation-error): Inherit from `error'.
4964 (compilation-warning): Inherit from `warning'.
4965 (compilation-info): Inherit from `success'.
4966
4967 * dired.el (dired-marked): Inherit from `warning'.
4968 (dired-flagged): Inherit from `error'.
4969
57173b96
LMI
49702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4971
3e79eb87
LMI
4972 * mail/smtpmail.el (auth-source): Require to avoid problems with
4973 binding variables (bug#9298). Also clean up some unused
4974 autoloads.
4975
b3fd59bd
SM
4976 * net/network-stream.el (network-stream-open-starttls):
4977 Support using starttls.el without using gnutls-cli.
57173b96 4978
02b404de
JL
49792011-08-17 Juri Linkov <juri@jurta.org>
4980
4981 * progmodes/grep.el (rgrep): Handle the case when
4982 `grep-find-command' is a cons cell (bug#9278).
4983
8c9177f2
MR
49842011-08-17 Martin Rudalics <rudalics@gmx.at>
4985
4986 * window.el (display-buffer-pop-up-frame): Run frame creation
4987 function with BUFFER current (as special-display-popup-frame
4988 does). Reported by Drew Adams.
4989
3644a0ab
DU
49902011-08-17 Daiki Ueno <ueno@unixuser.org>
4991
4992 * epa-mail.el: Simplify GnuPG group expansion using
4993 epg-expand-group.
4994 (epa-mail-group-alist, epa-mail-group-modtime)
4995 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4996 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4997 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4998 Remove.
4999
5e617bc2 50002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5001
5002 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5003
9c4aeabf
AM
50042011-08-16 Alan Mackenzie <acm@muc.de>
5005
5006 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5007 Correct, to avoid the inside of macros.
5008
3a99bf64
RS
50092011-08-16 Richard Stallman <rms@gnu.org>
5010
04963aa8
RS
5011 * epa-mail.el: Handle GnuPG group definitions.
5012 (epa-mail-group-alist, epa-mail-group-modtime)
5013 (epa-mail-gnupg-conf-file): New variables.
5014 (epa-mail-parse-groups, epa-mail-sync-groups)
5015 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5016 (epa-mail-expand-recipients): New functions.
5017 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5018
177549d0
RS
5019 * mail/rmail.el (rmail-epa-decrypt): New command.
5020
fe38beef
RS
5021 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5022 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5023 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5024 (epa-decrypt-armor-in-region): Make error message clearer.
5025
934eacb9
SM
50262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5029 and "a2b" to "ab" for `prefix'.
5030
d024fb4e
CY
50312011-08-14 Chong Yidong <cyd@stupidchicken.com>
5032
5033 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5034 filter groups.
de148fee
CY
5035 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5036 Fourquet (Bug#8804).
d024fb4e 5037
62f1ca49
JB
50382011-08-12 Juanma Barranquero <lekktu@gmail.com>
5039
5040 * startup.el (argi): Declare as global variable (bug#9275).
5041
9ccaaa4b
CY
50422011-08-12 Chong Yidong <cyd@stupidchicken.com>
5043
5044 * subr.el (string-mark-left-to-right): Search the entire string
5045 for RTL script, not just the terminating character. Doc fix.
5046
a3dae87a
SM
50472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5048
6cd18349
SM
5049 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5050 New function.
5051 (js--regexp-literal, js-syntax-propertize-function): Remove.
5052 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5053 (js-mode-map): Don't rebind electric keys.
5054 (js-insert-and-indent): Remove.
5055 (js-mode): Setup electric-layout and electric-indent instead.
5056
a3dae87a
SM
5057 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5058
9d5cb631
DU
50592011-08-12 Daiki Ueno <ueno@unixuser.org>
5060
5061 * epa.el (epa-progress-callback-function): Fix the logic of
5062 displaying progress.
5063 * epa-file.el (epa-file-insert-file-contents): Make progress
5064 display more user-friendly.
5065 (epa-file-write-region): Ditto.
5066
3e26a4a2
CY
50672011-08-10 Chong Yidong <cyd@stupidchicken.com>
5068
5069 * subr.el (string-mark-left-to-right): New function.
5070
5071 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5072 Use string-mark-left-to-right.
5073 (list-buffers-noselect): Caller changed.
5074
a3dae87a
SM
5075 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5076 Use string-mark-left-to-right.
3e26a4a2
CY
5077 (tabulated-list-print): Recenter after moving point.
5078
ac8cf6e6
JL
50792011-08-10 Juri Linkov <juri@jurta.org>
5080
5081 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5082 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5083 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5084
8d96c9a4
CY
50852011-08-09 Chong Yidong <cyd@stupidchicken.com>
5086
5087 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5088 (Bug#7554).
5089
7be1c708 50902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5091
5092 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5093 character. (Bug#6594)
5094
37e11a63
CY
50952011-08-08 Chong Yidong <cyd@stupidchicken.com>
5096
839dde57
CY
5097 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5098 (image-dired--with-db-file): New macro.
5099 (image-dired-write-tags, image-dired-remove-tag)
5100 (image-dired-create-gallery-lists, image-dired-write-comments)
5101 (image-dired-get-comment, image-dired-mark-tagged-files)
5102 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5103 (image-dired-gallery-generate): Use insert-file-contents.
5104
37e11a63
CY
5105 * time.el (display-time-world-list, display-time-world-display):
5106 * time-stamp.el (time-stamp-string):
5107 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5108 set-time-zone-rule (Bug#7337).
5109
0b4946c4
DU
51102011-08-08 Daiki Ueno <ueno@unixuser.org>
5111
5112 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5113 (epg-error-to-string, epg-errors-to-string): New function.
5114 (epg-wait-for-completion): Reverse errors list.
5115 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5116 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5117 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5118 (epg-sign-keys, epg-generate-key-from-file)
5119 (epg-generate-key-from-string): Format errors by using
5120 epg-errors-to-string (bug#9255).
5121 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5122
75bfc667
JL
51232011-08-07 Juri Linkov <juri@jurta.org>
5124
5125 * faces.el (list-faces-display): Remove extra angle bracket
5126 from `help-mode-map'.
5127
5128 * info.el (Info-history-toc-nodes): Doc fix.
5129
5130 * longlines.el (longlines-mode): Doc fix.
5131
673e08bb
SM
51322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5133
4640dd88
SM
5134 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5135 of statements and in a few more cases (bug#9183).
5136
673e08bb
SM
5137 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5138 New functions.
5139 (cl-transform-lambda): Use them (bug#9239).
5140
89b3f019
MR
51412011-08-05 Martin Rudalics <rudalics@gmx.at>
5142
5143 * window.el (display-buffer-same-window)
5144 (display-buffer-same-frame, display-buffer-other-window)
5145 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5146 (pop-to-buffer-other-window)
5147 (pop-to-buffer-same-frame-other-window)
5148 (pop-to-buffer-other-frame): Make them defuns.
5149 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5150
640c8776
SM
51512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * subr.el (make-composed-keymap): Move from C. Change calling
5154 convention, and improve docstring to bring attention to a subtle point.
5155 * minibuffer.el (completing-read-default): Adjust accordingly.
5156
63648a95
MA
51572011-08-03 Michael Albinus <michael.albinus@gmx.de>
5158
5159 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5160 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5161
5162 * net/trampver.el: Update release number.
5163
b796c9b7
SM
51642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5167 "in" (bug#9190).
5168
2239d7d5
LMI
51692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5170
e07dd7c3
LMI
5171 * mail/sendmail.el (sendmail-query-once): Restore the current
5172 buffer after querying (bug#9074).
5173
0e6a2bd7
LMI
5174 * dired.el (dired-flagged): Use different faces for marked and
5175 flagged files (bug#6117).
5176
ce887515
LMI
5177 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5178 (bug#4433).
5179
92f2affc
LMI
5180 * ido.el (ido-mode): Switch off the message if called
5181 non-interactively.
5182
57d5aff0
LMI
5183 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5184 before 587, since it appears that that's more likely to work for
5185 more people.
5186
98cd6c18 5187 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5188 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5189 exist.
5190
b96dec83
LMI
5191 * info.el: Remove the `Info-beginning-of-buffer' function
5192 (bug#8325).
5193
b796c9b7
SM
5194 * net/network-stream.el (network-stream-open-starttls):
5195 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5196
d90e2ea0
MR
51972011-08-01 Martin Rudalics <rudalics@gmx.at>
5198
5199 * window.el (display-buffer-in-window): Don't set dedicated status
5200 of window here (Bug#9215).
5201 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5202 (display-buffer-pop-up-side-window)
b796c9b7 5203 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5204
cca09170
SM
52052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5208 before binding generated-autoload-file.
5209
027b979c
DD
52102011-08-01 Deniz Dogan <deniz@dogan.se>
5211
5212 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5213
3c7ee4f3
MA
52142011-07-30 Michael Albinus <michael.albinus@gmx.de>
5215
5216 Sync with Tramp 2.2.2.
5217
5218 * net/trampver.el: Update release number.
5219
2cc8e51a
JL
52202011-07-30 Juri Linkov <juri@jurta.org>
5221
5222 * dired-aux.el (dired-touch-initial): Remove function.
5223 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5224 current time, and `default' to the last modification time of the
5225 current marked file (bug#6887).
5226
a514d856
JM
52272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5228
5229 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5230 numeric argument to read-number (bug#9163).
a514d856 5231
8a7eddd7
MA
52322011-07-27 Michael Albinus <michael.albinus@gmx.de>
5233
5234 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5235 connection process, it could be nil.
5236
1ddd96f5
LL
52372011-07-27 Leo Liu <sdl.web@gmail.com>
5238
5239 Simplify url handling in rcirc-mode.
5240
5241 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5242 (rcirc-browse-url-at-mouse): Remove.
5243 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5244
b248a85d
AM
52452011-07-26 Alan Mackenzie <acm@muc.de>
5246
5247 Fontify bitfield declarations properly.
5248
5249 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5250 (c-symbol-chars): Now exported as a lang variable.
5251 (c-not-primitive-type-keywords): New lang variable.
5252
5253 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5254 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5255 parsed as a bitfield declaration.
b248a85d 5256
b796c9b7
SM
5257 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5258 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5259 (c-punctuation-in): New function.
5260 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5261 declarations properly.
5262
68575ab0
UJ
52632011-07-26 Ulf Jasper <ulf.jasper@web.de>
5264
5265 * calendar/icalendar.el (icalendar--all-events): Take care of
5266 multiple vcalendars in a single file.
b796c9b7 5267 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5268
0f0a88b9
DD
52692011-07-25 Deniz Dogan <deniz@dogan.se>
5270
5271 * image.el (insert-image): Clarifying docstring.
5272
0b3f36df
MA
52732011-07-24 Michael Albinus <michael.albinus@gmx.de>
5274
5275 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5276 `tramp-send-command-and-check' if there is no error.
5277 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5278
a9901f61
AM
52792011-07-22 Alan Mackenzie <acm@muc.de>
5280
5281 Prevent cc-langs.elc being loaded at run time.
5282
5283 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5284 cc-langs.
5285
4d61f28d 5286 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5287 "(require 'cc-langs)". Quote a form so it will evaluate at
5288 (cc-mode's) compilation time.
5289
11d074b2
MA
52902011-07-22 Michael Albinus <michael.albinus@gmx.de>
5291
5292 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5293 loading. (Bug#9114)
5294
938b94c8
MR
52952011-07-21 Martin Rudalics <rudalics@gmx.at>
5296
5297 * window.el (display-buffer-pop-up-window)
5298 (display-buffer-pop-up-side-window)
5299 (display-buffer-in-side-window): Call display-buffer-set-height
5300 and display-buffer-set-width after setting the new window's
b796c9b7 5301 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5302
bfa4f190
SS
53032011-07-20 Sam Steingold <sds@gnu.org>
5304
5305 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5306 (etags-tags-included-tables): Call `convert-standard-filename' on
5307 the file names contained in TAGS so that windows Emacs can handle
5308 TAGS files created by cygwin ctags.
5309
8ca42262
LMI
53102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5311
5312 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5313 which apparently didn't work.
5314
5db2afd2 53152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5316
5db2afd2
RW
5317 * proced.el (proced-send-signal): For *Marked Processes* buffer
5318 put point at beginning of buffer.
5319
92e15d10
SB
53202011-07-19 Stephen Berman <stephen.berman@gmx.net>
5321
5322 * proced.el (proced-format): Make header lines align with the text
5323 (bug#1779).
5324
1bfd59e5
LMI
53252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5326
5327 * view.el (view-buffer): Allow running in `special' modes if we're
5328 visiting a file (bug#8615).
5329
f5aae37c
MR
53302011-07-19 Martin Rudalics <rudalics@gmx.at>
5331
5332 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5333 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5334 New functions.
f5aae37c
MR
5335 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5336 more accurately.
5337
bf2c1571
AM
53382011-07-18 Alan Mackenzie <acm@muc.de>
5339
5340 Fontify declarators properly when, e.g., a jit-lock chunk begins
5341 inside a declaration.
5342
5343 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5344
b796c9b7
SM
5345 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5346 New function.
bf2c1571
AM
5347 (c-complex-decl-matchers): Insert reference to
5348 c-font-lock-enclosing-decls.
5349
5350 * progmodes/cc-engine.el (c-backward-single-comment):
5351 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5352 to nil around calls to (forward-comment -1).
5353
4e190b80
LMI
53542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5355
12dc863d
LMI
5356 * image.el (put-image): Doc typo fix.
5357
a762e966
LMI
5358 * progmodes/etags.el (tags-search): Doc typo fix.
5359
4e190b80
LMI
5360 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5361 password if we get errors 550 to 554.
5362
f019fb21
LMI
53632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5364
b796c9b7 5365 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5366
81746738
LMI
5367 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5368 indentation character (bug#6380).
5369
3ee3a1b5
LMI
5370 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5371
c82f64de
LMI
5372 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5373 to clarify what the problem is (bug#4291).
5374
f019fb21
LMI
5375 * simple.el (current-kill): Clarify what
5376 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5377 (auto-fill-mode): Document `auto-fill-function' in relation to
5378 `auto-fill-mode' (bug#2470).
f019fb21 5379
0794775d
LM
53802011-07-16 Lawrence Mitchell <wence@gmx.li>
5381
5382 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5383 method if slot is read-only (bug#9035).
5384
be39b8cc
MR
53852011-07-16 Martin Rudalics <rudalics@gmx.at>
5386
b796c9b7 5387 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5388 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5389 selected before, see discussion of (Bug#8615), (Bug#6954).
5390 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5391
6ccf7859
GM
53922011-07-15 Glenn Morris <rgm@gnu.org>
5393
5394 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5395 Respect help-form.
6ccf7859 5396
87e86684
LM
53972011-07-09 Lawrence Mitchell <wence@gmx.li>
5398
5399 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5400 (gnutls-negotiate): Use it.
5401
d6066239
LMI
54022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5403
b796c9b7
SM
5404 * net/gnutls.el (gnutls-negotiate):
5405 Upcase `gnutls-algorithm-priority'.
d6066239 5406
bd23ebc0
GM
54072011-07-15 Glenn Morris <rgm@gnu.org>
5408
c65bca65
GM
5409 * jka-compr.el (jka-compr-verbose): Move from here...
5410 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5411 Add missing :version tag.
5412 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5413
478615cc
LMI
54142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5415
7b41decb
LMI
5416 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5417 (gnutls-negotiate): Use it.
5418
dbc44fcd
LMI
5419 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5420
06789f97
LMI
5421 * info.el (Info-beginning-of-buffer): New command.
5422 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5423 announcing `b' as the key (bug#8325).
ab896c37 5424 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5425
c39da690
LMI
5426 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5427
3aa5f34b
LMI
5428 * international/mule-cmds.el
5429 (describe-specified-language-support): Make the error message
5430 clearer (bug#8905).
5431
4bf0979f
LMI
5432 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5433
478615cc
LMI
5434 * isearch.el (isearch-barrier): Add a doc string, since it's
5435 mentioned in a function doc string (bug#8678).
5436
75c68aa1
MR
54372011-07-15 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5440 buffer argument (Bug#9083) and self-identifying label argument.
5441
a7c33da2
GM
54422011-07-15 Glenn Morris <rgm@gnu.org>
5443
5444 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5445
2f5c6024
LMI
54462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5447
5448 * man.el (Man-fontify-manpage): Fix message when formatting the
5449 man page (bug#7929).
5450
0bb23927 54512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5452
5453 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5454 argument LRM; if non-nil, append an invisible LRM character to the
5455 buffer name.
5456 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5457 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5458 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5459 paragraph direction.
cce4b0a7 5460
621ef9ab
LMI
54612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5462
d1583c48
LMI
5463 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5464 the man page name (bug#7929).
5465
6a57fb5f
LMI
5466 * image.el (put-image): Mention the `put-image' overlay property
5467 (bug#7834).
5468
d7956b14
LMI
5469 * scroll-bar.el (set-scroll-bar-mode): Mention that
5470 `scroll-bar-mode' lists the values (bug#7772).
5471
5b2d4a66
LMI
5472 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5473 command (bug#7729).
5474
7509a874
LMI
5475 * rect.el (apply-on-rectangle): Return the point after the last
5476 operation.
5477 (string-rectangle): Go to the point after the last operation
5478 (bug#7522).
5479
4fe74b19
LMI
5480 * printing.el (pr-toggle-region): Clarify the documentation
5481 slightly (bug#7493).
5482
b796c9b7
SM
5483 * time.el (display-time-update):
5484 Allow `display-time-mail-function' to return nil (bug#7158).
5485 Fix suggested by Detlev Zundel.
ab283561 5486
fc233c9d
LMI
5487 * vc/diff.el (diff): Clarify the order the file names are read
5488 (bug#7111).
5489
43f5740b
LMI
5490 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5491 the doc string (bug#7015).
5492
f2182a76
LMI
5493 * font-lock.el (font-lock-maximum-decoration): Mention what
5494 numeric levels mean (bug#6935).
5495
621ef9ab
LMI
5496 * startup.el (initial-buffer-choice): Don't mention the `none'
5497 selection, which is against policy.
5498
adc47434
MR
54992011-07-14 Martin Rudalics <rudalics@gmx.at>
5500
b796c9b7
SM
5501 * window.el (display-buffer-normalize-special):
5502 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5503
7e5bfb8f
EZ
55042011-07-14 Eli Zaretskii <eliz@gnu.org>
5505
5506 * subr.el (version<, version<=, version=): Mention "-CVS" and
5507 "-12345" alpha version numbers.
5508
27fa387a
CY
55092011-07-14 Chong Yidong <cyd@stupidchicken.com>
5510
5511 * bindings.el: Add advertised binding for set-mark-command
5512 (Bug#5772).
5513
8bdfa064
CY
55142011-07-14 Chong Yidong <cyd@stupidchicken.com>
5515
5516 * bindings.el (mode-line-other-buffer):
5517 * bookmark.el (bookmark-bmenu-2-window):
5518 * bs.el (bs-cycle-next, bs-cycle-previous):
5519 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5520 switch-to-buffer.
5521
5522 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5523 Delete.
8bdfa064 5524
5eba16a3
JB
55252011-07-14 Juanma Barranquero <lekktu@gmail.com>
5526
5527 * follow.el (follow-debug-message, follow-redisplay):
5528 * jka-cmpr-hook.el (with-auto-compression-mode):
5529 Fix typos in docstrings.
5530
15853710
LMI
55312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5532
a28e4607
LMI
5533 * subr.el (with-silent-modifications): Clarify somewhat what the
5534 macro inhibits (bug#6525).
5535
15853710
LMI
5536 * simple.el (eval-expression): Note what it does if called
5537 interactively (bug#6495).
5538
bee0fcef
CY
55392011-07-13 Chong Yidong <cyd@stupidchicken.com>
5540
b796c9b7
SM
5541 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5542 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5543
5544 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5545 Remove switch-to-buffer.
5546
58274504
LMI
55472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5548
bd2fcc8d
LMI
5549 * files.el (make-directory): Clarify that an error will be raised
5550 if there's an error (bug#6397).
5551
0f04b32c
LMI
5552 * startup.el (initial-buffer-choice): Add `none' as a choice
5553 (bug#6234).
5554
465c5fc8
LMI
5555 * subr.el (add-hook): Clarify section about buffer-local hooks
5556 (bug#6218).
5557
58274504
LMI
5558 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5559
bead9a43
JB
55602011-07-13 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * tabify.el (untabify): Preserve the current column so that point
5563 doesn't move (bug#6032).
5564
3af98a7b
LMI
55652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
b796c9b7
SM
5567 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5568 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5569
6240145a
GM
55702011-07-13 Glenn Morris <rgm@gnu.org>
5571
5572 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5573 (dired-insert-directory): Give a message the first time
5574 if ls is found not to support --dired.
5575
1d8c2ccc
LMI
55762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5577
5578 * simple.el (toggle-truncate-lines): Clarify what is toggled
5579 (bug#5580). Text by Drew Adams.
5580
5fc4038e
CY
55812011-07-13 Chong Yidong <cyd@stupidchicken.com>
5582
5583 * simple.el (blink-matching-open): Make the error message from the
5584 last change less verbose.
5585
bf6012e5
DN
55862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5587
5588 * font-lock.el (font-lock-comment-face): Use the high contrast
5589 "yellow" color for font-lock-comment-face on low color terminals
5590 using a dark background color (bug#4221).
5591
343c3b5a
LMI
55922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593
7e9505c5
LMI
5594 * dired.el (dired-insert-set-properties): Make the doc string
5595 reflect what it does now (bug#5325).
5596
c26fdcf5
LMI
5597 * simple.el (blink-matching-open): Say that we were unable to find
5598 the match within the limit, if we're limited (bug#5122).
5599
bb388cc5
LMI
5600 * international/mule-cmds.el (prefer-coding-system): Add an
5601 example (bug#4869).
5602
343c3b5a
LMI
5603 * progmodes/etags.el (tags-search): Document `file-list-form'
5604 (bug#4731).
5605
2a517d45
LM
56062011-07-13 Lawrence Mitchell <wence@gmx.li>
5607
5608 * net/browse-url.el (browse-url-default-browser)
5609 (browse-url-browser-function): Make the default browser choice a
5610 bit more logical (bug#4300). Also clean up the doc string.
5611
b6c78ef2
JB
56122011-07-13 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5615 binary endings (bug#4440).
5616
1c4dd947
LMI
56172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5618
a2014063
LMI
5619 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5620 which can be pretty annoying (bug#8971).
5621
9c9c2d88
LMI
5622 * jka-compr.el (jka-compr-verbose): New variable, and use
5623 throughout (bug#8971).
5624
1c4dd947
LMI
5625 * info.el (Info-find-file): Fall back on the installation
5626 directory if we can't find the info node anywhere else.
5627
a1c9f41b
SO
56282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5629
5630 * vc/vc.el (vc-revert-file):
5631 Don't set file time-stamp in the past. (Bug#5181)
5632
536f3d36
LMI
56332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5634
7152b011
LMI
5635 * files.el (after-find-file): Give a better error message when
5636 trying to find a symlink that points to a file that doesn't exist
5637 (bug#4398).
5638
536f3d36
LMI
5639 * progmodes/cc-vars.el: Remove (probably) misleading comment
5640 (bug#4396).
5641
460c0fba
JB
56422011-07-12 Johan Bockgård <bojohan@gnu.org>
5643
5644 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5645
7a6bda45
CY
56462011-07-12 Chong Yidong <cyd@stupidchicken.com>
5647
5648 * mouse-sel.el: Hack restoring functionality, while keeping
5649 compatibility with 2010-07-03 changes to mouse selection.
5650 (mouse-sel-primary-overlay): New var.
5651 (mouse-sel-selection-alist): Use it.
5652 (mouse-sel-mode): Doc fix; remove points that are default features
5653 of mouse.el.
5654
c79598ef
JB
56552011-07-12 Johan Bockgård <bojohan@gnu.org>
5656
5657 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5658 Fix previous fix (bug#2490).
5659
ff8be6ef
RW
56602011-07-12 Roland Winkler <winkler@gnu.org>
5661
b796c9b7
SM
5662 * textmodes/bibtex.el (bibtex-initialize):
5663 Use pop-to-buffer-same-window.
ff8be6ef
RW
5664 (bibtex-search-entries): Fix interactive call.
5665
296ba3ee
LMI
56662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5667
f5242a02 5668 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5669 Fontise bytecomp Error lines more correctly (bug#2490).
5670 Fix suggested by Johan Bockgård.
f5242a02 5671
296ba3ee
LMI
5672 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5673
5674 * dired-x.el (dired-guess-default): Use `delete-dups'.
5675
f69fd0d2
CY
56762011-07-12 Chong Yidong <cyd@stupidchicken.com>
5677
5678 * dired.el (dired-mark-prompt):
5679 * dired-aux.el (dired-read-shell-command): Doc fix.
5680
eab5dc07
LMI
56812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
b796c9b7
SM
5683 * mail/sendmail.el (sendmail-query-once):
5684 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5685 emacs -Q.
5686
5687 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5688
eab5dc07
LMI
5689 * cus-edit.el (custom-file): Take an optional no-error variable.
5690 (customize-save-variable): Set the variable, and give a warning if
5691 running under "emacs -q".
5692
a1e65d42
JB
56932011-07-11 Juanma Barranquero <lekktu@gmail.com>
5694
5695 * loadhist.el (unload-feature-special-hooks):
5696 Add `auto-coding-functions', `fill-nobreak-predicate' and
5697 `find-directory-functions' (bug#5327).
5698
1d52da10
LMI
56992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
be958f1d
LMI
5701 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5702
5bedb26c
LMI
5703 * cus-edit.el (custom-guess-name-alist): -alist variables should
5704 use the `alist' type (bug#3120). Suggested by Drew Adams.
5705
1d52da10
LMI
5706 * printing.el: Add documentation to all the `pr-toggle-' commands.
5707
cd394be1 57082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5709
5710 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5711 backends where it makes sense (bug#2623).
5712
dcc88d8a
LMI
57132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5714
c3de9feb
LMI
5715 * dired-x.el (dired-guess-default): Remove duplicate shell command
5716 entries (bug#2028).
8a93078b 5717 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5718 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5719
dcc88d8a
LMI
5720 * subr.el (remove-duplicates): New conveniency function.
5721
505e3645
LMI
57222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5723
5724 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5725 (bug#1526).
5726
57272011-07-10 Martin Rudalics <rudalics@gmx.at>
5728
5729 * window.el (display-buffer-normalize-default): Don't invert
5730 meaning of even-window-heights. Reported by Eli Zaretskii
5731 <eliz@gnu.org>.
5732
455e4fa1
BR
57332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5734
5735 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5736
8e0bc3e9
CY
57372011-07-10 Chong Yidong <cyd@stupidchicken.com>
5738
5739 * window.el (display-buffer): Fix arguments to
5740 display-buffer-reuse-window in last change.
5741
fa7c3228
CY
5742 * faces.el (link): Use a less saturated blue on light backgrounds.
5743
5744 * startup.el (fancy-startup-text, fancy-about-text)
5745 (fancy-startup-tail): Use font-lock faces, for background safety.
5746
c0a7f300
BN
57472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5748
b796c9b7
SM
5749 * emulation/viper-cmd.el (viper-change-state-to-vi):
5750 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5751
4dc2a129
MR
57522011-07-09 Martin Rudalics <rudalics@gmx.at>
5753
5754 * window.el (display-buffer-default-specifiers): Remove.
5755 (display-buffer-macro-specifiers): Remove default specifiers.
5756 (display-buffer-alist): Default to nil.
b796c9b7 5757 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5758 (display-buffer-pop-up-window): Allow splitting internal
5759 windows. Check whether a live window was created.
5760 (display-buffer-other-window-means-other-frame)
5761 (display-buffer-normalize-arguments): Rename to
5762 display-buffer-normalize-argument and rewrite. Set the
5763 other-window specifier.
5764 (display-buffer-normalize-special): New function.
5765 (display-buffer-normalize-options): Rename to
5766 display-buffer-normalize-default and rewrite.
5767 (display-buffer-normalize-options-inhibit): Remove.
5768 (display-buffer-normalize-specifiers): Rewrite.
5769 (display-buffer): Process other-window specifier and call
5770 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5771 more faithfully.
b796c9b7 5772 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5773 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5774 (display-buffer-in-window, display-buffer-alist-set):
5775 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5776 <tassilo@member.fsf.org>.
5777
2d43b8c9
LL
57782011-07-09 Leo Liu <sdl.web@gmail.com>
5779
5780 * register.el (insert-register): Restore accidental change on
5781 2011-06-26. (Bug#9028)
5782
7f9b7c53
GM
57832011-07-09 Glenn Morris <rgm@gnu.org>
5784
5785 * subr.el (remq): Handle the empty list. (Bug#9024)
5786
f042cfd8
AS
57872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5788
5789 * mail/sendmail.el (send-mail-function): No longer delay custom
5790 initialization.
5791 * custom.el (custom-initialize-delay): Doc fix.
5792
856b2f11
SM
57932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5796
afae1d68
MA
57972011-07-08 Michael Albinus <michael.albinus@gmx.de>
5798
5799 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5800 human-friendly prompt.
5801
0757af94
SM
58022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5805 provided by a particular plugin.
5806
d760b731
LMI
58072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5808
5809 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5810 save customizations (with "emacs -Q"), just set the variable
5811 instead of erroring out.
5812
5813 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5814
cd79ce90
JL
58152011-07-08 Juri Linkov <juri@jurta.org>
5816
5817 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5818 (archive-zip-update-case): Use 7z if found by `executable-find'.
5819 The order of searching the available programs is the same as in
5820 `archive-zip-extract' (bug#8968).
5821
14cc04aa
CY
58222011-07-07 Chong Yidong <cyd@stupidchicken.com>
5823
5824 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5825 (menu-bar-options-menu): Tweak descriptions.
5826
0a1848ec
LMI
58272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5828
5829 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5830 menu items into verb phrases (bug#1421). Also refill to fit under
5831 80 columns.
5832
f5bd0689
CY
58332011-07-07 Chong Yidong <cyd@stupidchicken.com>
5834
538e85c6
CY
5835 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5836 (Info-read-node-name): Doc fix (Bug#1084).
5837
f5bd0689
CY
5838 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5839 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5840 (end-of-sexp, beginning-of-sexp)
5841 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5842 (forward-symbol, forward-same-syntax, word-at-point)
5843 (sentence-at-point): Doc fix (Bug#1144).
5844
56ec5115
LMI
58452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5846
f3f8e37f
LMI
5847 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5848 should cover it (bug#1281).
5849
0757af94 5850 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5851
e9fce1ac 5852 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5853 negotiation fails, then possibly try again with a non-encrypted
5854 connection (bug#9017).
5855
56ec5115
LMI
5856 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5857 be used.
5858
c2f9aec8
RS
58592011-07-07 Richard Stallman <rms@gnu.org>
5860
5861 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5862 property, and handle its changed format.
5863 Look for the correct line number.
5864 Use file's line contents (but not past first =) to find
5865 correct line in message.
5866
ef7b981d 58672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5868
5869 * international/characters.el (build-unicode-category-table):
5870 Delete it.
0757af94 5871 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5872
0757af94 5873 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5874 to src/chartab.c.
5875 (get-char-code-property): Call unicode-property-table-internal to
5876 load a file. Call get-unicode-property-internal where necessary.
5877 (put-char-code-property): Call unicode-property-table-internal to
5878 load a file. Call put-unicode-property-internal where necessary.
5879 put-unicode-property-internal where necessary.
0757af94
SM
5880 (char-code-property-description):
5881 Call unicode-property-table-internal to load a file.
c805dec0
KH
5882
5883 * international/charprop.el:
5884 * international/uni-bidi.el:
5885 * international/uni-category.el:
5886 * international/uni-combining.el:
5887 * international/uni-comment.el:
5888 * international/uni-decimal.el:
5889 * international/uni-decomposition.el:
5890 * international/uni-digit.el:
5891 * international/uni-lowercase.el:
5892 * international/uni-mirrored.el:
5893 * international/uni-name.el:
5894 * international/uni-numeric.el:
5895 * international/uni-old-name.el:
5896 * international/uni-titlecase.el:
5897 * international/uni-uppercase.el: Regenerate.
5898
5899 * loadup.el: Load international/charprop.el before
5900 international/characters.
5901
e14b388a
CY
59022011-07-07 Chong Yidong <cyd@stupidchicken.com>
5903
5904 * window.el (next-buffer, previous-buffer): Signal an error if
5905 called from a minibuffer window.
5906
5907 * bindings.el: Revert 2011-07-04 change.
5908
354cf0ba
RS
59092011-07-06 Richard Stallman <rms@gnu.org>
5910
5911 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5912 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5913 Treat markers like ints.
5914 (rmail-mime-entity): Doc fix.
5915
a48868a7
LMI
59162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5917
4906cd3d
LMI
5918 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5919 defcustom again for backwards compatibility.
5920
e0457abe
LMI
5921 * simple.el (shell-command-on-region): Fill.
5922
d67f7e1f
LMI
5923 * dired-aux.el (dired-kill-line): Add a doc string.
5924
fe204702
LMI
5925 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5926 to "\\sw\\|\\s_" (bug#358).
5927
a48868a7
LMI
5928 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5929 (dired-unmark-backward): Ditto.
5930 (dired-flag-backup-files): Ditto.
5931
5932 * dired-x.el (dired-mark-sexp): Ditto.
5933
aa8a705c
RS
59342011-07-06 Richard Stallman <rms@gnu.org>
5935
5936 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5937 (rmail-mime-entity): New arg TRUNCATED.
5938 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5939 New functions.
5940 (rmail-mime-save): Warn if entity is truncated.
5941 (rmail-mime-toggle-hidden): Likewise, for showing.
5942 (rmail-mime-process-multipart): Record when an entity is truncated.
5943
a9a936b9
RS
5944 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5945 if ENTITY is a string.
5946
1f2b92cb
LMI
59472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5948
f4f73198 5949 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5950 of faces when `M-C-x'-ing their definitions (bug#8378).
5951 Also clean up the code slightly.
f4f73198 5952
12b16734 5953 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5954 because that makes the colors go away.
12b16734 5955
f0691d22
LMI
5956 * mail/sendmail.el (send-mail-function): Change the default to
5957 `sendmail-query-once'.
9e87df06 5958 (sendmail-query-once): Add an autoload cookie.
f0691d22 5959
1f2b92cb
LMI
5960 * net/network-stream.el (network-stream-open-starttls): Try using
5961 a plain connection even if the server offered STARTTLS, and we
5962 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5963 capability. This should make smtpmail.el work in slightly more
5964 configurations.
5965
1cdd2a1b
MA
59662011-07-06 Michael Albinus <michael.albinus@gmx.de>
5967
5968 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5969 New defun.
5970 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5971
fbcc67e2
MM
59722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5973
5974 * progmodes/sql.el: Version 3.0
0757af94 5975 (sql-product-alist): Add product :completion-object,
fbcc67e2 5976 :completion-column, and :statement attributes.
0757af94 5977 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5978 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5979 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5980 ansi keywords.
5981 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5982 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5983 (sql-oracle-show-reserved-words): New function for development.
5984 (sql-product-font-lock): Simplify for source code buffers.
5985 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5986 New functions.
5987 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5988 (sql-mode-map): Add statement movement functions.
5989 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5990 New variable.
fbcc67e2
MM
5991 (sql-statement-regexp, sql-beginning-of-statement)
5992 (sql-end-of-statement, sql-signum): New functions.
0757af94 5993 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5994 (sql-show-sqli-buffer): Bug fix.
5995 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5996 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5997 with sql-interactive-mode.
5998 (sql-save-connection): Save buffer local settings.
0757af94 5999 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6000 (sql-product-interactive): Bug fix.
6001 (sql-preoutput-hold): New variable.
6002 (sql-interactive-remove-continuation-prompt): Bug fixes.
6003 (sql-debug-redirect): New variable.
6004 (sql-str-literal): New function.
6005 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6006 Redesign.
fbcc67e2
MM
6007 (sql-oracle-save-settings, sql-oracle-restore-settings)
6008 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6009 (sql-completion-object, sql-completion-column)
6010 (sql-completion-sqlbuf): New variables.
6011 (sql-build-completions-1, sql-build-completions)
6012 (sql-try-completion): New functions.
6013 (sql-read-table-name): Use them.
6014 (sql-contains-names): New buffer local variable.
6015 (sql-list-all, sql-list-table): Use it.
6016 (sql-oracle-completion-types): New variable.
6017 (sql-oracle-completion-object, sql-sqlite-completion-object)
6018 (sql-postgres-completion-object): New functions.
6019
d4eaeab1
GM
60202011-07-06 Glenn Morris <rgm@gnu.org>
6021
6022 * window.el (pop-to-buffer): Doc fix.
6023
322b7dab 60242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6025
6026 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6027
322b7dab 60282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6029
322b7dab 6030 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6031
322b7dab 6032 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6033
605dd5bf
CY
60342011-07-05 Chong Yidong <cyd@stupidchicken.com>
6035
6036 * button.el (button): Inherit from link face. Suggested by Dan
6037 Nicolaescu.
6038
7dbfa719
SM
60392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6040
3db614b0
SM
6041 * progmodes/gdb-mi.el: Fit in 80 columns.
6042 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6043 switch-to-buffer.
6044
7dbfa719
SM
6045 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6046 if imenu is simply not configured (bug#8941).
6047
919d884a
KM
60482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6049
6050 * allout.el (allout-post-undo-hook): New allout outline-change
6051 event hook to signal undo activity.
6052 (allout-post-command-business): Run allout-post-undo-hook if an
6053 undo just occurred.
7dbfa719
SM
6054 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6055 * allout-widgets.el (allout-widgets-after-undo-function):
6056 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6057 in the vicinity of an undo.
6058 (allout-widgets-mode): Include allout-widgets-after-undo-function
6059 on the new allout-post-undo-hook.
6060
450a0f09
SM
60612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6064 Let define-derived-mode define it.
6065 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6066 cycles of abbrev-table inheritance (bug#8998).
6067
2de69e00
RW
60682011-07-05 Roland Winkler <winkler@gnu.org>
6069
6070 * textmodes/bibtex.el: Add support for biblatex.
6071 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6072 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6073 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6074 (bibtex-entry-alist, bibtex-field-alist): New variables.
6075 (bibtex-entry-field-alist): Obsolete alias for
6076 bibtex-BibTeX-entry-alist.
6077 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6078 (bibtex-set-dialect): New command.
6079 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6080 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6081 Bind via bibtex-set-dialect.
2de69e00
RW
6082 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6083 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6084 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6085 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6086 Define via bibtex-set-dialect.
450a0f09
SM
6087 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6088 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6089 (bibtex-vec-push, bibtex-vec-incr): New functions.
6090 (bibtex-format-entry, bibtex-field-list)
6091 (bibtex-print-help-message, bibtex-validate)
6092 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6093
2dcdbdd9
SM
60942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * progmodes/compile.el (compilation-goto-locus):
6097 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6098 * bs.el (bs-cycle-next, bs-cycle-previous):
6099 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6100 * bindings.el (mode-line-other-buffer):
6101 * autoinsert.el (auto-insert):
6102 * arc-mode.el (archive-extract):
6103 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6104
b27640fe
JB
61052011-07-05 Juanma Barranquero <lekktu@gmail.com>
6106
6107 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6108 Fix check of `emacs-lock-unlockable-modes'.
6109 Coerce true values of `emacs-lock--try-unlocking' to t.
6110
53bbe3ad
JB
61112011-07-05 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6114 * emacs-lock.el: New file.
6115
1d3cdbc7
JD
61162011-07-05 Julien Danjou <julien@danjou.info>
6117
6118 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6119 than `boundp' to check if face is set.
6120
9173deec
JB
61212011-07-05 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * register.el (registerv-make):
6124 * window.el (window-min-height): Fix typos in docstrings.
6125
869795d6
JD
61262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6127
9173deec 6128 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6129 Update doc string.
6130
b768cdcd
JB
61312011-07-04 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * server.el (server-execute): Catch quit and call
6134 `server-return-error' to pass the error back to emacsclient and
6135 close the connection (bug#8942).
6136
13aa217b
KM
61372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6138
6139 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6140 insecure exception for current topic. Also note that auto-saves
6141 are handled differently.
6142
6143 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6144 State variables for tracking auto-save inhibition situation.
6145
6146 (allout-write-contents-hook-handler): Rename from
6147 'allout-write-file-hook-handler', and describe how it depends on
6148 write-contents-functions sensitivity to non-nil value to prevent
6149 file write.
6150
6151 (allout-auto-save-hook-handler): Remove. auto-save does not check
6152 this in individual buffers, only in the starting buffer, so this
6153 is not the right way for us to inhibit auto-save in a buffer
6154 according to its condition.
6155
6156 (allout-mode): Use new allout-write-contents-hook-handler, and
6157 only with write-contents-functions. Remove auto-save provisions -
6158 they're implemented elsewhere.
6159
6160 (allout-before-change-handler): If undo is in progress, note that
6161 for attention of allout-post-command-business.
6162
6163 (allout-post-command-business): If the command we're following was
6164 an undo, check for change in the status of encrypted items and
6165 adjust auto-save inhibitions accordingly.
6166
6167 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6168 according to whether there are or aren't any plain-text topics
6169 pending encryption.
6170
2dcdbdd9 6171 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6172 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6173 if there are plain-text topics pending encryption.
13aa217b
KM
6174
6175 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6176 buffer-saved-size and some allout state to not inhibit auto-saves
6177 if there are no longer any plain-text topics pending encryption.
6178
0757af94
SM
6179 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6180 No longer provide for exemption of the current topic.
13aa217b 6181
ac89b32c
JL
61822011-07-04 Juri Linkov <juri@jurta.org>
6183
6184 Add 7z operations to delete and save changed members (bug#8968).
6185 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6186 New defcustoms.
6187 (archive-7z-write-file-member): New function.
6188 (archive-7z-summarize): Fix the number of dashes in the
6189 listing output.
6190
8fa39615
SM
61912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6194 (bug#8958).
6195
2f11b3f1
CY
61962011-07-04 Chong Yidong <cyd@stupidchicken.com>
6197
d66fef2b
CY
6198 * bindings.el: Ignore next-buffer and previous-buffer in
6199 minibuffer-local-map.
6200
2f11b3f1
CY
6201 * font-lock.el (font-lock-builtin-face): Change light background
6202 color to dark slate blue (Bug#6693).
6203
f932a347
WD
62042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6205
6206 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6207
c8af70e1
SM
62082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6211 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6212 Add switch-to-buffer.
6213
f158badc
LMI
62142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6215
6216 * isearch.el (isearch-search-fun-function): Clarify further the
6217 meaning of the function returned.
6218
6d95bd46
MA
62192011-07-04 Michael Albinus <michael.albinus@gmx.de>
6220
6221 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6222
6223 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6224 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6225 Use it.
6226 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6227 `tramp-default-remote-path' does not exist.
6228 (tramp-send-command-and-read): New optional argument NOERROR.
6229 (tramp-open-connection-setup-interactive-shell)
6230 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6231 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6232 (tramp-process-sentinel): Flush also process' connection property.
6233 (tramp-sh-handle-start-file-process): Do not set process
6234 sentinel. It is done now ...
6235 (tramp-maybe-open-connection): ... here. (Bug#8929)
6236
909e6b67
MK
62372011-07-04 MON KEY <monkey@sandpframing.com>
6238
6239 * play/animate.el (animate-string): Doc fixes and allow changing
6240 the buffer name (bug#5417).
6241
62422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6243
c8af70e1 6244 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6245
f34755dc
PE
62462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6247
396cec72
PE
6248 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6249 This is simpler and helps future-proof the code.
6250 (timer-until): Use time-subtract and float-time.
08235028 6251 (timer--time-less-p): Use time-less-p.
f34755dc 6252
56e6cc31
JB
62532011-07-04 Juanma Barranquero <lekktu@gmail.com>
6254
3abb79e5
JB
6255 * type-break.el (timep): Use the value of `float-time' to avoid a
6256 byte-compiler warning.
6257
56e6cc31
JB
6258 * server.el (server-eval-and-print): Return any result, even nil.
6259
7b9430b4
PE
62602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6261
6262 * type-break.el: Accept time formats that the builtins accept.
6263 (timep, type-break-time-difference): Accept any format that
6264 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6265 This is simpler and helps future-proof the code.
6266 (type-break-time-difference): Round rather than ignoring
6267 subseconds components.
6268
3034e9e7
LMI
62692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6270
6271 * info.el (Info-apropos-matches): Make non-interactive, since it
6272 doesn't seem to do anything useful as a command (bug#8829).
6273
1485f4c0
CY
62742011-07-03 Chong Yidong <cyd@stupidchicken.com>
6275
6276 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6277 Move from faces.el.
1485f4c0
CY
6278 (frame-default-terminal-background): New function.
6279
6280 * custom.el (custom-push-theme): Don't record faces in `changed'
6281 theme; this doesn't work correctly for per-frame face settings.
6282 (disable-theme): Use face-set-after-frame-default to reset faces.
6283 (custom--frame-color-default): New function.
6284
9fa3dd45
LMI
62852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6286
c8af70e1 6287 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6288 (bug#8769).
6289
6cbbc20c
KR
62902011-03-29 Kevin Ryde <user42@zip.com.au>
6291
6292 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6293 `perl-Test2' extend to match possible "fail #N" rep count
6294 (bug#8377).
6295
c7f98048
LMI
62962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
65676592
LMI
6298 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6299 `smtpmail-via-smtp' now returns the error instead of nil.
6300
c7f98048
LMI
6301 * isearch.el (isearch-search-fun-function): Clarify the doc string
6302 (bug#8101).
6303
56e6cc31 63042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6305
6306 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6307 unnecessary spaces (bug#8987).
6308
2b216704
LMI
63092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6310
6311 * net/network-stream.el (open-network-stream): Use the
6312 :end-of-capability command thoughout.
6313
63142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6315
6316 * net/network-stream.el (open-network-stream): Add the
6317 :end-of-capability command parameter, used by pop3.el.
6318
36adf6ce
LMI
63192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6320
1ca0da0e
LMI
6321 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6322
fc00f69c
LMI
6323 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6324 for list)" (bug#6475).
6325
28fd8759 6326 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6327 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6328 an error (bug#6297).
6329
0dd8b6da
LMI
6330 * man.el (Man-reference-regexp): Allow matching possible
6331 word-wrapped references (bug#6289).
6332
ce1438d6
LMI
6333 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6334 for consistency with the other vc buffers (bug#6197).
6335 (vc-checkin): Ditto.
6336
6337 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6338
36adf6ce
LMI
6339 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6340
e83cc1f7
LMI
63412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342
8a20ca4c
LMI
6343 * custom.el (defcustom): Clarify that :set is only used in the
6344 Customize user interface (bug#6089).
6345
83319045
LMI
6346 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6347 associated with a file, refuse to run instead of erroring out
6348 (bug#6084).
6349
a8392169
LMI
6350 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6351 the doc string, since it appears that using `fill-column' always
6352 controls the width (bug#7845).
6353
e83cc1f7
LMI
6354 * simple.el (shell-command-on-region): Say where the error output
6355 went if `shell-command-default-error-buffer' is set (bug#6857).
6356
e47ca23b
KM
63572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6358
6359 * allout.el (allout-yank-processing): Adjust cursor position for
6360 backwards-deleted space.
6361
6362 (allout-rebullet-heading): Register changes with
6363 allout-exposure-changed-hook, so the modified topic is properly
6364 decorated.
6365
5cf56143
LMI
63662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6367
08549772
LMI
6368 * minibuffer.el (completion-in-region): Document PREDICATE
6369 (bug#7136).
6370
48e96771
LMI
6371 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6372 of keyword/argument pairs (bug#6904).
6373
c8af70e1
SM
6374 * replace.el (multi-occur):
6375 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6376
e17d05e2
LMI
63772011-07-02 Drew Adams <drew.adams@oracle.com>
6378
6379 * dired.el (dired-mark-if): Make the message about whether it's
6380 marking or unmarking clearer (bug#8523).
6381
063b0e45
LMI
63822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6383
6384 * disp-table.el (display-table-print-array): New function.
6385 (describe-display-table): Use it to print the vectors more pretty
6386 (Bug#8859).
6387
28545e04
MR
63882011-07-02 Martin Rudalics <rudalics@gmx.at>
6389
6390 * window.el (window-state-get-1): Don't assign clone numbers.
6391 Add clone-of item to list of window parameters.
6392 (window-state-put-2): Don't process clone numbers.
6393 (display-buffer-alist): Fix doc-string.
6394
3349e122
SM
63952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * subr.el (remq): Don't allocate if it's not needed.
6398 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6399 (keymap--merge-bindings): New functions.
6400 (keymap-canonicalize): Use them to refine the canonicalization.
6401 * minibuffer.el (minibuffer-local-completion-map)
6402 (minibuffer-local-must-match-map): Move initialization from C.
6403 (minibuffer-local-filename-completion-map): Move initialization from C;
6404 don't inherit from anything here.
6405 (minibuffer-local-filename-must-match-map): Make obsolete.
6406 (completing-read-default): Use make-composed-keymap to combine
6407 minibuffer-local-filename-completion-map with either
6408 minibuffer-local-must-match-map or
6409 minibuffer-local-filename-completion-map.
6410
d224ac83
GM
64112011-07-01 Glenn Morris <rgm@gnu.org>
6412
3de63bf8
GM
6413 * type-break.el (type-break-time-sum): Use dolist.
6414
d224ac83
GM
6415 * textmodes/flyspell.el (flyspell-word-search-backward):
6416 Replace CL function.
6417
1a1e3f32
SM
64182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6419
fe3f64d5
SM
6420 * mouse.el (mouse--strip-first-event): New function.
6421 (function-key-map): Use it to map fringe clicks to normal clicks
6422 by default.
6423
eb604e34
SM
6424 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6425 (vc-bzr-revision-completion-table): Add support for annotate and date.
6426
1a1e3f32
SM
6427 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6428 inherit from parent.
6429
5bd35902
LMI
64302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431
ace6c69c 6432 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6433 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6434
191e2bed
LMI
6435 * dired.el (dired-mode): Fix up the doc string as suggested by
6436 Drew Adams (bug#8817).
6437
5bd35902
LMI
6438 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6439 cookie, since the manual says that it should be possible to add
6440 this function to `find-file-hook' (bug#8709).
6441
eee8207a
TZ
64422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6443
6444 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6445 here. Noted Ted Zlatanov as the maintainer.
6446 (cfengine-common-settings, cfengine-common-syntax): New functions
6447 to set up common things between `cfengine-mode' and
6448 `cfengine3-mode'.
6449 (cfengine3-mode): New mode.
6450 (cfengine3-defuns cfengine3-defuns-regex
6451 (cfengine3-class-selector-regex cfengine3-category-regex)
6452 (cfengine3-vartypes cfengine3-font-lock-keywords)
6453 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6454 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6455
36b148cf
MA
64562011-07-01 Michael Albinus <michael.albinus@gmx.de>
6457
6458 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6459
6460 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6461
0bf4ba9a
MR
64622011-07-01 Martin Rudalics <rudalics@gmx.at>
6463
6464 * window.el (same-window-buffer-names, same-window-regexps)
6465 (same-window-p, special-display-frame-alist)
6466 (special-display-popup-frame, special-display-function)
6467 (special-display-buffer-names, special-display-regexps)
6468 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6469 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6470 (split-window-preferred-function, split-height-threshold)
6471 (split-width-threshold, even-window-heights)
6472 (display-buffer-mark-dedicated, window-splittable-p)
6473 (split-window-sensibly, window-safely-shrinkable-p):
6474 Un-obsolete.
6475 (display-buffer): Don't spread args with function specifier
6476 because special-display-popup-frame won't like it.
6477
35837f51
PE
64782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6479
d0672f86
PE
6480 Time-stamp simplifications and fixes.
6481 These improve accuracy slightly, and future-proof the code
6482 against some potential changes to current-time format.
6483
b9444d97
PE
6484 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6485 by using time-since and float-time.
6486
0ef923dc
PE
6487 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6488 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6489 + NNN microseconds".
6490
2f81380d
PE
6491 * type-break.el (type-break-time-sum): Rewrite using time-add.
6492
845b5c3e
PE
6493 * play/hanoi.el (hanoi-current-time-float): Remove.
6494 All uses replaced by float-time.
6495
ee6f1be0
PE
6496 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6497 This yields a more-accurate answer.
6498 (rng-time-to-float): Remove; no longer needed.
6499
fe955043
PE
6500 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6501
5777162a
PE
6502 * calendar/timeclock.el (timeclock-seconds-to-time):
6503 Defalias to seconds-to-time, since they're the same thing.
6504
3103f8b6 6505 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6506 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6507 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6508
0e61a35f
SM
65092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * window.el (bury-buffer): Don't iconify the only frame.
6512 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6513 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6514
ddd63a1e
CY
65152011-07-01 Chong Yidong <cyd@stupidchicken.com>
6516
0e61a35f
SM
6517 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6518 Add mouse-yank-primary.
ddd63a1e 6519
055f4923
TZ
65202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6521
6522 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6523
6a2fb145
SM
65242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6527 (find-library-name): Use it to find relative load names when provided
6528 absolute file name (bug#8803).
6529
fd4983f2
LMI
65302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6531
887d14ad
LMI
6532 * textmodes/flyspell.el (flyspell-word): Consider words that
6533 differ only in case as potential doublons (bug#5687).
6534
c53dc7fc
LMI
6535 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6536 Remove two rather uninteresting debugging-like messages to make
6537 debbugs.el more silent.
6538
fd4983f2
LMI
6539 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6540 a password-like phrase.
6541
7a71b18d 65422011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6543
6544 * progmodes/cc-guess.el: New file.
6545
6a2fb145 6546 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6547
6548 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6549 derived from `c-basic-common-init'.
6550
6551 * progmodes/cc-mode.el (top-level): Require cc-guess.
6552 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6553
1fa280a3
LM
65542011-06-30 Lawrence Mitchell <wence@gmx.li>
6555
6556 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6557
e6597158
AM
65582011-06-30 Alan Mackenzie <acm@muc.de>
6559
1fa280a3
LM
6560 * progmodes/cc-engine.el (c-guess-continued-construct):
6561 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6562 lock is disabled. Name this case as "CASE G".
6563
68ba37fb
KM
65642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6565
6566 * allout.el (allout-yank-processing): Fix injection of extra space
6567 between bullet and non-whitespace character in first topic when
6568 pasting, ensuring that the actual spacing in the pasted topic
6569 following the bullet char is preserved. This extra space was
6570 causing pasted encrypted topics to get a decrypted status even
6571 when the content was actually still encrypted. Now the decryption
6572 status from before the paste is preserved.
6573
6574 (allout-flag-region): Set all allout overlays so they evaporate
6575 when reduced to zero length (evanescent), to prevent overlay
6576 leakage.
6577
887a0b34
GM
65782011-06-30 Glenn Morris <rgm@gnu.org>
6579
94b9acce
GM
6580 * w32-fns.el (w32-charset-info-alist): Declare.
6581
1d9b46d4
GM
6582 * find-dired.el (find-grep-options): Simplify.
6583
cc232200
GM
6584 * term/ns-win.el (ns-set-resource): Declare.
6585
28e77c46
GM
6586 * ses.el (row, col): Declare dynamic variables honestly.
6587
887a0b34
GM
6588 * textmodes/reftex-parse.el (index-tags): Declare.
6589
658d8eb8
CY
65902011-06-30 Chong Yidong <cyd@stupidchicken.com>
6591
6592 * cus-edit.el (customize-push-and-save): New function.
6593
6594 * files.el (hack-local-variables-confirm): Use it.
6595
1fa280a3
LM
6596 * custom.el (load-theme): New arg NO-CONFIRM.
6597 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
6598 (custom-enabled-themes): Doc fix.
6599
6600 * cus-theme.el (customize-create-theme)
6601 (custom-theme-merge-theme): Callers to load-theme changed.
6602
bb617717
LMI
66032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6604
d61bdd5d
LMI
6605 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6606 short URLs have at least one dot in them (bug #7614).
6607
bb617717
LMI
6608 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6609 nil, because using a pty is apparently too slow (bug #895).
6610
2f31f37a
LMI
66112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6612
6613 * mail/sendmail.el (sendmail-query-once): New function.
6614 (sendmail-query-once-function): New variable.
6615
3076b24e
GM
66162011-06-29 Glenn Morris <rgm@gnu.org>
6617
faf2a174
GM
6618 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6619
3076b24e
GM
6620 * ses.el (top-level): Require cl when compiling.
6621 (ses-set-localvars): Fix error statement.
6622 Call it at compile time to silence a storm of warnings.
6623
5386012d
MR
66242011-06-29 Martin Rudalics <rudalics@gmx.at>
6625
6626 * window.el (normalize-live-buffer): Rename to
6627 window-normalize-buffer.
6628 (normalize-live-frame): Rename to window-normalize-frame.
6629 (normalize-any-window): Rename to window-normalize-any-window.
6630 (normalize-live-window): Rename to window-normalize-live-window.
6631 (make-window-atom): Rename to window-make-atom.
6632 (window-resize-reset): Rename to window--resize-reset.
6633 (window-resize-reset-1): Rename to window--resize-reset-1.
6634 (resize-mini-window): Rename to window--resize-mini-window.
6635 (resize-subwindows-skip-p): Rename to
6636 window--resize-subwindows-skip-p.
6637 (resize-subwindows-normal): Rename to
6638 window--resize-subwindows-normal.
6639 (resize-subwindows): Rename to window--resize-subwindows.
6640 (resize-other-windows): Rename to window--resize-siblings.
6641 (resize-this-window): Rename to window--resize-this-window.
6642 (resize-root-window): Rename to window--resize-root-window.
6643 (resize-root-window-vertically): Rename to
6644 window--resize-root-window-vertically.
6645 (normalize-buffer-to-display): Rename to
6646 window-normalize-buffer-to-display.
6647 (normalize-buffer-to-switch-to): Rename to
6648 window-normalize-buffer-to-switch-to.
6649 Correspondingly update all callers of the functions listed
6650 above.
6651 (display-buffer-alist, display-buffer-normalize-arguments)
6652 (display-buffer-normalize-options, display-buffer)
6653 (display-buffer-alist-set): Use "function" instead of
6654 "fun-with-args".
6655
1176868d
CY
66562011-06-28 Chong Yidong <cyd@stupidchicken.com>
6657
6658 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6659 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6660 debbugs.gnu.org. Mention acknowledgment email.
6661
20a7a65f
LMI
66622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6663
6664 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6665 buffer multibyteness, since it shouldn't matter.
6666
5f45cca5
MR
66672011-06-28 Martin Rudalics <rudalics@gmx.at>
6668
6669 * window.el (display-buffer-in-side-window): Handle dedicated
6670 windows as in display-buffer-reuse-window.
6671 (display-buffer-normalize-alist): Use value of override
6672 specifier.
6673 (display-buffer-normalize-specifiers): Use value of
6674 other-window-means-other-frame specifier.
6675 (display-buffer-alist): Rewrite some texts in widgets.
6676 (display-buffer): Spread arguments when calling function
6677 specified by fun-with-args.
6678
ad85fe1f
DD
66792011-06-28 Deniz Dogan <deniz@dogan.se>
6680
1fa280a3
LM
6681 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6682 Unnest `let'.
da68c4c8 6683
ad85fe1f
DD
6684 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6685 selectors (Bug#5732).
ec49bd31 6686 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6687
a08cc025
JA
66882011-06-27 Jari Aalto <jari.aalto@cante.net>
6689
6690 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6691 (eshell-ls-date-format): New defcustom.
6692 (eshell-ls-file): Use it.
6693
e2b551c5
SM
66942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6697
8982b231
KY
66982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6699
6700 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6701 (ange-ftp-make-tmp-name): New arg.
6702 (ange-ftp-file-local-copy): Use it.
6703
36c9fa27
J
67042011-06-27 Jambunathan K <kjambunathan@gmail.com>
6705
6706 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6707 no-conversion (Bug#8870).
6708
d68443dc
MR
67092011-06-27 Martin Rudalics <rudalics@gmx.at>
6710
6711 * window.el (window-right, window-left, window-child)
6712 (window-child-count, window-last-child)
6713 (window-iso-combination-p, walk-window-tree-1)
6714 (window-atom-check-1, window-tree-1, delete-window)
6715 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6716 new naming conventions - window-vchild, window-hchild,
6717 window-next and window-prev are now called window-top-child,
6718 window-left-child, window-next-sibling and window-prev-sibling
6719 respectively.
d615d6d2
MR
6720 (resize-window-reset): Rename to window-resize-reset.
6721 (resize-window-reset-1): Rename to window-resize-reset-1.
6722 (resize-window): Rename to window-resize.
6723 (window-min-height, window-min-width)
6724 (resize-mini-window, resize-this-window, resize-root-window)
6725 (resize-root-window-vertically, adjust-window-trailing-edge)
6726 (enlarge-window, shrink-window, maximize-window)
6727 (minimize-window, delete-window, quit-restore-window)
6728 (split-window, balance-windows, balance-windows-area-adjust)
6729 (balance-windows-area, window-state-put-2)
6730 (display-buffer-even-window-sizes, display-buffer-set-height)
6731 (display-buffer-set-width, set-window-text-height)
6732 (fit-window-to-buffer): Rename all "resize-window" prefixed
6733 calls to use the "window-resize" prefix convention.
6734 (display-buffer-alist): Fix symbol for label specifier.
6735 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6736 corresponding specifier.
6737 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6738
b6458526
VB
67392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6740
6741 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6742 convention.
6743 (ses-call-printer): Does not pass an empty string to formatter when the
6744 cell is empty to keep from barking printer Calc math-format-value.
6745
d31fd9ac
RS
67462011-06-27 Richard Stallman <rms@gnu.org>
6747
43d5bf84
RS
6748 * battery.el (battery-mode-line-limit): New variable.
6749 (battery-update): Handle it.
6750
d31fd9ac
RS
6751 * mail/rmailmm.el (rmail-mime-process-multipart):
6752 Handle truncated messages.
6753
819a6054
GM
67542011-06-27 Glenn Morris <rgm@gnu.org>
6755
6756 * progmodes/flymake.el (flymake-err-line-patterns):
6757 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6758
cedc73f2
VB
67592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6760
819a6054 6761 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6762 (ses--clean-!, ses--clean-_): New functions.
6763 (ses-range): Add configurability of readout order, and conversion
6764 to Calc vector.
6765
5e5d49b6
VB
6766 * ses.el (ses-repair-cell-reference-all): New function.
6767 (ses-cell-symbol): Set macro as safe, so that it can be used in
6768 formulas.
6769
56e6cc31 6770 * ses.el: Update cycle detection algorithm.
90ca8b49 6771 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6772 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6773 (ses-set-localvars): New function.
6774 (ses-make-cell): Add property-list as a cell element.
6775 (ses-cell-property-get-fun, ses-cell-property-get)
6776 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6777 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6778 New functions.
90ca8b49
VB
6779 (ses-cell-property-set, ses-cell-property-pop)
6780 (ses-cell-property-get-handle): New macro.
6781 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6782 New aliases, used for code readability.
6783 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6784 cycle detection.
6785 (ses-self-reference-early-detection): New defcustom.
fac916bf 6786 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6787 (ses-mode): Use ses-set-localvars.
6788 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6789 before lauching the update processing.
6790 (ses-initialize-Dijkstra-attempt): New function.
6791 (ses-recalculate-cell): Update for cycle detection based on
6792 Dijkstra algorithm.
6793
2bb63e81
VB
6794 * ses.el: Fix commenting and indenting convention.
6795
c9d29fb8
SM
67962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * bs.el (bs-cycle-next): Complete last change.
6799
d8e4b68b
JB
68002011-06-27 Drew Adams <drew.adams@oracle.com>
6801
6802 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6803
40098786
LMI
68042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6805
c9d29fb8
SM
6806 * net/network-stream.el (network-stream-open-starttls):
6807 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6808 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6809
40098786
LMI
6810 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6811 to binary to possibly avoid line encoding issues on Windows (among
6812 other things).
6813
468d09d4
LMI
68142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6815
6816 * net/network-stream.el (open-network-stream): Return an :error
6817 saying what the problem was, if possible.
6818
6819 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6820 server.
6821
6822 * net/network-stream.el (network-stream-open-starttls): If we
6823 wanted to use STARTTLS, and the server offered it, but we weren't
6824 able to because we had no STARTTLS support, then close the connection.
6825 (open-network-stream): Return an :error element, if present.
6826
16f07dd7
CY
68272011-06-26 Chong Yidong <cyd@stupidchicken.com>
6828
88821ca0
CY
6829 * hl-line.el (hl-line-sticky-flag): Doc fix.
6830 (global-hl-line-sticky-flag): New option (Bug#8323).
6831 (global-hl-line-highlight): Obey it.
6832
16f07dd7
CY
6833 * vc/vc.el (vc-revert-show-diff): Default to t.
6834
6b5ccddf
KM
68352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6836
c9d29fb8
SM
6837 * allout-widgets.el (allout-widgets-post-command-business):
6838 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6839 undecorated when an isearch is continued past, and isearch
6840 automatically collapses them. This leads to "widget leaks", where
6841 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6842 hidden widgets can slow down cursor travel, substantially.
6843 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6844 so we're doing without this nicety.
6845
6846 (allout-widgets-tally-string): Don't try to do a hash-table-count
6847 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6848 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6849 *Messages* when allout-widgets-maintain-tally is t.
6850
355f2e07
MR
68512011-06-26 Martin Rudalics <rudalics@gmx.at>
6852
6853 * window.el (display-buffer-normalize-argument): Rename to
6854 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6855 LABEL argument. Respect special-display-function when popping up
6856 a new frame. Fix code searching for a window showing the buffer
6857 on another frame.
c9d29fb8
SM
6858 (display-buffer-normalize-specifiers):
6859 Call display-buffer-normalize-arguments.
355f2e07
MR
6860 (display-buffer-in-window): Don't undedicate the window if its
6861 buffer remains the same.
6862 Reported by Drew Adams <drew.adams@oracle.com>.
6863 (display-buffer-alist): Add choice for same-window macro
6864 specfier.
6865 (display-buffer): Mention special meaning of LABEL argument in
6866 doc-string. Fix quoting. Don't pop up a new frame even as
6867 fallback.
6868
7ca8fc42
JB
68692011-06-26 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6872 avoid deleting the current window in some cases (bug#8911).
6873
bc312254
AS
68742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6875
6876 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6877 (Bug#8934)
6878
2db18f3f
LMI
68792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6880
c9d29fb8
SM
6881 * net/network-stream.el (network-stream-open-starttls):
6882 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6883 (network-stream-open-tls): Ditto.
6884
6302e0d3
LL
68852011-06-26 Leo Liu <sdl.web@gmail.com>
6886
6887 * register.el (registerv): New struct.
6888 (registerv-make): New function.
c9d29fb8
SM
6889 (jump-to-register, describe-register-1, insert-register):
6890 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6891 struct. (Bug#8415)
6892
5fdd4046
CY
68932011-06-26 Chong Yidong <cyd@stupidchicken.com>
6894
2afef60a
CY
6895 * vc/vc.el (vc-revert-show-diff): New defcustom.
6896 (vc-diff-internal): New arg specifying diff buffer.
6897 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6898 reuse an existing *vc-diff* buffer (Bug#8927).
6899
5fdd4046
CY
6900 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6901
e93db24a
GM
69022011-06-26 Glenn Morris <rgm@gnu.org>
6903
6904 * progmodes/f90.el (f90-critical-indent): New option.
6905 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6906 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6907 (f90-mode): Doc fix.
6908 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6909 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6910 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6911 (f90-match-end): Handle block, critical.
6912
eefff499
GM
69132011-06-25 Glenn Morris <rgm@gnu.org>
6914
f6ba4cc9
GM
6915 * calendar/diary-lib.el (diary-included-files): Doc fix.
6916 (diary-include-files): New function, extracted from
6917 diary-include-other-diary-files and diary-mark-included-diary-files.
6918 (diary-include-other-diary-files, diary-mark-included-diary-files):
6919 Just call diary-include-files.
6920 (diary-mark-entries): Reset diary-included-files on first call.
6921
16712304
GM
6922 * calendar/diary-lib.el (diary-mark-entries)
6923 (diary-mark-included-diary-files):
6924 Visit included diary-files in temp buffers.
6925
5d8e0d43
GM
6926 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6927 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6928 (f90-start-block-re, f90-imenu-generic-expression)
6929 (f90-looking-at-program-block-start, f90-no-block-limit):
6930 Add support for submodules.
6931
ccf7a5d5
GM
6932 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6933 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6934
11fdef7d 69352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6936
6937 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6938 buffer-file-type before setting its value, to avoid disastrous
eefff499 6939 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6940
74f53697
JB
69412011-06-25 Juanma Barranquero <lekktu@gmail.com>
6942
6943 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6944
6945 * ses.el (ses-unload-function):
6946 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6947
6948 * proced.el (proced-unload-function):
6949 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6950
18a4ce5e
AR
69512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6952
6953 * server.el (server-create-window-system-frame): Add parameters arg.
6954 (server-process-filter): Doc fix. Handle frame-parameters.
6955
519d22cc
JB
69562011-06-25 Juanma Barranquero <lekktu@gmail.com>
6957
6958 Fix bug#8730, bug#8781.
6959
6960 * loadhist.el (unload--set-major-mode): New function.
6961 (unload-feature): Use it.
6962
6963 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6964 (python-unload-function): New function.
6965
c206f5b0
SM
69662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6969
f9ad64f3
GS
69702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6971
6972 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6973 the candidates list.
6974
7d0da90e
JB
69752011-06-24 Juanma Barranquero <lekktu@gmail.com>
6976
6977 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6978
14b4e83d
RS
69792011-06-23 Richard Stallman <rms@gnu.org>
6980
6981 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6982 (rmail-variables): Set next-error-move-function.
6983 (rmail-what-message): Take argument POS.
6984 (rmail-next-error-move): New function.
6985
273d2baf
SM
69862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6989 messages for adjacent non-terminals.
6990
56c2cc9a
RS
69912011-06-23 Richard Stallman <rms@gnu.org>
6992
6993 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6994 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6995 (rmail-start-mail): Don't specify use of rmail-mail-return;
6996 that's done by mail-bury now.
6997 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6998
d59eb518
MA
69992011-06-23 Michael Albinus <michael.albinus@gmx.de>
7000
7001 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7002 SIZE is a number.
7003
02cfc6d6
MR
70042011-06-23 Martin Rudalics <rudalics@gmx.at>
7005
7006 * window.el (get-lru-window, get-mru-window)
7007 (get-largest-window): Never return a minibuffer window.
7008 (display-buffer-pop-up-window): Fix a bug that could lead to
7009 reusing the minibuffer window.
7010 (display-buffer): Pass original specifier argument to
7011 display-buffer-function instead of the normalized one.
7012 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7013
4e323265
LL
70142011-06-22 Leo Liu <sdl.web@gmail.com>
7015
7016 * minibuffer.el (completing-read-function)
7017 (completing-read-default): Move from minibuf.c
7018
7a70468f
RS
70192011-06-22 Richard Stallman <rms@gnu.org>
7020
50718fc2
RS
7021 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7022 to Rmail even if not started by a special Rmail command.
7023
7a70468f
RS
7024 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7025 Copy the buffer currently showing just one message.
7026
297dde5a
RW
70272011-06-22 Roland Winkler <winkler@gnu.org>
7028
7029 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7030 (bibtex-clean-entry): First delete the old key so that a
7031 customized algorithm for generating the new key does not get
7032 confused by the old key.
7033 (bibtex-url): Obey regexp of first step.
7034 (bibtex-search-entries): Do not use add-to-list with local
7035 list-var.
7036
97bb1093
LMI
70372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7038
7039 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7040 stored a user name, then query for the password first, instead of
7041 waiting for SMTP to give an error message and the trying again.
7042
1c0f1a19
JD
70432011-06-22 Lawrence Mitchell <wence@gmx.li>
7044
7045 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7046 BUFFER in call-process.
7047
396f7c9d
LMI
70482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7049
7050 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7051 QUIT twice.
ddb7ffee
LMI
7052 (smtpmail-try-auth-methods): Require user name and password from
7053 auth-source.
396f7c9d 7054
8998d1b3
MR
70552011-06-22 Martin Rudalics <rudalics@gmx.at>
7056
7057 * window.el (display-buffer-default-specifiers)
7058 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7059 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7060 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7061
7062 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7063 (special-display-frame-alist, special-display-popup-frame):
7064 Remove duplicate declarations. These are now in window.el.
7065
4ea31e07
LMI
70662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067
c9d29fb8
SM
7068 * mail/smtpmail.el (smtpmail-via-smtp):
7069 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7070 server supports it. SMTP servers that support STARTTLS commonly
7071 require it.
7072
7073 * net/network-stream.el (network-stream-open-starttls): Support
7074 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7075 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7076
95f41d9a
LMI
7077 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7078 upgrades with `open-network-stream', and rely solely on
7079 auth-source for all credentials. Big changes throughout the file,
7080 but in particular:
c9d29fb8
SM
7081 (smtpmail-auth-credentials): Remove.
7082 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7083 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7084 MAIL FROM, too.
95f41d9a 7085
c9d29fb8
SM
7086 * net/network-stream.el (network-stream-open-starttls):
7087 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7088 STARTTLS.
7089 (auth-source): Require.
7090 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7091 (network-stream-certificate): Change cert-cert to cert and
7092 cert-key to key.
4ea31e07 7093
065ec2c7
MA
70942011-06-21 Michael Albinus <michael.albinus@gmx.de>
7095
7096 * net/tramp-cache.el (top): Don't load the persistency file when
7097 "emacs -Q" has been called.
7098
cd93b359
DR
70992011-06-21 Tim Harper <timcharper@gmail.com>
7100
d8e4b68b
JB
7101 * term/ns-win.el (ns-initialize-window-system):
7102 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7103 resource to NO as it is not yet supported by the NS port.
7104
ae9c0411
JB
71052011-06-21 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7108 (list-dynamic-libraries): ...not here.
7109
7f3f739f
LL
71102011-06-21 Leo Liu <sdl.web@gmail.com>
7111
7112 * subr.el (sha1): Implement sha1 using secure-hash.
7113
327c8fb1
MR
71142011-06-21 Martin Rudalics <rudalics@gmx.at>
7115
7116 * window.el (display-buffer-alist): In default value do not
7117 enforce searching a window on any but the selected frame.
7118 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7119 (display-buffer-select-window): Remove function.
7120 (display-buffer-in-window): When a window on another frame gets
7121 reused, do not select it any more but just raise its frame if
7122 necessary (Bug#8851) and (Bug#8856).
7123 (display-buffer-normalize-options): Handle pop-up-frames related
7124 options more faithfully.
7125 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7126 window if it is on another frame.
c9d29fb8
SM
7127 (display-buffer-alist, display-buffer-default-specifiers):
7128 Don't make new frame unsplittable by default.
9e9de014
MR
7129 (display-buffer-normalize-argument): Fix doc-string typo and use
7130 'same-frame-other-window instead of 'other-window when associating
7131 with display-buffer-macro-specifiers.
327c8fb1 7132
7cf3f556
VB
71332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7134
7135 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7136 New functions.
7137 (5x5-mode-map, 5x5-mode-menu): Bind them.
7138 (5x5-draw-grid): Tweak the solver's rendering.
7139
60a406cf
SM
71402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7143 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7144
d8e4b68b 71452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7146
7147 * menu-bar.el: Use function variable instead of switch-to-buffer.
7148 (menu-bar-select-buffer-function): New variable.
60a406cf 7149 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7150
478d6f95
SM
71512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7154 variable's status.
7155
ca530739
JD
71562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7157
7158 * x-dnd.el (x-dnd-version-from-flags)
7159 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7160 and long as number (Bug#8899).
7161 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7162
bcd70d97
SM
71632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7164
60a406cf 7165 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7166 (completion-try-completion, completion-all-completions): Compute the
7167 metadata argument if it's missing; make it optional (bug#8795).
7168
60a406cf 7169 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7170 (widget-complete): Use new :completion-function property.
7171 (widget-completions-at-point): New function.
7172 (default): Use :completion-function instead of :complete.
60a406cf
SM
7173 (widget-default-completions): Rename from widget-default-complete;
7174 Rewrite.
bcd70d97
SM
7175 (widget-string-complete, widget-file-complete, widget-color-complete):
7176 Remove functions.
7177 (file, symbol, function, variable, coding-system, color):
7178 * international/mule-cmds.el (default-input-method, charset)
7179 (language-info-custom-alist):
7180 * cus-edit.el (face): Use new property :completions.
7181
7182 * progmodes/pascal.el (pascal-completions-at-point): New function.
7183 (pascal-mode): Use it.
7184 (pascal-mode-map): Use completion-at-point.
7185 (pascal-toggle-completions): Make obsolete.
7186 (pascal-complete-word, pascal-show-completions):
7187 * progmodes/octave-mod.el (octave-complete-symbol):
7188 Redefine as obsolete alias.
7189 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7190 Signal absence of completion info for old Octave,
7191 (inferior-octave-complete): Redefine as obsolete alias.
7192 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7193 (meta-completions-at-point): Rename from meta-complete-symbol and
7194 adapt it for use on completion-at-point-functions.
7195 (meta-common-mode): Use it.
7196 (meta-looking-at-backward, meta-match-buffer): Remove.
7197 (meta-complete-symbol): Redefine as obsolete alias.
7198 (meta-common-mode-map): Use completion-at-point.
7199 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7200 (makefile-mode-map): Use completion-at-point.
7201 (makefile-completions-at-point): Rename from makefile-complete and
7202 adapt it for use on completion-at-point-functions.
7203 (makefile-mode): Use it.
7204 (makefile-complete): Redefine as obsolete alias.
7205
aebf69c8
DD
72062011-06-20 Deniz Dogan <deniz@dogan.se>
7207
7208 * net/rcirc.el: Delete trailing whitespaces once and for all.
7209
bfbbb27d
DC
72102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7211
7212 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7213
d264a46b
CY
72142011-06-19 Chong Yidong <cyd@stupidchicken.com>
7215
4ca009e5
CY
7216 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7217
d264a46b
CY
7218 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7219
fbf5b3ce
MR
72202011-06-19 Martin Rudalics <rudalics@gmx.at>
7221
7222 * window.el (display-buffer-other-window-means-other-frame):
7223 Call display-buffer-normalize-alist.
7224 (display-buffer-normalize-specifiers-1): Rename to
7225 display-buffer-normalize-argument. New argument other-frame.
7226 Rewrite.
7227 (display-buffer-normalize-specifiers-2): Rename to
7228 display-buffer-normalize-options.
7229 (display-buffer-normalize-alist-1): New function.
7230 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7231 display-buffer-normalize-alist.
7232 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7233 (display-buffer-normalize-options-inhibit): New variable.
7234 (display-buffer-normalize-specifiers): Rewrite calling
7235 display-buffer-normalize-alist,
7236 display-buffer-normalize-argument, and
7237 display-buffer-normalize-options. Don't call the latter if
7238 display-buffer-normalize-options-inhibit is non-nil.
7239 (frame-auto-delete): New option.
7240 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7241 (window-list-no-nils, window-state-ignored-parameters)
7242 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7243 (window-state-put-1, window-state-put-2, window-state-put):
7244 New functions.
9a028c23
MR
7245 (display-buffer-normalize-options): Move special-display-p group
7246 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7247
6d10d800
CY
72482011-06-18 Chong Yidong <cyd@stupidchicken.com>
7249
6420d28b
CY
7250 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7251 groups (Bug#8776).
7252 (rx-submatch-n): New function.
7253 (rx): Document it.
7254
ddb8b596
CY
7255 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7256 (Bug#8768).
7257
7258 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7259
77080289
CY
7260 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7261
61dfb316
CY
7262 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7263 anytime existing face settings are present (Bug#8889).
7264
6d10d800
CY
7265 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7266 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7267 Remove unused argument.
7268
be3fb2b8
MR
72692011-06-18 Martin Rudalics <rudalics@gmx.at>
7270
bcd70d97
SM
7271 * window.el (display-buffer-default-specifiers):
7272 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7273 pop-up-window-min-width, and another reuse-window specifier
7274 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7275 (display-buffer-normalize-specifiers-2):
7276 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7277 pop-up-windows is unset. Add a reuse-window specifier for the
7278 case popping up a new window fails.
7279 (special-display-popup-frame): Remove double quoting.
28dec25a 7280 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7281
1c6d8c76
SM
72822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7285 according to comint-completion-addsuffix.
7286
7287 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7288 (pcomplete-suffix-list): Mark as obsolete.
7289 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7290 pcomplete-seen in the closure.
7291 (pcomplete-comint-setup): Setup completion-at-point as well.
7292 (pcomplete--entries): New function.
7293 (pcomplete--env-regexp): New var.
7294 (pcomplete-entries): Rewrite to work with partial-completion and
7295 without relying on pcomplete-suffix-list.
7296 (pcomplete-pare-list): Remove, unused.
7297
25aef8b8
MR
72982011-06-17 Martin Rudalics <rudalics@gmx.at>
7299
7300 * window.el (display-buffer-alist): Set pop-up-window-min-height
7301 and pop-up-window-min-width in default value. Reported by
7302 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7303 other-window-means-other-frame.
7304 (display-buffer-macro-specifiers): Comment out entry for
7305 other-window specifier.
7306 (display-buffer-other-window-means-other-frame): New function.
7307 (display-buffer-normalize-specifiers-1): New arguments
7308 buffer-name and label. Treat other-window case specially.
7309 (display-buffer-normalize-specifiers-2): Treat other-window case
7310 specially.
7311 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7312 (display-buffer-normalize-specifiers):
7313 Call display-buffer-normalize-specifiers-3.
25aef8b8 7314
dbad4f69
MR
73152011-06-17 Martin Rudalics <rudalics@gmx.at>
7316
7317 * window.el (same-window-p): Fix two typos introduced when
7318 adding with-no-warnings.
d1067961
MR
7319 (display-buffer-normalize-specifiers-1): Don't check
7320 pop-up-frames for 'unset initialization.
7321 (display-buffer-normalize-specifiers-2): Major rewrite using
7322 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7323 (pop-up-frames, display-buffer-reuse-frames)
7324 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7325 Suggested by David Engster <deng@randomsample.de>.
7326 (even-window-heights): Initialize to 'unset.
7327 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7328 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7329 other window case.
dbad4f69 7330
9b9c9e3a
MR
73312011-06-16 Martin Rudalics <rudalics@gmx.at>
7332
bcd70d97
SM
7333 * window.el (display-buffer-normalize-specifiers-1):
7334 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7335 second argument of display-buffer (Bug#8865).
981d5c09
MR
7336 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7337 (switch-to-buffer-other-window-same-frame)
7338 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7339 Adams (Bug#8875).
9c2755e9
MR
7340 (display-buffer): Don't check noninteractive when calling
7341 display-buffer-pop-up-frame.
7342 (display-buffer-pop-up-frame): Never pop up a frame in
7343 noninteractive mode (Bug#8857).
67222e1d
MR
7344 (enlarge-window, shrink-window): Don't report an error when the
7345 window can't be resized as requested (Bug#8862).
9b9c9e3a 7346
2b75be67
SM
73472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7348
9ffdd3ba
SM
7349 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7350
cb581a67
SM
7351 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7352
2b75be67
SM
7353 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7354
8c0e3589
AM
73552011-06-15 Alan Mackenzie <acm@muc.de>
7356
cb581a67
SM
7357 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7358 for declarators, disable knr checking to speed up for normal files.
7359 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7360
b96e6cde
LMI
73612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362
4bba86e6
LMI
7363 * net/network-stream.el (open-network-stream): Add the keyword
7364 :always-query-capabilities for the case where you want to force a
7365 `plain' network connection, but the protocol still requires the
7366 capabilitiy command (i.e., SMTP and EHLO).
7367
2b75be67 7368 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7369 consistency with other `-live-p' functions.
7370
efdcdbf8
SM
73712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * window.el (same-window-buffer-names, same-window-regexps)
7374 (special-display-frame-alist, special-display-popup-frame)
7375 (special-display-function, special-display-buffer-names)
7376 (special-display-regexps, pop-up-frame-alist)
7377 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7378 (pop-up-windows, split-window-preferred-function)
7379 (split-height-threshold, split-width-threshold, even-window-heights)
7380 (display-buffer-mark-dedicated): Don't encourage the use of
7381 display-buffer-alist from Elisp code.
7382
c5cde042
DN
73832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7384
7385 * progmodes/python.el (python-mode): Derive from prog-mode.
7386 * progmodes/ps-mode.el (ps-mode):
7387 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7388 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7389 * progmodes/ld-script.el (ld-script-mode): Likewise.
7390
baa1c9ab
MR
73912011-06-15 Martin Rudalics <rudalics@gmx.at>
7392
7393 * window.el (display-buffer-alist): Trim default value to avoid
7394 popping up a new frame (Bug#8857) or reusing an arbitrary window
7395 on another frame.
7396 (display-buffer): Do not fall back on popping up a new frame in
7397 batch mode (Bug#8857).
7398
c5dd5a51
CY
73992011-06-14 Chong Yidong <cyd@stupidchicken.com>
7400
7401 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7402 (custom-theme-summary): New function.
7403 (customize-themes): Use it.
7404
d647b7c4
GM
74052011-06-13 Glenn Morris <rgm@gnu.org>
7406
7407 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7408
9481c002
MR
74092011-06-13 Martin Rudalics <rudalics@gmx.at>
7410
357f93d2
MR
7411 * help.el (help-window): Remove variable.
7412 (help-window-point-marker, temp-buffer-max-height)
7413 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7414 (help-print-return-message): Don't set help-window.
7415 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7416 (help-window-setup-finish): Remove.
7417 (help-window-display-message, help-window-setup)
7418 (with-help-window): Major rewrite based on new
7419 display-buffer-window variable.
7420
7421 * help-mode.el (help-mode-finish): Remove help-window related
7422 code.
7423
7424 * view.el (view-exits-all-viewing-windows): Remove reference to
7425 view-return-to-alist in doc-string.
7426 (view-return-to-alist): Make obsolete.
7427 (view-buffer): Call pop-to-buffer-same-window and remove
7428 undo-window code.
7429 (view-buffer-other-window): Call pop-to-buffer-other-window and
7430 simplify code. Ignore second argument.
7431 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7432 simplify code. Ignore second argument.
7433 (view-return-to-alist-update): Make obsolete.
7434 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7435 Rewrite using quit-restore window parameters.
2b75be67
SM
7436 (view-mode-exit): Rename second argument to EXIT-ONLY.
7437 Rewrite using quit-restore-window.
357f93d2
MR
7438 (View-exit, View-exit-and-edit, View-leave, View-quit)
7439 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7440 appropriate arguments.
7441 (view-end-message): Use quit-restore window parameter.
7442
9481c002
MR
7443 * window.el (display-buffer-function): Rewrite doc-string.
7444 (display-buffer-window, display-buffer-alist): New variables.
7445 (display-buffer-split-specifiers)
7446 (display-buffer-side-specifiers)
7447 (display-buffer-macro-specifiers): New constants.
7448 (display-buffer-even-window-sizes, display-buffer-set-height)
7449 (display-buffer-set-width, display-buffer-select-window)
7450 (display-buffer-in-window, display-buffer-reuse-window)
7451 (display-buffer-split-window-1, display-buffer-split-window)
7452 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7453 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7454 (display-buffer-in-side-window, normalize-buffer-to-display)
7455 (display-buffer-normalize-specifiers-1)
7456 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7457 (display-buffer-normalize-specifiers, display-buffer-frame):
7458 New functions.
9481c002
MR
7459 (display-buffer): Major rewrite.
7460 (display-buffer-other-window, display-buffer-other-frame)
7461 (pop-to-buffer, switch-to-buffer-other-window)
7462 (switch-to-buffer-other-frame): Rewrite.
7463 (display-buffer-same-window, display-buffer-same-frame)
7464 (display-buffer-same-frame-other-window)
7465 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7466 (pop-to-buffer-other-window)
7467 (pop-to-buffer-same-frame-other-window)
7468 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7469 (switch-to-buffer-other-window-same-frame): New functions.
7470 (same-window-p, special-display-p): Rewrite disabling warnings.
7471 Make obsolete.
7472 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7473 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7474 Make obsolete
7475 (same-window-buffer-names, same-window-regexps)
7476 (special-display-frame-alist, special-display-popup-frame)
7477 (special-display-function, special-display-buffer-names)
7478 (special-display-regexps, pop-up-frame-alist)
7479 (pop-up-frame-function, split-window-preferred-function)
7480 (split-height-threshold, split-width-threshold)
7481 (even-window-heights): Make obsolete.
7482
9db51aca
GM
74832011-06-12 Glenn Morris <rgm@gnu.org>
7484
7485 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7486 Misc simplifications.
9db51aca 7487
39cffb44
MR
74882011-06-12 Martin Rudalics <rudalics@gmx.at>
7489
7490 * window.el (window-safely-shrinkable-p): Restore function which
7491 was inadvertently removed in change from 2011-06-11. Declare as
7492 obsolete.
7493
2b75be67
SM
7494 * calendar/calendar.el (calendar-generate-window):
7495 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7496 window-safely-shrinkable-p.
7497
a8955be7
GM
74982011-06-12 Glenn Morris <rgm@gnu.org>
7499
7500 * progmodes/fortran.el (fortran-mode-syntax-table):
7501 * progmodes/f90.el (f90-mode-syntax-table):
7502 Set % to punctuation. (Bug#8820)
7503 (f90-find-tag-default): Remove, no longer needed.
7504
f0d4059d
DC
75052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7506
7507 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7508
1100a63c
CY
75092011-06-11 Chong Yidong <cyd@stupidchicken.com>
7510
7511 * image.el (image-animated-p): Return animation delay in seconds.
7512 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7513 (image-animate-timeout): Remove DELAY argument. Don't assume
7514 every subimage has the same delay; get it from image-animated-p.
7515 (image-animate): Caller changed.
7516
def722bf
MA
75172011-06-11 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7520 to ignored backtrace functions.
7521
0a2bb1a9
GM
75222011-06-11 Glenn Morris <rgm@gnu.org>
7523
7524 * calendar/appt.el (appt-disp-window-function): Doc fix.
7525 (appt-check): Handle overlapping appointments. (Bug#8337)
7526
6198ccd0
MR
75272011-06-11 Martin Rudalics <rudalics@gmx.at>
7528
7529 * window.el (window-tree-1, window-tree): New functions, moving
7530 the latter to window.el.
7531 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7532 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7533 (bw-refresh-edges): Remove.
7534 (balance-windows-1, balance-windows-2): New functions.
7535 (balance-windows): Rewrite in terms of window tree functions,
7536 balance-windows-1 and balance-windows-2.
7537 (bw-adjust-window): Remove.
7538 (balance-windows-area-adjust): New function with functionality of
7539 bw-adjust-window but using resize-window.
2b75be67
SM
7540 (set-window-text-height): Rewrite doc-string.
7541 Use normalize-live-window and resize-window.
7542 (enlarge-window-horizontally, shrink-window-horizontally):
7543 Rename argument to DELTA.
6198ccd0
MR
7544 (window-buffer-height): New function.
7545 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7546 Rewrite using new window resize routines.
2b75be67
SM
7547 (kill-buffer-and-window, mouse-autoselect-window-select):
7548 Use ignore-errors instead of condition-case.
6198ccd0
MR
7549 (quit-window): Call delete-frame instead of delete-windows-on
7550 for the only buffer on frame.
7551
9397e56f
MR
75522011-06-10 Martin Rudalics <rudalics@gmx.at>
7553
7554 * loadup.el (top-level): Load window before files for the sake
7555 of replace-buffer-in-windows.
7556
7557 * files.el (read-buffer-to-switch)
7558 (switch-to-buffer-other-window)
2b75be67
SM
7559 (switch-to-buffer-other-frame, display-buffer-other-frame):
7560 Move to window.el.
9397e56f
MR
7561
7562 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7563 (previous-buffer): Move to window.el.
7564
7565 * bindings.el (unbury-buffer): Move to window.el.
7566
7567 * window.el (delete-other-windows-vertically): Move after
7568 definition of delete-other-windows.
7569 (other-window, delete-windows-on, replace-buffer-in-windows):
7570 Move here from window.c.
7571 (record-window-buffer, unrecord-window-buffer)
7572 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7573 (switch-to-next-buffer): New functions.
7574 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7575 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7576 (previous-buffer): Move here from simple.el.
7577 Call switch-to-prev-buffer.
9397e56f
MR
7578 (bury-buffer): Move here from buffer.c. Switch to previous
7579 buffer when window cannot be deleted.
7580 (unbury-buffer): Move here from bindings.el.
7581 (ctl-x-map): Move binding for other-window from window.c to
7582 here.
7583 (read-buffer-to-switch, switch-to-buffer-other-window)
7584 (switch-to-buffer-other-frame): Move here from files.el.
7585 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7586 (switch-to-buffer): Move here from buffer.c.
7587 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7588
562dd5e9
MR
75892011-06-10 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (window-min-height, window-min-width): Move here
7592 from window.c. Add defcustoms and rewrite doc-strings.
7593 (resize-mini-window, resize-window): New functions.
7594 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7595 Move here from window.c.
7596 (maximize-window, minimize-window): New functions.
7597 (delete-window, delete-other-windows, split-window): Move here
7598 from window.c.
7599 (window-split-min-size): New function.
7600 (split-window-keep-point): Mention split-window-above-each-other
7601 instead of split-window-vertically.
2b75be67 7602 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7603 Rename split-window-vertically to split-window-above-each-other
7604 and provide defalias for old definition.
7605 (split-window-side-by-side, split-window-horizontally):
7606 Rename split-window-horizontally to split-window-side-by-side
7607 and provide defalias for the old definition.
562dd5e9
MR
7608 (ctl-x-map): Move bindings for delete-window,
7609 delete-other-windows and enlarge-window here from window.c.
7610 Replace bindings for split-window-vertically and
7611 split-window-horizontally by bindings for
7612 split-window-above-each-other and split-window-side-by-side.
7613
7614 * cus-start.el (all): Remove entries for window-min-height and
7615 window-min-width. Add entries for window-splits and
7616 window-nest.
7617
f0da764a
GM
76182011-06-09 Glenn Morris <rgm@gnu.org>
7619
80675c21
GM
7620 * calendar/appt.el (appt-mode-line): New function.
7621 (appt-check, appt-disp-window): Use it.
7622
f0da764a
GM
7623 * files.el (hack-one-local-variable-eval-safep):
7624 Allow minor-modes with explicit +/-1 arguments.
7625
59f623b7
TZ
76262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7627
7628 * term/xterm.el (xterm): Add defgroup.
7629 (xterm-extra-capabilities): Add defcustom to supply known xterm
7630 capabilities, skip querying them, or query them (default).
7631 (terminal-init-xterm): Use it.
7632 (terminal-init-xterm-modify-other-keys): New function to set up
7633 modifyOtherKeys support to simplify `terminal-init-xterm'.
7634
9aab8e0d
MR
76352011-06-09 Martin Rudalics <rudalics@gmx.at>
7636
7637 * window.el (resize-window-reset, resize-window-reset-1)
7638 (resize-subwindows-skip-p, resize-subwindows-normal)
7639 (resize-subwindows, resize-other-windows, resize-this-window)
7640 (resize-root-window, resize-root-window-vertically)
7641 (window-deletable-p, window-or-subwindow-p)
7642 (frame-root-window-p): New functions.
7643
e8b08aee
GM
76442011-06-09 Glenn Morris <rgm@gnu.org>
7645
7646 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7647 (ange-ftp-get-files): Use it.
7648
254c37a5
AK
76492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7650
7651 * mail/sendmail.el (mail-recover-1, mail-recover):
7652 * files.el (recover-file, recover-session):
7653 Handle dired-listing-switches not being just a single short option.
7654
35d7dbd3
GM
76552011-06-09 Glenn Morris <rgm@gnu.org>
7656
7657 * calendar/appt.el (appt-display-message, appt-disp-window):
7658 Handle lists of appointments.
7659
387522b2
MR
76602011-06-08 Martin Rudalics <rudalics@gmx.at>
7661
2b75be67
SM
7662 * window.el (one-window-p): Move down in code.
7663 Rewrite doc-string.
7664 (window-current-scroll-bars): Rewrite doc-string.
7665 Normalize live window argument.
387522b2
MR
7666 (walk-windows, get-window-with-predicate, count-windows):
7667 Rewrite doc-string. Use window-list-1.
7668 (window-in-direction-2, window-in-direction, get-mru-window):
7669 New functions.
7670
d8e4b68b 76712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7672
7673 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7674 Doc fix (Bug#8713).
7675
76762011-06-08 Chong Yidong <cyd@stupidchicken.com>
7677
7678 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7679
76802011-06-08 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * loadhist.el (unload-feature-special-hooks):
7683 Add `comint-output-filter-functions'.
7684
0de12c52
IK
76852011-06-08 Ivan Kanis <gnu@kanis.fr>
7686
7687 * calendar/appt.el (appt-check): Move some initializations into the let.
7688
f3d1777e
MR
76892011-06-08 Martin Rudalics <rudalics@gmx.at>
7690
7691 * window.el (window-height): Defalias to window-total-height.
7692 (window-width): Defalias to window-body-width.
7693
18af70d0
CY
76942011-06-07 Chong Yidong <cyd@stupidchicken.com>
7695
7696 * image-mode.el (image-toggle-animation): New command.
7697 (image-mode-map): Bind it to RET.
7698 (image-mode): Update message.
7699 (image-toggle-display-image): Avoid a spurious cache flush.
7700 (image-transform-rotation): Doc fix.
7701 (image-transform-properties): Return quickly in the normal case.
7702 (image-animate-loop): Rename from image-animate-max-time.
7703
2b75be67 7704 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7705 (create-animated-image): Remove unnecessary function.
7706 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7707 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7708 (image-animate-timer): Use car-safe.
7709 (image-animate-timeout): Rename argument.
7710
190b47e6
MR
77112011-06-07 Martin Rudalics <rudalics@gmx.at>
7712
7713 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7714 window.c. Rename first argument to ALL-FRAMES.
7715 Rephrase doc-strings.
7716 (get-buffer-window-list): Rewrite using window-list-1.
7717 Rephrase doc-string.
a1511caf
MR
7718 (window-safe-min-height, window-safe-min-width): New constants.
7719 (window-size-ignore, window-min-size, window-min-size-1)
7720 (window-sizable, window-sizable-p, window-size-fixed-1)
7721 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7722 (window-max-delta-1, window-max-delta, window-resizable)
7723 (window-resizable-p, window-total-height, window-total-width)
7724 (window-body-width): New functions.
7725 (window-full-height-p, window-full-width-p): Rewrite using
7726 window-total-size.
7727 (window-body-height): Rewrite using window-body-size.
190b47e6 7728
85cc1f11
MR
77292011-06-06 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (window-right, window-left, window-child)
7732 (window-child-count, window-last-child, window-any-p)
7733 (normalize-live-buffer, normalize-live-frame)
7734 (normalize-any-window, normalize-live-window)
7735 (window-iso-combination-p, window-iso-combined-p)
7736 (window-iso-combinations)
7737 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7738 (windows-with-parameter, window-with-parameter)
7739 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7740 (window-atom-check, window-side-check, window-check):
7741 New functions.
85cc1f11
MR
7742 (ignore-window-parameters, window-sides, window-sides-vertical)
7743 (window-sides-slots): New variables.
7744 (window-size-fixed): Move down in code. Minor doc-string fix.
7745
e7156492
AS
77462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7747
7748 * comint.el (comint-dynamic-complete-as-filename)
7749 (comint-dynamic-complete-filename): Correctly call
7750 completion-in-region.
7751
7e821d0d
DD
77522011-06-05 Deniz Dogan <deniz@dogan.se>
7753
7754 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7755 in last change.
7756
ac09b8a1
DD
77572011-06-05 Deniz Dogan <deniz@dogan.se>
7758
7759 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7760 (rcirc): Use it to prompt for encryption.
7761
34699b85
RW
77622011-06-05 Roland Winkler <winkler@gnu.org>
7763
7764 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7765 (bibtex-search-entries): New command bound to C-c C-a.
7766 (bibtex-display-entries): New function.
7767
004dedd3
RW
77682011-06-05 Roland Winkler <winkler@gnu.org>
7769
7770 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7771 (bibtex-insert-kill): After yanking insert newline if necessary.
7772 (bibtex-initialize): Call bibtex-string-files-init only once.
7773 (bibtex-mode): Do not call easy-menu-add.
7774 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7775 (bibtex-yank): Set arg properly if nil.
7776
022fe7ce
RW
77772011-06-05 Roland Winkler <winkler@gnu.org>
7778
2b75be67
SM
7779 * textmodes/bibtex.el (bibtex-search-entry-globally):
7780 New variable.
022fe7ce
RW
7781 (bibtex-search-entry): Use it.
7782
b7c3692a
RW
77832011-06-05 Roland Winkler <winkler@gnu.org>
7784
7785 * textmodes/bibtex.el (bibtex-entry-format): New option
7786 sort-fields.
7787 (bibtex-format-entry, bibtex-reformat): Honor this option.
7788 (bibtex-parse-entry): Return fields in proper order.
7789
8eda563d
JB
77902011-06-05 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * doc-view.el (doc-view-remove-if): Move computation of result out
7793 of `dolist' to silence misleading lexical-binding warning.
7794
7dbe3dbc
CY
77952011-06-04 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7798 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7799
0c33dd17
MA
78002011-06-04 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7803 "SunOS 5.10".
7804
f8f91c2b
MA
78052011-06-04 Michael Albinus <michael.albinus@gmx.de>
7806
7807 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7808 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7809 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7810 (tramp-parse-putty):
7811 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7812 (tramp-completion-function-alist-ssh)
7813 (tramp-completion-function-alist-telnet)
7814 (tramp-completion-function-alist-su)
7815 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7816 cookie.
7817
7818 * net/tramp-ftp.el:
7819 * net/tramp-sh.el:
7820 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7821 load "tramp.el" `tramp-set-completion-function'.
7822
e17d9003
SM
78232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * shell.el: Require and use pcomplete.
7826 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7827 (shell-completion-vars): Set pcomplete-default-completion-function.
7828
6c4cab03
DD
78292011-06-04 Deniz Dogan <deniz@dogan.se>
7830
7831 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7832 `memq' (Bug#8799).
7833
ea9fafe0
SM
78342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7837
b3e945d3
JB
78382011-06-02 Juanma Barranquero <lekktu@gmail.com>
7839
7840 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7841 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7842 * vc/log-view.el (log-view-beginning-of-defun):
7843 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7844 (smerge-refine-forward, smerge-refine-chopup-region):
7845 Silence warning for unused `dotimes' counter variables.
7846
7d520089
SM
78472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * net/tramp.el (tramp-with-progress-reporter): Rename from
7850 with-progress-reporter. Use `declare'.
7851 * net/tramp-smb.el:
7852 * net/tramp-sh.el:
7853 * net/tramp-gvfs.el: Update all uses.
7854
a1c2400f
JB
78552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7856
7857 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7858 buffer isn't killed before making it current.
7859
2403c841
SM
78602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 Silence various byte-compiler warnings.
7863 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7864 `access-type' and new obsolescence format.
7865 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7866 new format.
7867 (byte-compile-check-variable): New `access-type' argument.
7868 Only warn if the access-type is obsolete.
7869 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7870 (byte-compile-variable-set): Adjust callers.
7871 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7872 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7873 setting it as obsolete.
7874 * simple.el (minibuffer-completing-symbol):
7875 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7876 access as obsolete.
7877 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7878 obsolete yet.
7879 * international/quail.el (quail-mouse-choose-completion): Remove unused
7880 code referring to obsolete var.
7881 (quail-choose-completion-string): Remove.
7882 * server.el (server-clients-with, server-kill-buffer-query-function)
7883 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7884 * proced.el (proced-send-signal):
7885 * emacs-lisp/lisp.el (lisp-complete-symbol):
7886 Replace completion-annotate-function with completion-extra-properties.
7887
2462470b
SM
78882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7889
fb5b2591
SM
7890 * simple.el (goto-line): Use read-number.
7891 (overriding-map-is-bound): Remove.
7892 (saved-overriding-map): Change default.
7893 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7894 Take the map as argument.
7895 (universal-argument, negative-argument, digit-argument): Use it.
7896 (restore-overriding-map): Adjust.
7897 (do-auto-fill): Use fill-forward-paragraph.
7898 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7899
fd6fa53f
SM
7900 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7901 (minibuffer-inactive-mode): New major mode.
7902 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7903 the *Messages* buffer" hack.
7904 (mouse-popup-menubar): Don't burp if the event is a normal key.
7905
2462470b
SM
7906 Miscellaneous tweaks.
7907 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7908 lexical scoping as in subr.el's dolist and dotimes.
7909 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7910 Silence compiler warning.
7911 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7912 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7913 * international/ccl.el (ccl-compile): Trivial simplification.
7914 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7915 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7916 `printflag' argument.
7917 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7918 Purecopy the whole obsolescence data.
7919
108bf785
LL
79202011-06-01 Leo Liu <sdl.web@gmail.com>
7921
7922 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7923 improve doc-string as suggested by Marco Pessotto
7924 <melmothx@gmail.com>.
7925 (rcirc-print): Fix last change.
7926
30a23501
SM
79272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * minibuffer.el (complete-with-action): Return nil for the metadata and
7930 boundaries of non-functional tables.
7931 (completion-table-dynamic): Return nil for the metadata.
7932 (completion-table-with-terminator): Add default case, using
7933 complete-with-action.
7934 (completion--metadata): New function.
7935 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7936 to try and avoid pathological performance problems.
7937 (completion--embedded-envvar-table): Return `category' metadata.
7938
bcd54f83
LMI
79392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940
7941 * subr.el (process-alive-p): New tiny convenience function.
7942
e227544d
SM
79432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7946 content but also its previous major mode.
7947
e8296fdc
HE
79482011-05-31 Helmut Eller <eller.helmut@gmail.com>
7949
4d61f28d 7950 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7951 *Backtrace* buffer when we exit with C-M-c.
7952
620c53a6
SM
79532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * minibuffer.el: Add metadata method to completion tables.
7956 (completion-category-overrides): New defcustom.
7957 (completion-metadata, completion--field-metadata)
7958 (completion-metadata-get, completion--styles)
7959 (completion--cycle-threshold): New functions.
7960 (completion-try-completion, completion-all-completions):
7961 Add `metadata' argument to choose completion-styles.
7962 (completion--do-completion): Use metadata to choose cycling.
7963 (completion-all-sorted-completions): Use metadata for sorting.
7964 Remove :completion-cycle-penalty which is not needed any more.
7965 (completion--try-word-completion): Add `metadata' argument.
7966 (minibuffer-completion-help): Check metadata for annotation function
7967 and sorting.
7968 (completion-file-name-table): Return `category' metadata.
7969 (minibuffer-completing-file-name): Make obsolete.
7970 * simple.el (minibuffer-completing-symbol): Make obsolete.
7971 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7972 completion-try-completion.
7973
1257e755
SM
79742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7977
3767e706
LL
79782011-05-30 Leo Liu <sdl.web@gmail.com>
7979
7980 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7981 (rcirc-print): Decode all incoming messages (bug#8744).
7982 (rcirc-decode-coding-system): Allow value nil for automatic coding
7983 system detection.
3767e706 7984
d1a5d56a
GM
79852011-06-01 Glenn Morris <rgm@gnu.org>
7986
7987 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7988
e8cbec34
CY
79892011-05-29 Chong Yidong <cyd@stupidchicken.com>
7990
7991 * image.el (image-animate-max-time): Allow nil and t values.
7992 Default to nil.
7993 (create-animated-image): Doc fix.
7994 (image-animate-start): Remove second arg; just use
7995 image-animate-max-time.
7996 (image-animate-timeout): Doc fix. Args changed.
7997
7998 * image-mode.el (image-toggle-display-image): Ensure that the
7999 image spec passed to the animate timer is the same object as in
58179cce 8000 the buffer's display property (Bug#6981).
e8cbec34
CY
8001 (image-transform-properties): Doc fix.
8002
8003 * image.el (image-animate-max-time): Default to nil.
8004
159daf87
MR
80052011-05-29 Martin Rudalics <rudalics@gmx.at>
8006
8007 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8008 entire buffer list (Bug#8184).
8009
d66c4c7c
CY
80102011-05-29 Chong Yidong <cyd@stupidchicken.com>
8011
8012 * image.el (imagemagick-types-inhibit)
8013 (imagemagick-register-types): Doc fix.
8014
80aec780
DD
80152011-05-29 Deniz Dogan <deniz@dogan.se>
8016
8017 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8018 default.
8019
1dd3c2d9
CY
80202011-05-29 Chong Yidong <cyd@stupidchicken.com>
8021
8022 * select.el: Don't perform clipboard-manager saving in hooks;
8023 leave the hooks empty.
8024
60e56523
LL
80252011-05-28 Leo Liu <sdl.web@gmail.com>
8026
8027 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8028 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8029 (occur-edit-mode): New major mode (Bug#8463).
8030 (occur-after-change-function): New function.
8031 (occur-engine): Give Occur tags a read-only property.
8032
2b1e1a22
KR
80332011-05-28 Kevin Ryde <user42@zip.com.au>
8034
8035 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8036
5d344e88
CY
80372011-05-28 Chong Yidong <cyd@stupidchicken.com>
8038
8e6ca83d
CY
8039 * bindings.el (help-echo): Make the initial non-indicator dash
8040 empty on graphical terminals (Bug#7295).
8041
5d344e88
CY
8042 * files.el (auto-mode-alist): Move config rule after the
8043 in-stripping one (Bug#8547).
8044
bfbbace7
CY
8045 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8046
fbeba6e2
CY
8047 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8048 setting (Bug#8740).
8049
60ed8c72
AA
80502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8051
4ac619f0
AA
8052 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8053 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8054 (Bug#8539).
60ed8c72 8055
23db196e
CY
80562011-05-28 Chong Yidong <cyd@stupidchicken.com>
8057
8058 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8059
5012f24c
DK
80602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8061
8062 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8063 (hs-hide-block-at-point, hs-find-block-beginning)
8064 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8065 (Bug#8279).
8066
6a639b16
GM
80672011-05-28 Glenn Morris <rgm@gnu.org>
8068
8069 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8070
d43eaf2c
CY
80712011-05-28 Chong Yidong <cyd@stupidchicken.com>
8072
5199bde1
CY
8073 * help-fns.el (describe-function-1): If the function is a derived
8074 major mode, print the parent mode.
8075
d43eaf2c
CY
8076 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8077 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8078
423428a8
SM
80792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8080
0ff8e1ba 8081 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8082 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8083 * progmodes/etags.el (tags-completion-at-point-function):
8084 * info-look.el (info-lookup-completions-at-point): Mark as
8085 non-exclusive.
8086 (info-complete): Adjust accordingly.
8087
423428a8
SM
8088 * info-look.el: Convert to lexical-binding and completion-at-point.
8089 (info-lookup-completions-at-point): New function.
8090 (info-complete): Use it and completion-in-region.
8091
b74aa22b
DA
80922011-05-28 Drew Adams <drew.adams@oracle.com>
8093
8094 * isearch.el: Let M-e start with point at the first mismatched char.
8095 (isearch-fail-pos): New function.
8096 (isearch-edit-string): Use it.
8097
66e2e71d
DK
80982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8099
8100 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8101
b1890b0f 81022011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8103
8104 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8105 traversal functions for avl-trees.
8106 (avl-tree--stack): New struct.
8107 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8108 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8109 (avl-tree--do-enter): Add optional `updatefun' arg.
8110 Change return value.
eb95d01d 8111 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8112 (avl-tree--do-delete): Add `test' and `nilflag' args.
8113 Change return value.
eb95d01d
TC
8114 (avl-tree-member): Add optional `nilflag'
8115 (avl-tree-member-p): New function.
8116 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8117 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8118 (avl-tree-stack-empty-p): New functions.
8119
3769ddcf
TC
8120 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8121 avl-tree--del-balance1 and make it work both ways.
8122 (avl-tree--del-balance2): Remove.
8123 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8124 make it work both ways.
8125 (avl-tree--enter-balance2): Remove.
8126 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8127 New macros.
8128 (avl-tree--mapc, avl-tree-map): Add direction argument.
8129
eb95d01d 81302011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8131
8132 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8133
a9f737ee
CY
81342011-05-27 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * select.el: Support clipboard managers with built-in function
8137 x-clipboard-manager-save, via delete-frame-functions and
8138 kill-emacs-hook.
8139 (xselect-convert-to-targets): Add MULTIPLE target to list.
8140 (xselect-convert-to-save-targets): New function.
8141
c92a1e54
KH
81422011-05-27 Kenichi Handa <handa@m17n.org>
8143
8144 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8145 let-binding rfc2047-encode-encoded-words to nil.
8146
e145f188
GM
81472011-05-27 Glenn Morris <rgm@gnu.org>
8148
5ec8a862
GM
8149 * mail/emacsbug.el: Don't require url-util.
8150
4b29d9fb
GM
8151 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8152
e145f188
GM
8153 * files.el (set-auto-mode):
8154 Also respect mode: entries at the end of the file. (Bug#8586)
8155
7d15102b
GM
81562011-05-26 Glenn Morris <rgm@gnu.org>
8157
98f593b8
GM
8158 * files.el (hack-local-variables-prop-line, hack-local-variables):
8159 Downcase mode names, as seems to be traditional.
27b48e63 8160 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8161
7d15102b
GM
8162 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8163 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8164
51d5b4ec
JD
81652011-05-25 Julien Danjou <julien@danjou.info>
8166
8167 * textmodes/rst.el (rst-define-level-faces): Do not define face
8168 symbol if it is already defined.
8169
91513f63
VB
81702011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8171
8172 * play/5x5.el (5x5-new-game, 5x5-randomize):
8173 Reset 5x5-solver-output to nil when a new grid is cast.
8174 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8175 these debugging traces, as defmacro breaks the compiled code.
8176
4d90d6d0
DK
81772011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8178
8179 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8180
e1b90ef6
LL
81812011-05-24 Leo Liu <sdl.web@gmail.com>
8182
8183 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8184 (vc-bzr-sha1): Adapt.
8185
d8e4b68b 8186 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8187
8188 * bindings.el: Provide sha1 feature.
8189
db0406bb 81902011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8191
8192 * mail/sendmail.el: Require `rfc2047'.
8193 (mail-insert-from-field): Do not perform RFC2047 encoding.
8194 (mail-encode-header): New function.
8195 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8196 buffer to the return value of select-message-coding-system.
8197 Call mail-encode-header.
b8d747b9
KH
8198
8199 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8200
db0406bb 82012011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8202
4d90d6d0
DK
8203 * mail/supercite.el (sc-default-cite-frame):
8204 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8205
eb8a5e9b
GM
82062011-05-24 Glenn Morris <rgm@gnu.org>
8207
f8630703
GM
8208 * progmodes/python.el (brm-menu): Declare.
8209
8831bbed
GM
8210 * emulation/viper.el (viper-set-hooks): Declare.
8211
eb8a5e9b
GM
8212 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8213 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8214 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8215 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8216 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8217 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8218
a2a25d24
SM
82192011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 Add an :exit-function for completion-at-point.
8222
8223 * minibuffer.el (completion--done): New fun.
8224 (completion--do-completion): Use it. New arg `expect-exact'.
8225 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8226 since completion--do-completion does it for us now.
8227 (minibuffer-force-complete): Use completion--done and
8228 completion--replace. Handle sole-completion case with more care.
8229 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8230 (completion-extra-properties): New var.
8231 (completion-annotate-function): Make obsolete.
8232 (minibuffer-completion-help): Adjust accordingly.
8233 Use completion-list-insert-choice-function.
8234 (completion-at-point, completion-help-at-point):
8235 Bind completion-extra-properties.
8236 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8237 * simple.el (completion-list-insert-choice-function): New var.
8238 (completion-setup-function): Preserve it.
8239 (choose-completion): Pay attention to it, shuffle the code a bit.
8240 (choose-completion-string): New arg `insert-function'.
8241
8242 * textmodes/bibtex.el: Convert to lexical binding.
8243 (bibtex-mode-map): Use completion-at-point.
8244 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8245 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8246 (bibtex-complete): Define as obsolete alias.
8247 (bibtex-complete-internal): Remove.
8248 (bibtex-format-entry): Remove unused sub-group in regexp.
8249 * shell.el (shell--command-completion-data)
8250 (shell-environment-variable-completion):
8251 * pcomplete.el (pcomplete-completions-at-point):
8252 * comint.el (comint--complete-file-name-data): Use :exit-function
8253 instead of completion-table-with-terminator so it also works for
8254 choose-completion.
8255
e44e373d
SM
82562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8257
4f91a816
SM
8258 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8259
782fc819
SM
8260 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8261 (bug#8710).
8262
e44e373d
SM
8263 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8264
381987c3
KM
82652011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8266
8267 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8268 customization variable and implement: If non-nil, auto-fill will
8269 be inhibited while on topic's header line.
8270
b776bc70
VB
82712011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8272
8273 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8274 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8275 always have a solution in grid size = 5 cases.
8276 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8277 (5x5-solver-output, 5x5-log-buffer): New vars.
8278 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8279 Make these variables buffer local to achieve 5x5 multi-session-ness.
8280 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8281 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8282 (5x5-solve-suggest): New funs.
8283 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8284 randomize a grid so that we ensure that there is always a solution.
8285 (5x5-make-random-grid): Allow other movement than flipping.
8286
7de88b6e
KR
82872011-05-23 Kevin Ryde <user42@zip.com.au>
8288
8289 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8290 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8291 advice and passes PREDICATE.
8292
b1ef1257
SM
82932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8294
bbca48fe
SM
8295 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8296 byte-compile-lambda if it's actually a lambda.
8297
b1ef1257
SM
8298 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8299 Fix function quoting. Use backquote better.
8300
92a9cc65
YS
83012011-05-22 Yuanle Song <sylecn@gmail.com>
8302
8303 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8304 matching (Bug#8516).
8305
f0fb8059
JA
83062011-01-22 Jari Aalto <jari.aalto@cante.net>
8307
8308 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8309 different face (Bug#8178).
8310
d5b44c93
CY
83112011-05-22 Chong Yidong <cyd@stupidchicken.com>
8312
8313 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8314 defface (Bug#8144).
8315
79106a44
SM
83162011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8317
9c848d8a
SM
8318 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8319 funcall as well (bug#8712). Warn when performing those conversions.
8320 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8321
79106a44
SM
8322 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8323
88dfa756
GM
83242011-05-22 Glenn Morris <rgm@gnu.org>
8325
8326 * files.el (hack-local-variables-prop-line): Small simplifications.
8327 (hack-local-variables, hack-local-variables-prop-line):
8328 If MODE-ONLY, return the mode, rather than just `t'.
8329
b7cf2c79
SM
83302011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8333
3f1a8558
GM
83342011-05-21 Glenn Morris <rgm@gnu.org>
8335
7e4ccca3
GM
8336 * files.el (hack-local-variables-prop-line, hack-local-variables):
8337 If only interested in the mode, don't bother doing the other stuff.
8338
637d46ca
GM
8339 * image-mode.el (image-after-revert-hook):
8340 Redraw all frames on which the image is visible. (Bug#8567)
8341
973d955b
GM
8342 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8343
3f1a8558
GM
8344 * wid-edit.el (widget-checklist-match-inline):
8345 Fix 2011-04-19 change. (Bug#8649)
8346
96479927
SM
83472011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8348
1dcf791f
SM
8349 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8350 Also allow singlespace after single-letter capitals followed by a dot.
8351
96479927
SM
8352 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8353 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8354
35fd0881
N
83552011-05-20 Nix <nix@esperi.org.uk>
8356
8357 * files.el (basic-save-buffer-2):
8358 Fix handling of break-hardlink-on-save with non-existent files.
8359
82745640
DD
83602011-05-19 Deniz Dogan <deniz@dogan.se>
8361
8362 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8363 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8364
4a720484
GM
83652011-05-19 Glenn Morris <rgm@gnu.org>
8366
d1f21341
GM
8367 * progmodes/f90.el (f90-type-def-re):
8368 Handle "type, bind(c)". (Bug#8691)
8369
4a720484
GM
8370 * emacs-lisp/autoload.el (batch-update-autoloads):
8371 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8372
2fb0a219
MA
83732011-05-18 Michael Albinus <michael.albinus@gmx.de>
8374
8375 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8376 property for the correct connection in case of multihops.
8377
e565dd37
GM
83782011-05-18 Glenn Morris <rgm@gnu.org>
8379
c2571358 8380 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8381 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8382
e565dd37
GM
8383 Rationalize calendar handling of day and month abbrev-arrays.
8384 * calendar/calendar.el (calendar-customized-p): New function.
8385 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8386 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8387 Add :set function.
8388 (calendar-abbrev-length, calendar-day-abbrev-array)
8389 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8390 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8391 Elements may no longer be nil.
8392 (calendar-day-name, calendar-month-name):
8393 Update for changed nature of abbrev arrays.
8394 * calendar/diary-lib.el (diary-name-pattern):
8395 Update for changed nature of abbrev arrays.
8396 (diary-mark-entries-1): Update calendar-make-alist calls.
8397 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8398 * calendar/cal-html.el (cal-html-day-abbrev-array):
8399 Simply inherit from calendar-day-abbrev-array.
8400
1d99a745
SM
84012011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * progmodes/grep.el (grep-mode): Disable default
8404 compilation-directory-matcher setting (bug#8684).
8405
7c1d9aa0
MA
84062011-05-17 Michael Albinus <michael.albinus@gmx.de>
8407
8408 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8409 instead of "head" and "tail". There were problems with SunOS 5.9,
8410 and it performs better.
8411
3952e9d8
GM
84122011-05-17 Glenn Morris <rgm@gnu.org>
8413
2dd12e7f
GM
8414 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8415
e4157b9c
GM
8416 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8417 Replace obsolete function.
8418
8e249bbd
GM
8419 * shell.el (pcomplete-parse-arguments-function): Declare.
8420
3952e9d8
GM
8421 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8422 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8423 (appt-check): Doc fixes.
8424 (appt-disp-window-function, appt-delete-window-function):
8425 Remove needless special case in custom :type.
8426 (appt-display-count): Default to 0, not nil.
8427 (appt-check): Reset appt-display-count to 0, not nil.
8428
c71a0d48 84292011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8430
c71a0d48
GM
8431 * progmodes/python.el (python-font-lock-keywords):
8432 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8433
31d55be9
SM
84342011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8437
3bfacb2f
KR
84382011-05-16 Kevin Ryde <user42@zip.com.au>
8439
8440 * info-look.el (makefile-automake-mode): New setups, looking in
8441 automake manual, then makefile-mode.
8442 (makefile-mode): Remove automake manual, have it just in
8443 makefile-automake-mode since there's various things different or
8444 not relevant to plain make.
8445 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8446 believe a hypothetical automake-mode would go to makefile-mode,
8447 not the other way around.
8448
c8e83751
CY
84492011-05-15 Chong Yidong <cyd@stupidchicken.com>
8450
5e9e35cd
CY
8451 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8452 hunk-end tags (Bug#8672).
8453
c8e83751
CY
8454 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8455 vc-annotate-show-diff-revision-at-line (Bug#8671).
8456
50b23e5a
GM
84572011-05-14 Glenn Morris <rgm@gnu.org>
8458
7210a739
GM
8459 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8460 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8461 (change-log-font-lock-keywords): Also handle multiple author lines
8462 with leading tabs. (Bug#8644)
7210a739 8463
4691905a
GM
8464 * calendar/appt.el (appt-check): Rename some local variables.
8465 Some simplification/reordering.
8466
50b23e5a
GM
8467 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8468 (feedmail-sendmail-f-doesnt-sell-me-out)
8469 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8470 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8471 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8472 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8473 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8474 (feedmail-binmail-gnulinuxish-template):
8475 Rename from feedmail-binmail-linuxish-template.
8476 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8477 Use insert-buffer-substring.
8478
215cda7c
BC
84792011-05-14 Bill Carpenter <bill@carpenter.org>
8480
8481 * mail/feedmail.el (feedmail-patch-level): Increase.
8482 (feedmail-debug): New custom group.
8483 (feedmail-confirm-outgoing-timeout)
8484 (feedmail-sendmail-f-doesnt-sell-me-out)
8485 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8486 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8487 (feedmail-sender-line, feedmail-from-line)
8488 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8489 (feedmail-spray-this-address)
215cda7c
BC
8490 (feedmail-spray-address-fiddle-plex-list)
8491 (feedmail-queue-use-send-time-for-date)
8492 (feedmail-queue-use-send-time-for-message-id)
8493 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8494 (feedmail-buffer-eating-function):
8495 Doc fixes.
8496 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8497 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8498 (feedmail-message-action-scroll-down): New functions.
8499 (feedmail-queue-directory, feedmail-queue-draft-directory):
8500 Use expand-file-name.
8501 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8502 Remove C-v help entry.
8503 (feedmail-queue-buffer-file-name): New variable.
8504 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8505 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8506 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8507 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8508 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8509 (feedmail-message-action-toggle-spray)
8510 (feedmail-run-the-queue-no-prompts)
8511 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8512 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8513 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8514 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8515 (feedmail-envelope-deducer, feedmail-fiddle-from)
8516 (feedmail-fiddle-sender, feedmail-default-date-generator)
8517 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8518 (feedmail-fiddle-spray-address)
8519 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8520 (feedmail-fiddle-list-of-fiddle-plexes)
8521 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8522 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8523 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8524 Change default. Doc fix.
8525 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8526 (feedmail-binmail-linuxish-template): New constant.
8527 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8528 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8529 (feedmail-send-it): Add debug call.
8530 Use feedmail-queue-buffer-file-name, and
8531 feedmail-send-it-immediately-wrapper.
8532 (feedmail-message-action-send): Add debug call.
8533 Use feedmail-send-it-immediately-wrapper.
8534 (feedmail-queue-express-to-queue): Add debug call.
8535 Run feedmail-queue-express-hook.
8536 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8537 (feedmail-message-action-help-blat):
8538 Rename from feedmail-queue-send-edit-prompt-help-first.
8539 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8540 Check line-endings. Handle errors better.
8541 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8542 Doc fix. Add debug call.
8543 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8544 Use feedmail-queue-send-edit-prompt-inner.
8545 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8546 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8547 from feedmail-queue-send-edit-prompt.
8548 (feedmail-queue-send-edit-prompt-help)
8549 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8550 (feedmail-tidy-up-slug): Add debug call.
8551 Respect feedmail-queue-slug-suspect-regexp.
8552 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8553 (feedmail-dump-message-to-queue): Add debug call.
8554 Expand queue-directory.
8555 (feedmail-dump-message-to-queue): Change message slightly.
8556 Use feedmail-say-chatter.
8557 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8558 (feedmail-send-it-immediately-wrapper): New function.
8559 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8560 Insert empty string rather than newline. Handle full-frame case.
8561 Use catch/throw. Use feedmail-say-chatter.
8562 (feedmail-fiddle-from): Try mail-host-address.
8563 (feedmail-default-message-id-generator): Doc fix.
8564 Bind system-time-locale. Handle missing end.
8565 (feedmail-fiddle-x-mailer): Add debug call.
8566 Handle feedmail-x-mailer-line being nil.
8567 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8568 Add debug call. Use buffer-substring-no-properties.
8569 (feedmail-say-debug, feedmail-say-chatter): New functions.
8570 (feedmail-find-eoh): Give an explicit error.
8571
42c7e61e
UJ
85722011-05-13 Ulf Jasper <ulf.jasper@web.de>
8573
c2571358 8574 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8575 family from helvetica to sans.
c2571358 8576 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8577 etc/images/newsticker.
8578
c2571358 8579 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8580 family from helvetica to sans.
8581
8582 * net/newst-plainview.el (newsticker-new-item-face)
8583 (newsticker-old-item-face, newsticker-immortal-item-face)
8584 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8585 (newsticker-statistics-face): Change default family from
42c7e61e 8586 helvetica to sans.
c2571358 8587 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8588 etc/images/newsticker.
8589
8590 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8591 (newsticker--process-auto-mark-filter-match): : Tell user about
8592 auto-marking.
8593
8497a297
DV
85942011-05-13 Didier Verna <didier@xemacs.org>
8595
8596 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
8597 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8598 TODO entries.
8497a297
DV
8599 (lisp-lambda-list-keyword-parameter-indentation)
8600 (lisp-lambda-list-keyword-parameter-alignment)
8601 (lisp-lambda-list-keyword-alignment): New customizable user options.
8602 (lisp-indent-defun-method): Improve docstring.
8603 (extended-loop-p): Fix comment.
8604 (lisp-indent-lambda-list-keywords-regexp): New variable.
8605 (lisp-indent-lambda-list): New function.
8606 (lisp-indent-259): Use it.
8607 (lisp-indent-defmethod): Support for more than one
8608 method qualifier and properly indent methods lambda-lists.
8609 (defgeneric): Provide a missing common-lisp-indent-function property.
8610
f278f87f
SM
86112011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8614 bounds for the empty string (bug#8667).
8615
5233edd7
GM
86162011-05-13 Glenn Morris <rgm@gnu.org>
8617
5237a44f
GM
8618 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8619
8340026c 8620 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8621 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8622
5233edd7 8623 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8624 (appt-time-msg-list): Doc fix.
a5464014 8625 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8626
92d10796
AS
86272011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * progmodes/ld-script.el (ld-script-keywords)
8630 (ld-script-builtins): Update keywords list.
8631
914a0ae1
SM
86322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8633
c89be45f
SM
8634 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8635
914a0ae1
SM
8636 * shell.el (shell-completion-vars): New function.
8637 (shell-mode):
8638 * simple.el (read-shell-command): Use it.
8639 (blink-matching-open): No need for " [...]" in minibuffer-message.
8640
98dc3df3
GM
86412011-05-12 Glenn Morris <rgm@gnu.org>
8642
8643 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8644 (appt-check): Simplify.
8645
d2fc7e3d 86462011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8647
4d61f28d 8648 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8649 literal "/dev/null".
8650
d2fc7e3d 86512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8652
8653 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8654 Fix typo.
8655
d2fc7e3d 86562011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8657
3f254caa
SM
8658 * progmodes/which-func.el (which-function):
8659 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8660 which might not be defined (Bug#8260).
8661
d45885f7
GM
86622011-05-12 Glenn Morris <rgm@gnu.org>
8663
8664 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8665 Let byte-compile-initial-macro-environment always take precedence.
8666
488086f4
SM
86672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * net/rcirc.el: Add support for SSL/TLS connections.
8670 (rcirc-server-alist): New field `encryption'.
8671 (rcirc): Check `encryption' settings.
8672 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8673 Merge make-local-variable into `set'.
8674 (rcirc--connection-open-p): New function.
8675 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8676 the process is not a network process (e.g. running gnutls-cli).
8677 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8678 Make rcirc-(en|de)code-coding-system local here.
8679 (rcirc-mode): Merge make-local-variable into `set'.
8680 (rcirc-parent-buffer): Make permanent buffer-local.
8681 (rcirc-multiline-minor-mode): Don't do it here.
8682 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8683 there's no server buffer.
8684
7d3b9d44
GM
86852011-05-11 Glenn Morris <rgm@gnu.org>
8686
f64049c6
GM
8687 * newcomment.el (comment-kill): Prefix "unused" local.
8688
93c9df73
GM
8689 * term/w32console.el (get-screen-color): Declare.
8690
7d3b9d44
GM
8691 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8692 Handle symbol elements of byte-compile-initial-macro-environment.
8693
9e2dd53f
LL
86942011-05-10 Leo Liu <sdl.web@gmail.com>
8695
488086f4
SM
8696 * bookmark.el (bookmark-bmenu-mode-map):
8697 Bind bookmark-bmenu-search to `/'.
8b340240 8698
9e2dd53f 8699 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8700 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8701 (Footnote-unicode): New function.
8702 (footnote-style-alist): Add unicode style to the list.
8703 (footnote-style): Doc fix.
9e2dd53f 8704
79b70037
GM
87052011-05-10 Jim Meyering <meyering@redhat.com>
8706
8707 Fix doubled-word typos.
8708 * international/quail.el (quail-insert-kbd-layout): and and -> and
8709 * kermit.el: and and -> and
8710 * net/ldap.el (ldap-search-internal): to to -> to
8711 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8712 * progmodes/js.el (js-mode): and and -> and
8713 * textmodes/artist.el (artist-move-to-xy): at at -> at
8714 (artist-draw-region-trim-line-endings): if if -> if
8715 And Safetyc -> Safety.
8716 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8717
b8f82dc1 87182011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8719 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8720
8721 * files.el (hack-one-local-variable-eval-safep):
8722 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8723
4f99f44b
GM
87242011-05-10 Glenn Morris <rgm@gnu.org>
8725
8726 * calendar/diary-lib.el (diary-list-entries-hook)
8727 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8728 (diary-nongregorian-marking-hook, diary-list-entries)
8729 (diary-include-other-diary-files, diary-mark-entries)
8730 (diary-mark-included-diary-files): Doc fixes.
8731
84f29e6b
JB
87322011-05-09 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * misc.el: Require tabulated-list.el during compilation.
8735
9bedd73a
CY
87362011-05-09 Chong Yidong <cyd@stupidchicken.com>
8737
488086f4
SM
8738 * progmodes/compile.el (compilation-start):
8739 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8740 (compilation-filter-hook): Doc fix.
8741
797c735c
DD
87422011-05-09 Deniz Dogan <deniz@dogan.se>
8743
8744 * wdired.el: Remove outdated installation comment. Fix usage
8745 comment.
8746
5f4b1dfe
JB
87472011-05-09 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * misc.el: Implement new command `list-dynamic-libraries'.
8750 (list-dynamic-libraries--loaded-only-p): New variable.
8751 (list-dynamic-libraries--refresh): New function.
8752 (list-dynamic-libraries): New command.
8753
4c44026c
CY
87542011-05-09 Chong Yidong <cyd@stupidchicken.com>
8755
488086f4
SM
8756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8757 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8758 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8759 higher priority to avoid clobbering by gnu.
8760
027f966d
CY
87612011-05-08 Chong Yidong <cyd@stupidchicken.com>
8762
8763 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8764 if the face has existing theme settings (Bug#8454).
8765
085f5d7d
CY
87662011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8767
488086f4
SM
8768 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8769 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8770
2a86a00c
RS
8771 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8772 special file names `.' and `..' (Bug#8259).
8773
d9c54a06
CY
87742011-05-08 Chong Yidong <cyd@stupidchicken.com>
8775
488086f4
SM
8776 * progmodes/grep.el (grep-mode-font-lock-keywords):
8777 Remove buffer-changing entries.
d9c54a06
CY
8778 (grep-filter): New function.
8779 (grep-mode): Add it to compilation-filter-hook.
8780
8781 * progmodes/compile.el (compilation-filter-hook)
8782 (compilation-filter-start): New defvars.
8783 (compilation-filter): Call compilation-filter-hook prior to
8784 updating the process mark.
8785
c4662635
SM
87862011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8789
b0512a1d
EZ
87902011-05-07 Eli Zaretskii <eliz@gnu.org>
8791
605c9376
EZ
8792 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8793 mailclient-send-it even if window-system is nil. (Bug#8595)
8794
c4662635
SM
8795 * term/w32console.el (terminal-init-w32console):
8796 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8797 background-mode. (Bug#8597)
8798
d1dc2cc2
SM
87992011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8802 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8803 New functions.
8804 (defgeneric, eieio--defmethod): Use them.
8805 (eieio-defgeneric): Remove.
8806 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8807
915d1300
GM
88082011-05-07 Glenn Morris <rgm@gnu.org>
8809
a3961c3e
GM
8810 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8811 Use let rather than let*.
8812 (timeclock-find-discrep): Remove unused local.
8813
314347b9
GM
8814 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8815
915d1300
GM
8816 * calendar/appt.el (appt-time-msg-list): Doc fix.
8817
275b59b0
NF
88182011-05-06 Noah Friedman <friedman@splode.com>
8819
8820 * apropos.el (apropos-print-doc): Only use
8821 emacs-lisp-docstring-fill-column when it is bound to an integer,
8822 per that variable's documentation.
8823
6c19f744
SM
88242011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8827 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8828
60f884b2
GM
88292011-05-06 Glenn Morris <rgm@gnu.org>
8830
5006e634
GM
8831 * calendar/appt.el (appt-message-warning-time): Doc fix.
8832 (appt-warning-time-regexp): New option.
8833 (appt-make-list): Respect appt-message-warning-time.
8834
548d0a63
GM
8835 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8836 New options.
8837 (diary-add-to-list): Strip comments from the displayed string.
8838 (diary-mode): Set comment-start and comment-end.
8839
60f884b2
GM
8840 * vc/diff-mode.el (smerge-refine-subst): Declare.
8841 (diff-refine-hunk): Don't require smerge-mode when compiling.
8842
989681bb
JB
88432011-05-06 Juanma Barranquero <lekktu@gmail.com>
8844
8845 * simple.el (list-processes): Return nil as the docstring says.
8846
a6bc05e1
MA
88472011-05-05 Michael Albinus <michael.albinus@gmx.de>
8848
8849 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8850 to "".
8851 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8852 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8853 determining of binary transfer. (Bug#7383)
8854
23c22e9a
MA
88552011-05-05 Michael Albinus <michael.albinus@gmx.de>
8856
c4662635
SM
8857 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8858 Fix port computation bug. (Bug#8618)
23c22e9a 8859
0bff894f
GM
88602011-05-05 Glenn Morris <rgm@gnu.org>
8861
b8296902
GM
8862 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8863
1f522ce8
GM
8864 * simple.el (shell-dynamic-complete-functions)
8865 (comint-dynamic-complete-functions): Declare.
8866
cf5bee67
GM
8867 * net/network-stream.el (gnutls-negotiate):
8868 * simple.el (tabulated-list-print): Fix declarations.
8869
8870 * progmodes/gud.el (syntax-symbol, syntax-point):
8871 Remove unnecessary and incorrect declarations.
8872
0bff894f
GM
8873 * emacs-lisp/check-declare.el (check-declare-scan):
8874 Handle byte-compile-initial-macro-environment in bytecomp.el
8875
9869b3ae
SM
88762011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 Fix earlier half-done eieio-defmethod change (bug#8338).
8879 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8880 Streamline and change calling convention.
8881 (defmethod): Adjust accordingly and simplify.
8882 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8883 new eieio--defmethod.
8884 (slot-boundp): Minor CSE simplification.
8885
9c1d5ac5
MZ
88862011-05-05 Milan Zamazal <pdm@zamazal.org>
8887
8888 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8889 (glasses-make-readable): Use glasses-separate-capital-groups.
8890
455c834e
JB
88912011-05-05 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8894 (warning-series): Doc fix.
8895 (display-warning): Don't try to create the buffer if we just found it.
8896
9ed7c8cb
CY
88972011-05-04 Chong Yidong <cyd@stupidchicken.com>
8898
8899 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8900 (autoload-find-generated-file): New function.
8901 (generate-file-autoloads): Bind generated-autoload-file to
8902 buffer-file-name.
9869b3ae
SM
8903 (update-file-autoloads, update-directory-autoloads):
8904 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8905 output file (Bug#7989).
8906 (batch-update-autoloads): Doc fix.
8907
0898ca10
JB
89082011-05-04 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8911
31dfb76c
GM
89122011-05-04 Glenn Morris <rgm@gnu.org>
8913
f330b642
GM
8914 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8915 function, so it follows changes in calendar-date-style.
8916 (diary-fancy-date-matcher): New function.
8917 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8918 (diary-fancy-font-lock-fontify-region-function):
8919 Use diary-fancy-date-pattern as a function.
8920
31dfb76c
GM
8921 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8922 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8923
48e79d6a
TZ
89242011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8925
8926 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8927 instead of positional arguments. Allow :keylist and :crlfiles
8928 arguments.
8929 (open-gnutls-stream): Call it.
8930
8931 * net/network-stream.el (network-stream-open-starttls): Adjust to
8932 call `gnutls-negotiate' with :process and :hostname arguments.
8933
dd5a5ee0
SM
89342011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8935
ef80fc09
SM
8936 * minibuffer.el (completion--message): New function.
8937 (completion--do-completion, minibuffer-complete)
8938 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8939 (completion--do-completion): Don't ignore completion-auto-help when in
8940 icomplete-mode.
8941
dd5a5ee0
SM
8942 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8943 internal encoding (e.g. tibetan zero is not whitespace).
8944 (global-whitespace-mode): Prefer save-current-buffer.
8945 (whitespace-trailing-regexp): Remove useless save-match-data.
8946 (whitespace-empty-at-bob-regexp): Minor simplification.
8947
b7d22a83
CY
89482011-05-03 Chong Yidong <cyd@stupidchicken.com>
8949
8950 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8951
5192af46
AM
89522011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8953
8954 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8955 Use `concat' to create string for insertion.
5192af46 8956
5767d190
SM
89572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8960 Avoid open-line which runs post-self-insert-hook.
8961 (bibtex-fill-entry): Remove unused `end' var.
8962
bf242939
AM
89632011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8964
5767d190
SM
8965 * textmodes/ispell.el (ispell-add-per-file-word-list):
8966 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8967
25666126
LL
89682011-05-03 Leo Liu <sdl.web@gmail.com>
8969
8970 * isearch.el (isearch-yank-pop): New command.
5767d190 8971 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8972 (isearch-forward): Mention it.
8973
52d3c2d0
SM
89742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8975
1bcace58
SM
8976 * simple.el (minibuffer-complete-shell-command): Remove.
8977 (minibuffer-local-shell-command-map): Use completion-at-point.
8978 (read-shell-command): Setup completion vars here instead.
8979 (read-expression-map): Bind TAB to symbol completion.
8980
52d3c2d0
SM
8981 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8982 error directly rather via storing it into `results'.
8983
35813471
LL
89842011-05-02 Leo Liu <sdl.web@gmail.com>
8985
8986 * vc/diff.el: Fix description.
8987
e793a940
LMI
89882011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989
8990 * server.el (server-eval-at): New function.
8991
8de66e05
LMI
89922011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8993
8994 * net/network-stream.el (open-network-stream): Take a :nowait
8995 parameter and pass it on to `make-network-process'.
8996 (network-stream-open-plain): Ditto.
8997
dcb79f20
AS
89982011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8999
9000 * faces.el (face-spec-set-match-display): Don't match toolkit
9001 options on terminal frames.
9002
14a7fbd8
SM
90032011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9004
7eabc1be
SM
9005 * progmodes/pascal.el: Use lexical binding.
9006 (pascal-mode-map): Remove author preferences.
9007
14a7fbd8
SM
9008 * pcomplete.el (pcomplete-std-complete): Don't abuse
9009 completion-at-point.
9010
50f84510
JB
90112011-04-28 Juanma Barranquero <lekktu@gmail.com>
9012
6e087a44
JB
9013 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9014 removing code that has been dead since 1991 or so.
9015
50f84510
JB
9016 * startup.el (command-line): When warning about "_emacs", use a
9017 delayed warning to allow the user to filter it out.
9018
0ba690bd
DD
90192011-04-28 Deniz Dogan <deniz@dogan.se>
9020
9021 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9022 user has not joined.
9023
08abfaad
SM
90242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9027 aren't any completions at point.
9028
638f053a
JB
90292011-04-28 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * subr.el (display-delayed-warnings): New function.
9032 (delayed-warnings-hook): New variable.
9033
8fff8daa
SM
90342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9035
08abfaad
SM
9036 * minibuffer.el (completion-at-point, completion-help-at-point):
9037 Don't presume that a given completion-at-point-function will always
9038 use the same calling convention.
9039
8fff8daa
SM
9040 * pcomplete.el (pcomplete-completions-at-point):
9041 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9042 pcomplete-seen is non-nil.
9043 (pcomplete-comint-setup): Also recognize the new comint/shell
9044 completion functions.
9045 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9046 pcomplete-seen is non-nil.
9047
841a1577 90482011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9049
841a1577 9050 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9051 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9052 the first character in the entry. This allows for code to add its
211ec907
UJ
9053 own uid to the entry.
9054 (icalendar--convert-float-to-ical): Add export of
9055 `diary-float'-entries save for those with the optional DAY
9056 argument.
9057
2a782793
DC
90582011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9059
9060 * subr.el (shell-quote-argument): Use alternate escaping strategy
9061 when we spot a variable reference in a string.
9062
0438ce91
DC
90632011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9064
9065 * cus-start.el (all): Define customization for debug-on-event.
9066
841a1577 90672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9068
9069 * subr.el (shell-quote-argument): Escape correctly under Windows.
9070
d090ed6c
SM
90712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9074
bfd31217
MA
90752011-04-25 Michael Albinus <michael.albinus@gmx.de>
9076
d090ed6c
SM
9077 * net/tramp.el (tramp-process-actions): Add POS argument.
9078 Delete region between POS and (pos).
bfd31217 9079
d090ed6c
SM
9080 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9081 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9082 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9083
9084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9085 position in `tramp-process-actions' call.
9086
9087 * net/trampver.el: Update release number.
9088
e92f3bd3
SM
90892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9090
850256b5
SM
9091 * custom.el (defcustom): Obey lexical-binding.
9092
e92f3bd3
SM
9093 Fix octave-inf completion problems reported by Alexander Klimov.
9094 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9095 Inherit from octave-mode-syntax-table.
9096 (inferior-octave-mode): Set info-lookup-mode.
9097 (inferior-octave-completion-at-point): New function.
9098 (inferior-octave-complete): Use it and completion-in-region.
9099 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9100 comint-filename-completion.
9101 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9102 symbol elements which shouldn't be word elements.
9103 (octave-font-lock-keywords, octave-beginning-of-defun)
9104 (octave-function-header-regexp): Adjust regexps accordingly.
9105 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9106
cd22b309
JB
91072011-04-25 Juanma Barranquero <lekktu@gmail.com>
9108
9109 * net/gnutls.el (gnutls-errorp): Declare before first use.
9110
8b492194
TZ
91112011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9112
9113 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9114 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9115 default trustfile exists before going to use it. Add missing
5a5fa834 9116 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9117 Reported by Claudio Bley <claudio.bley@gmail.com>.
9118 (open-gnutls-stream): Add usage example.
9119
9120 * net/network-stream.el (network-stream-open-starttls): Give host
9121 parameter to `gnutls-negotiate'.
9122 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9123 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9124
841a1577 91252011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9126
cd22b309
JB
9127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9128 Use correct match group (bug#8438).
05842630 9129
3ba7869c
CY
91302011-04-24 Chong Yidong <cyd@stupidchicken.com>
9131
512e3ae1
CY
9132 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9133 (package-menu--generate): New arg specifying packages to show.
9134 (package-menu-refresh, package-menu-execute, list-packages):
9135 Callers changed.
9136 (package-show-package-list): New function, replacing deleted
9137 package--list-packages (renamed because it is non-internal).
9138
9139 * finder.el (finder-list-matches): Use package-show-package-list
9140 instead of deleted package--list-packages.
9141
e92f3bd3
SM
9142 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9143 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9144 (vc-annotate-mode-map): Bind it to RET.
9145
7031be6d
UR
91462011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9147
9148 * progmodes/etags.el (next-file): Don't use set-buffer to change
9149 buffers (Bug#8478).
9150
4ef177aa
CY
91512011-04-24 Chong Yidong <cyd@stupidchicken.com>
9152
c8d173eb
CY
9153 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9154
4ef177aa
CY
9155 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9156 (apropos-accumulator): Doc fix.
9157 (apropos-function, apropos-macro, apropos-command)
9158 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9159 (apropos-plist): Add face property.
9160 (apropos-symbols-internal): Fix indentation.
9161 (apropos-print): Simplify help, and recognize apropos-multi-type.
9162 (apropos-print-doc): Use button-type-get to extract the button's
9163 face property. Fill docstring (Bug#8352).
9164
4ffd0d6b 91652011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9166
9167 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9168
c6c32125 9169 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9170 (mpuz-mode-map): Use mapc.
c6c32125
JB
9171 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9172 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9173 Fix typos in docstrings.
9174
58d468b4
JB
9175 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9176 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9177
6470c3c6
JB
9178 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9179
4ffd0d6b 91802011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9181
9182 * minibuffer.el (completion--do-completion): Avoid the "Next char
9183 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9184
3ad8bad0
CY
9185 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9186 mouse-2 into unread-command-events, it is interpreted correctly.
9187
71d73c9c 9188 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9189 (image-toggle-display): Doc fix.
71d73c9c 9190
841a1577 91912011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9192
4ffd0d6b
GM
9193 * textmodes/page.el (what-page): Use line-number-at-pos to
9194 calculate line number (Bug#6825).
6e1dbaa9 9195
c2fb1b60
JB
91962011-04-22 Juanma Barranquero <lekktu@gmail.com>
9197
9198 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9199 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9200 Pass argument NO-DEFAULT to `find-tag-interactive'.
9201
e02f48d7
JB
92022011-04-22 Juanma Barranquero <lekktu@gmail.com>
9203
9204 Lexical-binding cleanup.
9205
9206 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9207 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9208 * progmodes/ada-prj.el (ada-prj-initialize-values)
9209 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9210 (ada-prj-show-value):
9211 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9212 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9213 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9214 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9215 * progmodes/bug-reference.el (bug-reference-push-button):
9216 * progmodes/fortran.el (fortran-line-length):
9217 * progmodes/glasses.el (glasses-change):
9218 * progmodes/octave-mod.el (octave-fill-paragraph):
9219 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9220 (python-pdbtrack-grub-for-buffer, python-sentinel):
9221 * progmodes/sql.el (sql-save-connection):
9222 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9223 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9224 Mark unused parameters.
9225
9226 * progmodes/compile.el (compilation--flush-directory-cache)
9227 (compilation--flush-parse, compile-internal): Mark unused parameters.
9228 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9229 (compilation-next-error-function): Remove unused variable `timestamp'.
9230
9231 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9232 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9233
9234 * progmodes/dcl-mode.el (dcl-end-of-command):
9235 Remove unused variable `start'.
9236 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9237 (dcl-option-value-basic, dcl-option-value-offset)
9238 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9239 Mark unused parameters.
9240 (dcl-save-local-variable): Remove unused variable `val'.
9241 (mode): Declare.
9242
9243 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9244 Mark unused parameters.
9245 (delphi-ignore-changes): Move before first use.
9246 (delphi-charset-token-at): Remove unused variable `start'.
9247 (delphi-else-start): Remove unused variable `if-count'.
9248 (delphi-comment-block-start, delphi-comment-block-end):
9249 Remove unused variable `kind'.
9250 (delphi-indent-line): Remove unused variable `new-point'.
9251
9252 * progmodes/ebrowse.el (ebrowse-files-list)
9253 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9254 Mark unused parameters. Don't quote `lambda'.
9255 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9256 Don't quote `lambda'.
9257 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9258 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9259 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9260 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9261 Use `ignore-errors'.
9262 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9263 (ebrowse-view/find-file-and-search-pattern)
9264 (ebrowse-view/find-member-declaration/definition):
9265 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9266 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9267 Rename parameter PREFIX-ARG to PREFIX.
9268 (ebrowse-tags-read-name): Remove unused variables `start' and
9269 `member-info'.
9270 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9271 to `tags-file'.
9272
9273 * progmodes/etags.el (local-find-tag-hook): Declare.
9274 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9275 Mark unused parameters.
9276
9277 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9278 (executable-interpret): Mark unused parameter.
9279
9280 * progmodes/flymake.el (flymake-process-sentinel)
9281 (flymake-after-change-function)
9282 (flymake-create-temp-with-folder-structure)
9283 (flymake-get-include-dirs-dot): Mark unused parameters.
9284 (flymake-safe-delete-directory): Remove unused variable `err'.
9285
9286 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9287 (speedbar-timer-fn, speedbar-line-text)
9288 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9289 (speedbar-center-buffer-smartly): Declare functions.
9290 (gdb-find-watch-expression): Remove unused variable `array'.
9291 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9292 (gdb-starting): Mark unused parameters.
9293 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9294 (gdb-table-string): Remove unused variable `res'.
9295 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9296 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9297 (gdb-display-buffer): Remove unused variable `cur-size'.
9298
9299 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9300 allow lexical-binding compilation.
9301 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9302 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9303 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9304 Mark unused parameters.
9305 (gud-gdb-marker-filter): Remove unused variable `match'.
9306 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9307 lambda expressions and funcall them, instead of using `fset'.
9308
9309 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9310 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9311
9312 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9313 variable `header-beg'; use `let'.
9314
9315 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9316 `restart', `last-sexp' and `at-do'.
9317
9318 * progmodes/js.el (js--debug): Mark unused parameter.
9319 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9320 (js--splice-into-items): Remove unused variable `item'.
9321 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9322
9323 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9324 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9325 (makefile-complete): Remove unused variable `try'.
9326 (makefile-fill-paragraph, makefile-match-function-end):
9327 Mark unused parameters.
9328
9329 * progmodes/octave-inf.el (inferior-octave-complete):
9330 Remove unused variable `proc'.
9331 (inferior-octave-output-digest): Mark unused parameter.
9332
9333 * progmodes/perl-mode.el (perl-calculate-indent):
9334 Remove unused variable `err'.
9335
9336 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9337 (prolog-indent-line): Mark unused parameters.
9338 (prolog-indent-line): Remove unused variable `beg'.
9339
9340 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9341 (reporter-dont-compact-list): Declare.
9342
9343 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9344 Remove unused variable `char'.
9345 (sh-debug): Mark unused parameter.
9346 (sh-get-indent-info): Remove unused variable `start'.
9347 (sh-calculate-indent): Remove unused variable `var'.
9348
9349 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9350 (simula-electric-keyword): Remove unused variable `null'.
9351 (simula-search-backward, simula-search-forward): Remove unused
9352 variables `begin' and `end'.
9353
9354 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9355 Remove unused variable `pos'.
9356 (vera-electric-tab, vera-comment-uncomment-region):
9357 Mark unused parameters.
9358 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9359
7ede3b65
CY
93602011-04-22 Chong Yidong <cyd@stupidchicken.com>
9361
9362 * emacs-lisp/package.el (package--builtins, package-alist)
9363 (package-load-descriptor, package-built-in-p, package-activate)
9364 (define-package, package-installed-p)
9365 (package-compute-transaction, package-buffer-info)
9366 (package--push): Doc fix. Distinguish more clearly between
9367 version strings and version lists.
9368
121656e9
JB
93692011-04-21 Juanma Barranquero <lekktu@gmail.com>
9370
9371 Lexical-binding cleanup.
9372
9373 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9374 (5x5-make-mutate-best):
9375 * play/fortune.el (fortune-in-buffer):
9376 * play/gomoku.el (gomoku-init-display):
9377 * play/solitaire.el (solitaire, solitaire-do-check):
9378 * play/tetris.el (tetris-default-update-speed-function):
9379 Mark unused parameters.
9380
9381 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9382 (bubbles--shift): Remove unused variable `char-org'.
9383 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9384 (bubbles--show-images): Remove unused variable `char'.
9385
9386 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9387 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9388 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9389 (decipher-analyze-buffer): Use ?\s.
9390 (decipher-make-checkpoint): Remove unused variable `mapping'.
9391
9392 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9393
9394 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9395 Remove unused variable `result'; use `let'.
9396
9397 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9398 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9399 (gametree-children-shown-p, gametree-compute-reduced-score):
9400 Use `ignore-errors'.
9401
9402 * play/handwrite.el (ps-lpr-switches): Declare.
9403 (handwrite): Remove unused variables `pmin' and `lastp'.
9404
9405 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9406
9407 * play/landmark.el (landmark-init-display)
9408 (landmark-update-naught-weights): Mark unused parameters.
9409 (landmark-y): Remove unused variable `noise'. Simplify.
9410 (landmark-human-plays): Remove unused variable `score'.
9411
9412 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9413 (mpuz-try-proposal): Remove unused variable `game'.
9414
9415 * play/zone.el (life-patterns): Declare.
9416
80f499c7
JB
94172011-04-20 Juanma Barranquero <lekktu@gmail.com>
9418
9419 * vc/vc.el (ediff-vc-internal): Declare function.
9420
024ff170
SM
94212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9422
c0a193ea
SM
9423 * shell.el: Use lexical-binding and std completion UI.
9424 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9425 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9426 comint-preoutput-filter-functions rather than on
9427 comint-output-filter-functions.
9428 (shell-command-completion, shell--command-completion-data)
9429 (shell-filename-completion, shell-environment-variable-completion)
9430 (shell-c-a-p-replace-by-expanded-directory): New functions.
9431 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9432 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9433 (shell-dynamic-complete-environment-variable): Use them.
9434 (shell-dynamic-complete-as-environment-variable)
9435 (shell-dynamic-complete-as-command): Remove.
9436 (shell-match-partial-variable): Match past point.
9437 * comint.el: Clean up use of completion-at-point-functions.
9438 (comint-completion-at-point): New function.
9439 (comint-mode): Use it completion-at-point-functions.
9440 (comint-dynamic-complete): Make it obsolete.
9441 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9442 (comint-c-a-p-replace-by-expanded-history): New function.
9443 (comint-dynamic-complete-functions)
9444 (comint-replace-by-expanded-history): Use it.
9445 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9446 termination strings. Try harder to avoid second try-completion.
9447 (completion-in-region-mode-map): Disable bindings that don't work yet.
9448
2dbaa080
SM
9449 * comint.el: Use lexical-binding. Require CL.
9450 (comint-dynamic-complete-functions): Use comint-filename-completion.
9451 (comint-completion-addsuffix): Tweak custom type.
9452 (comint-filename-completion, comint--common-suffix)
9453 (comint--common-quoted-suffix, comint--table-subvert)
9454 (comint--complete-file-name-data): New functions.
9455 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9456 (comint-dynamic-list-filename-completions): Use them.
9457 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9458
2dbaa080
SM
9459 * minibuffer.el (completion-in-region-mode):
9460 Keep completion-in-region-mode--predicate global.
9461 (completion-in-region--postch):
9462 Assume completion-in-region-mode--predicate is not null.
9463
c79a6f38
SM
9464 * progmodes/flymake.el (flymake-start-syntax-check-process):
9465 Obey `dir'. Simplify.
9466
024ff170
SM
9467 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9468 we're in VC after all.
9469
1c6c854e
CS
94702011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9471
9472 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9473 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9474 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9475
bed7f140
SM
94762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9477
332e62ab
SM
9478 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9479 add sanity check.
9480
bed7f140
SM
9481 * obsolete/erc-hecomplete.el: Make obsolete.
9482 * obsolete/: Standardize obsolescence info in the header.
9483
f195c582
GM
94842011-04-20 Glenn Morris <rgm@gnu.org>
9485
9486 * calendar/solar.el (solar-horizontal-coordinates):
9487 Use the longitude argument rather than `calendar-longitude'.
9488 (solar-date-next-longitude): Remove unused locals.
9489
cb79b8c0
VJL
94902011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9491
9492 * whitespace.el: New version 13.2.1.
9493
94942011-04-20 felix <EmacsWiki> (tiny change)
9495
d8e4b68b 9496 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9497 switching between major modes on a file.
9498
602ea69d
SM
94992011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9502 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9503 multi-line comments as well.
9504
06b60517
JB
95052011-04-19 Juanma Barranquero <lekktu@gmail.com>
9506
9507 Lexical-binding cleanup.
9508
9509 * arc-mode.el (archive-mode-revert):
9510 * cmuscheme.el (scheme-interactively-start-process):
9511 * custom.el (custom-initialize-delay):
9512 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9513 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9514 * emacs-lock.el (emacs-lock-clear-sentinel):
9515 * ezimage.el (defezimage):
9516 * follow.el (follow-avoid-tail-recenter):
9517 * fringe.el (set-fringe-mode-1):
9518 * generic-x.el (bat-generic-mode-compile):
9519 * help-mode.el (help-info-variable, help-do-xref)
9520 (help-mode-revert-buffer):
9521 * help.el (view-emacs-todo):
9522 * iswitchb.el (iswitchb-completion-help):
9523 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9524 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9525 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9526 * locate.el (locate-update):
9527 * longlines.el (longlines-encode-region)
9528 (longlines-after-change-function):
9529 * outline.el (outline-isearch-open-invisible):
9530 * ps-def.el (declare-function, charset-dimension, char-width)
9531 (encode-char):
9532 * ps-mule.el (ps-mule-plot-string):
9533 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9534 (recentf-edit-list-select, recentf-edit-list-validate)
9535 (recentf-open-files-action):
9536 * rect.el (delete-whitespace-rectangle-line)
9537 (rectangle-number-line-callback):
9538 * register.el (window-configuration-to-register)
9539 (frame-configuration-to-register):
9540 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9541 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9542 (xselect-convert-to-targets, xselect-convert-to-delete)
9543 (xselect-convert-to-filename, xselect-convert-to-charpos)
9544 (xselect-convert-to-lineno, xselect-convert-to-colno)
9545 (xselect-convert-to-os, xselect-convert-to-host)
9546 (xselect-convert-to-user, xselect-convert-to-class)
9547 (xselect-convert-to-name, xselect-convert-to-integer)
9548 (xselect-convert-to-atom, xselect-convert-to-identity):
9549 * subr.el (declare, ignore, process-kill-without-query)
9550 (text-clone-maintain):
9551 * terminal.el (te-get-char, te-tic-sentinel):
9552 * tool-bar.el (tool-bar-make-keymap):
9553 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9554 * type-break.el (type-break-mode, type-break-noninteractive-query):
9555 * view.el (View-back-to-mark):
9556 * wid-browse.el (widget-browse-action, widget-browse-widget)
9557 (widget-browse-widgets, widget-browse-sexp):
9558 * widget.el (define-widget-keywords):
9559 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9560 Mark unused parameters.
9561
9562 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9563 (align-areas): Remove unused variable `look'.
9564 (align-region): Remove unused variables `real-end' and `pos-list'.
9565
9566 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9567
9568 * bindings.el (mode-line-modified, mode-line-remote):
9569 Mark unused parameters.
9570 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9571
9572 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9573 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9574
9575 * comint.el (comint-history-isearch-pop-state)
9576 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9577 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9578 (comint-substitute-in-file-name): Doc fix.
9579
9580 * completion.el (cmpl-statistics-block): Mark unused parameter.
9581 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9582 (save-completions-to-file, load-completions-from-file):
9583 Remove unused local variable `e'.
9584
9585 * composite.el (compose-chars): Remove unused variable `len'.
9586 (lgstring-insert-glyph): Remove unused variable `g'.
9587 (compose-glyph-string): Remove unused variables `ascent',
9588 `descent', `lbearing' and `rbearing'.
9589 (compose-glyph-string-relative): Remove unused variables
9590 `lbearing', `rbearing' and `wadjust'.
9591 (compose-gstring-for-graphic): Remove unused variables `header',
9592 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9593 (compose-gstring-for-terminal): Remove unused variables `header'
9594 and `nchars'. Use `let', not `let*'.
9595
9596 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9597 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9598 (Custom-buffer-done, custom-buffer-create-internal)
9599 (custom-browse-visibility-action, custom-browse-group-tag-action)
9600 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9601 (widget-magic-mouse-down-action, custom-toggle-parent)
9602 (custom-add-parent-links, custom-toggle-hide-variable)
9603 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9604 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9605 (custom-face-menu-create, custom-variable-menu-create, get)
9606 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9607 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9608 (customize-apropos): Remove unused variable `tests'.
9609 (custom-group-value-create): Remove unused variable `hidden-p'.
9610 (sort-fold-case): Declare.
9611
9612 * cus-theme.el (custom-reset-standard-faces-list)
9613 (custom-reset-standard-variables-list): Declare.
9614 (customize-create-theme, custom-theme-revert, custom-theme-write)
9615 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9616 Mark unused parameters.
9617
9618 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9619
9620 * delim-col.el (delimit-columns-max): Move defvar before first use.
9621
9622 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9623 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9624
9625 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9626 (auto-insert): Declare.
9627 (desktop-restore-file-buffer): Rename desktop-* parameters;
9628 mark unused ones.
9629 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9630 (desktop-buffer): Rename desktop-* parameters.
9631
9632 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9633 (dframe-reposition-frame-xemacs, dframe-help-echo)
9634 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9635 Mark unused parameters.
9636
9637 * dired-aux.el (backup-extract-version-start, overwrite-query)
9638 (overwrite-backup-query, rename-regexp-query)
9639 (rename-non-directory-query): Declare.
9640 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9641 (dired-add-entry): Remove unused variable `orig-file-name'.
9642 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9643 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9644 `dired-copy-preserve-time' directly.
9645 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9646 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9647
9648 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9649 (dired-virtual-revert, dired-make-relative-symlink):
9650 Mark unused parameters.
9651 (manual-program): Declare.
9652 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9653 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9654 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9655
9656 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9657
9658 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9659
9660 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9661 Declare.
9662
9663 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9664
9665 * electric.el (Electric-command-loop): Rename parameter
9666 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9667
9668 * expand.el (expand-in-literal): Remove unused variable `here'.
9669
9670 * facemenu.el (facemenu-add-new-color):
9671 Remove unused variable `docstring'.
9672
9673 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9674 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9675 (face-attr-construct): Mark unused parameter. Doc fix.
9676 (read-color): Remove unused variable `hex-string'.
9677
9678 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9679 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9680 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9681 (display-buffer-other-frame): Remove unused variable `old-window'.
9682 (kill-buffer-hook): Declare.
9683 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9684 Mark unused parameters.
9685 (after-find-file): Pass 1 to `auto-save-mode', not t.
9686
9687 * files-x.el (auto-insert): Declare.
9688 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9689
9690 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9691 variable `buf'. Mark unused parameter.
06b60517
JB
9692 (find-lisp-insert-directory): Mark unused parameter.
9693
9694 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9695 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9696 (format-common-tail): Remove, unused.
9697 (format-deannotate-region): Remove unused variable `loc'.
9698 (format-annotate-region): Remove unused variable `p'.
9699 (format-annotate-single-property-change): Remove unused variables
9700 `default' and `tail'.
9701
9702 * forms.el (read-file-filter): Declare.
9703 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9704
9705 * frame.el (frame-creation-function-alist): Mark unused parameter.
9706 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9707
9708 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9709 Remove unused parameters.
9710 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9711 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9712
9713 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9714 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9715 (hfy-prepare-tag-map): Mark unused parameters.
9716 (htmlfontify-buffer): Use `called-interactively-p'.
9717
9718 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9719 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9720 (ibuffer-do-occur): Mark unused parameters.
9721 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9722 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9723
9724 * ibuffer.el: Don't quote `lambda'.
9725 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9726 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9727 Mark unused parameters.
9728
9729 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9730 (ido-completing-read): Mark unused parameters.
9731 (ido-copy-current-word): Mark unused parameters;
9732 remove unused variable `name'.
9733 (ido-sort-merged-list): Remove unused parameter `dirs'.
9734
9735 * ielm.el (ielm-input-sender): Mark unused parameter.
9736 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9737 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9738 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9739 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9740 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9741
9742 * image-dired.el (image-dired-display-thumbs): Remove unused
9743 variables `curr-file' and `count'.
9744 (image-dired-remove-tag): Remove unused variable `start'.
9745 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9746 variable `curr-file'
9747 (image-dired-rotate-original): Remove unused variable `temp-file'.
9748 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9749 Remove unused variable `file'.
9750 (image-dired-gallery-generate): Remove unused variable `curr'.
9751 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9752
9753 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9754
9755 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9756
9757 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9758
9759 * isearch.el (minibuffer-history-symbol): Declare.
9760 (isearch-edit-string): Remove unused variable `err'.
9761 (isearch-message-prefix, isearch-message-suffix):
9762 Mark unused parameters.
9763
9764 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9765
9766 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9767
9768 * makesum.el (double-column): Remove unused variable `cnt'.
9769
9770 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9771 (ido-ignore-item-temp-list): Declare.
9772
9773 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9774 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9775 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9776 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9777 `mouse-col-delta'.
9778
9779 * mouse-sel.el (mouse-extend-internal):
9780 Remove unused variable `orig-window-frame'.
9781
9782 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9783 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9784 Move declarations before first use.
9785 (pcomplete-opt): Mark unused parameters; doc fix.
9786
9787 * proced.el (proced-revert): Mark unused parameter.
9788 (proced-send-signal): Remove unused variable `err'.
9789
9790 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9791 Rename parameter PREFIX-ARG to ARG.
9792 (ps-basic-plot-string, ps-basic-plot-whitespace):
9793 Mark unused parameters.
9794
9795 * replace.el (replace-count): Define.
9796 (occur-revert-function): Mark unused parameters.
9797 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9798 (isearch-case-fold-search, isearch-string): Declare.
9799 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9800 bind `case-fold-search'. Remove unused variables `beg' and `end',
9801 and simplify.
9802 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9803 COUNT and bind `replace-count'.
9804 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9805 to COUNT.
9806
9807 * savehist.el (print-readably, print-string-length): Declare.
9808
9809 * shadowfile.el (shadow-expand-cluster-in-file-name):
9810 Remove unused variable `cluster'.
9811 (shadow-copy-file): Remove unused variable `i'.
9812 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9813 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9814 (shadow-define-literal-group, shadow-define-regexp-group)
9815 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9816
9817 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9818 (shell): Use `called-interactively-p'.
9819 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9820
9821 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9822 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9823 (delete-backward-char): Remove unused variable `ocol'.
9824 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9825 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9826 (event-apply-hyper-modifier, event-apply-shift-modifier)
9827 (event-apply-control-modifier, event-apply-meta-modifier):
9828 Mark unused parameters.
9829 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9830 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9831
9832 * speedbar.el (speedbar-ignored-directory-expressions)
9833 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9834 (speedbar-find-file, speedbar-dir-follow)
9835 (speedbar-directory-buttons-follow, speedbar-tag-find)
9836 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9837 (speedbar-buffers-line-directory, speedbar-buffer-click):
9838 Mark unused parameters.
9839 (speedbar-tag-file): Remove unused variable `mode'.
9840 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9841
9842 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9843
9844 * talk.el (talk): Remove unused variable `display'.
9845
9846 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9847 (tar-write-region-annotate): Mark unused parameter.
9848
9849 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9850 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9851 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9852 warning by another.
9853
9854 * time-stamp.el (time-stamp-string-preprocess):
9855 Remove unused variable `require-padding'.
9856
9857 * tree-widget.el (widget-glyph-enable): Declare.
9858 (tree-widget-action): Mark unused parameter.
9859
9860 * w32-fns.el (x-get-selection): Mark unused parameter.
9861 (autoload-make-program, generated-autoload-file): Declare.
9862
9863 * wdired.el (wdired-revert): Mark unused parameters.
9864 (wdired-xcase-word): Remove unused variable `err'.
9865
9866 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9867 (whitespace-help-scroll): Remove unused variable `data-help'.
9868
9869 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9870 (widget-image-insert, widget-after-change, default)
9871 (widget-default-format-handler, widget-default-notify)
9872 (widget-default-prompt-value, widget-info-link-action)
9873 (widget-url-link-action, widget-function-link-action)
9874 (widget-variable-link-action, widget-file-link-action)
9875 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9876 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9877 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9878 (widget-insert-button-action, widget-delete-button-action, visibility)
9879 (widget-documentation-link-action, widget-documentation-string-action)
9880 (widget-const-prompt-value, widget-regexp-match, symbol)
9881 (widget-coding-system-prompt-value)
9882 (widget-key-sequence-value-to-external, sexp)
9883 (widget-sexp-value-to-internal, character, vector, cons)
9884 (widget-choice-prompt-value, widget-boolean-prompt-value)
9885 (widget-color--choose-action): Mark unused parameters.
9886 (widget-item-match-inline, widget-choice-match-inline)
9887 (widget-checklist-match, widget-checklist-match-inline)
9888 (widget-group-match): Rename parameter VALUES to VALS.
9889 (widget-field-value-set): Remove unused variable `size'.
9890 (widget-color-action): Remove unused variables `value' and `start'.
9891
9892 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9893 variable `dir'. Doc fix.
06b60517
JB
9894 (windmove-find-other-window): Don't pass it.
9895
9896 * window.el (count-windows): Mark unused parameter.
9897 (bw-adjust-window): Remove unused variable `err'.
9898
9899 * woman.el (woman-file-name): Remove unused variable `default'.
9900 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9901 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9902 (global-font-lock-mode): Declare.
9903 (woman-decode-region): Mark unused parameter.
9904 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9905
9906 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9907 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9908 (x-dnd-handle-moz-url): Remove unused variable `title'.
9909 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9910
9911 * xml.el (xml-parse-tag, xml-parse-attlist):
9912 Remove unused variable `pos'.
9913
bc4f7f3d
GM
99142011-04-19 Glenn Morris <rgm@gnu.org>
9915
9916 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9917 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9918 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9919 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9920 * calendar/cal-html.el (cal-html-insert-minical):
9921 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9922 (calendar-mark-date-pattern):
9923 Prefix "unused" locals.
9924
9925 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9926 optional argument `style'.
9927
9928 * calendar/appt.el (appt-make-list):
9929 * calendar/cal-china.el (calendar-chinese-date-string):
9930 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9931 (diary-hebrew-yahrzeit):
9932 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9933 * calendar/calendar.el (calendar-generate-window):
9934 * calendar/time-date.el (time-to-days):
9935 Remove unused local variables.
9936
16a43933
CY
99372011-04-18 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9940 glyphless-char-display table.
9941 (tabulated-list-glyphless-char-display): New var.
9942
7eed1860
SS
99432011-04-18 Sam Steingold <sds@gnu.org>
9944
9945 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9946 to acknowledgments.
9947
4d2d1ccd
GM
99482011-04-17 Glenn Morris <rgm@gnu.org>
9949
9950 * calendar/diary-lib.el (diary-sexp-entry):
9951 * calendar/holidays.el (holiday-sexp):
9952 Set debug-on-error rather than the removed stack-trace-on-error.
9953
239da61d
GM
99542011-04-16 Glenn Morris <rgm@gnu.org>
9955
9956 * progmodes/f90.el: Use lexical-binding.
9957 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9958
8b05752a
SM
99592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9960
daca8ba5
SM
9961 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9962 (mail-mode): Setup mailalias completion here instead.
9963 * mail/mailalias.el: Use lexical-binding.
9964 (pattern, mailalias-done): Declare dynamic.
9965 (mail-completion-at-point-function): New function, from mail-complete.
9966 (mail-complete): Use it.
9967 (mail-completion-expand): New function.
9968 (mail-get-names): Use it.
9969 (mail-directory, mail-directory-process, mail-directory-stream):
9970 Don't use `pattern' for lexically bound arg.
9971
6f542485
SM
9972 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9973
037e7c3f
SM
9974 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9975 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9976 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9977
8b05752a
SM
9978 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9979 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9980 (byte-interactive-p): Define them again, for use when inlining
9981 old code.
9982
49093f60
JB
99832011-04-15 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * loadup.el: Use `string-to-number', not `string-to-int'.
9986
b5b8e7de
SM
99872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9990 gud-gdb-complete-command.
9991 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9992 (gud-gdb-completion-at-point): New function.
9993 (gud-gdb-completions): Remove.
9994
f42efeb5
MA
99952011-04-14 Michael Albinus <michael.albinus@gmx.de>
9996
49093f60
JB
9997 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9998 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9999 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10000 whether `executable-find' is bound.
f42efeb5
MA
10001
10002 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10003
e240cc21
SM
100042011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * minibuffer.el (completion-in-region-mode-predicate)
10007 (completion-in-region-mode--predicate): New vars.
10008 (completion-in-region, completion-in-region--postch)
10009 (completion-in-region-mode): Use them.
10010 (completion--capf-wrapper): Also return the hook function.
10011 (completion-at-point, completion-help-at-point):
10012 Adjust and provide a predicate.
c2bd2ab0
SM
10013
10014 Preserve arg names for advice of subr and lexical functions (bug#8457).
10015 * help-fns.el (help-function-arglist): Consolidate the subr and
10016 new-byte-code cases. Add argument `preserve-names' to extract names
10017 from the docstring when needed.
10018 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10019 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10020 (ad-arglist): Use help-function-arglist's new arg.
10021 (ad-definition-type): Use cond.
10022
c183f693
JB
100232011-04-13 Juanma Barranquero <lekktu@gmail.com>
10024
06641a47
JB
10025 * autorevert.el (auto-revert-handler):
10026 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10027 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10028 Don't quote lambda.
10029
c183f693
JB
10030 * image-mode.el (image-transform-set-scale):
10031 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10032
1e3b6001
G
100332011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
10035 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10036 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10037 Upgrades via gnutls-cli are too slow to be done opportunistically.
10038
2d6af8dd
JB
100392011-04-12 Juanma Barranquero <lekktu@gmail.com>
10040
10041 * dframe.el (dframe-current-frame): Remove spurious quote.
10042
c0749a51
GM
100432011-04-12 Glenn Morris <rgm@gnu.org>
10044
088d0d61
GM
10045 * calendar/cal-tex.el (cal-tex-end-document):
10046 Try to automatically use latin1 input if needed.
10047
c0749a51
GM
10048 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10049 Don't try to cons a mark onto an empty element.
10050
5c90fde0
LL
100512011-04-11 Leo Liu <sdl.web@gmail.com>
10052
10053 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10054 buffers.
10055 (ido-kill-buffer-at-head): Support killing virtual buffers.
10056
369e974d
CY
100572011-04-10 Chong Yidong <cyd@stupidchicken.com>
10058
10059 * minibuffer.el (completion-show-inline-help): New var.
10060 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10061 (minibuffer-force-complete, minibuffer-complete-word):
10062 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10063
10064 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10065 to avoid interference from inline help (Bug#5849).
10066
37f1c930
LL
100672011-04-10 Leo Liu <sdl.web@gmail.com>
10068
099c39a4
JB
10069 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10070 Fix typo.
37f1c930 10071
a32d4040
CY
100722011-04-09 Chong Yidong <cyd@stupidchicken.com>
10073
10074 * image-mode.el (image-toggle-display-image): Signal an error if
10075 not in Image mode.
10076 (image-transform-mode, image-transform-resize)
10077 (image-transform-set-rotation): Doc fix.
daca8ba5 10078 (image-transform-set-resize): Delete.
a32d4040
CY
10079 (image-transform-set-scale, image-transform-fit-to-height)
10080 (image-transform-fit-to-width): Handle image-toggle-display-image
10081 and image-transform-resize directly.
10082
099c39a4 100832011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10084
10085 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10086 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10087 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10088 (doc-view-mode-map): Add bindings for the new functions.
10089
099c39a4 100902011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10091
4d61f28d 10092 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10093 Fix typo in docstring.
10094
3726838a
EZ
100952011-04-08 Eli Zaretskii <eliz@gnu.org>
10096
04f33f1e
EZ
10097 * files.el (file-size-human-readable): Produce one digit after
10098 decimal, like "ls -lh" does.
10099
10100 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10101 the file size representation.
10102
3726838a
EZ
10103 * simple.el (list-processes): If async subprocesses are not
10104 available, error out with a clear error message.
10105
cbb59342
CY
101062011-04-08 Chong Yidong <cyd@stupidchicken.com>
10107
10108 * help.el (help-form-show): New function, to be called from C.
10109 Put help-form output in a buffer named differently than *Help*.
10110
e3971c44
EZ
101112011-04-08 Eli Zaretskii <eliz@gnu.org>
10112
10113 * files.el (file-size-human-readable): New function.
10114
10115 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10116 computing the representation inline. Don't require `cl'.
10117
12544bbe
GM
101182011-04-08 Glenn Morris <rgm@gnu.org>
10119
a1de6c6a
GM
10120 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10121
3c4671f4
GM
10122 * net/browse-url.el (browse-url-firefox):
10123 Test system-type, not system-configuration.
10124
b605679c
GM
10125 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10126 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10127 Use log-edit-empty-buffer-p. (Bug#7598)
10128
56442f0c
GM
10129 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10130 (rlogin-mode-map): Initialize in the defvar.
10131 (rlogin): Use ignore-errors.
10132
12544bbe
GM
10133 * replace.el (occur-mode-map): Some fixes for menu items.
10134
eb237b0f
AH
101352011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10136
10137 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10138
7d668f2c
CY
101392011-04-06 Chong Yidong <cyd@stupidchicken.com>
10140
e67a13ab
CY
10141 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10142 issuing unused warnings.
10143
10144 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10145 macro directly.
10146
7d668f2c
CY
10147 * simple.el: Lisp reimplement of list-processes. Based on an
10148 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10149 (process-menu-mode): New major mode.
10150 (list-processes--refresh, list-processes):
10151 (process-menu-visit-buffer): New functions.
10152
10153 * files.el (save-buffers-kill-emacs): Don't assume any return
10154 value of list-processes, which is undocumented anyway.
10155
a83ec3c9
CY
101562011-04-06 Chong Yidong <cyd@stupidchicken.com>
10157
10158 * emacs-lisp/tabulated-list.el: New file.
10159
e91a96fe
CY
10160 * emacs-lisp/package.el: Use Tabulated List mode.
10161 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10162 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10163 table format using Tabulated List mode variables.
10164 (package--push): New macro, replacing package-list-maybe-add.
10165 (package-menu--generate): Use package--push. Renamed from
10166 package--generate-package-list.
10167 (package-menu-refresh, list-packages): Use it.
daca8ba5 10168 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10169 Return insertion data instead of inserting it directly.
099c39a4
JB
10170 (package-menu-describe-package, package-menu-execute):
10171 Use tabulated-list-get-id.
e91a96fe
CY
10172 (package-menu-mark-delete, package-menu-mark-install)
10173 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10174 (package-menu-mark-obsolete-for-deletion):
10175 Use tabulated-list-put-tag.
e91a96fe
CY
10176 (package--list-packages, package-menu-revert)
10177 (package-menu-get-package, package-menu-get-version)
10178 (package-menu-sort-by-column): Functions deleted.
10179 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10180 (package-menu--status-predicate, package-menu--version-predicate)
10181 (package-menu--name-predicate)
10182 (package-menu--description-predicate): Handle arguments in the
10183 Tabulated List format.
10184 (package-list-packages-no-fetch): Call list-packages.
10185
3e214b50
JB
101862011-04-06 Juanma Barranquero <lekktu@gmail.com>
10187
10188 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10189 (after-find-file): Don't bind it.
3e214b50
JB
10190 (revert-buffer-in-progress-p): New variable.
10191 (revert-buffer): Bind it.
10192 Pass nil for `after-find-file-from-revert-buffer'.
10193
10194 * saveplace.el (save-place-find-file-hook): Use new variable
10195 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10196
3f0f1700
GM
101972011-04-06 Glenn Morris <rgm@gnu.org>
10198
c0274801
GM
10199 * Makefile.in (AUTOGEN_VCS): New variable.
10200 (autoloads): Use $AUTOGEN_VCS.
10201
3f0f1700
GM
10202 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10203 * calendar/calendar.el (calendar-mode-map):
10204 Check for toolkit scroll bars. (Bug#8305)
10205
41ea9e48
CY
102062011-04-05 Chong Yidong <cyd@stupidchicken.com>
10207
10208 * minibuffer.el (completion-in-region--postch)
10209 (completion-in-region-mode): Remove unnecessary messages.
10210
6194c800
JB
102112011-04-05 Juanma Barranquero <lekktu@gmail.com>
10212
33256f14
JB
10213 * font-lock.el (font-lock-refresh-defaults):
10214 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10215 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10216
6194c800
JB
10217 * info.el (Info-directory-list, Info-read-node-name-2)
10218 (Info-split-parameter-string): Doc fixes.
10219 (Info-virtual-nodes): Reflow docstring.
10220 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10221 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10222 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10223 Fix typos in docstrings.
10224 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10225 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10226 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10227 (Info-restore-desktop-buffer): Mark unused parameters.
10228 (Info-directory-find-file, Info-directory-find-node)
10229 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10230 (Info-virtual-index-find-node, Info-apropos-find-file)
10231 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10232 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10233 (Info-virtual-index): Remove unused local variable `nodename'.
10234
b87a8200 102352011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10236
b87a8200
DD
10237 * net/rcirc.el: Update my e-mail address.
10238 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10239
3b2ff876
CY
102402011-04-05 Chong Yidong <cyd@stupidchicken.com>
10241
10242 * startup.el (command-line): Save the cursor's theme-face
10243 directly, instead of using face-override-spec.
10244
10245 * custom.el (load-theme): Minor optimization in assigning faces.
10246
8d17e7ca
JB
102472011-04-04 Juanma Barranquero <lekktu@gmail.com>
10248
10249 * help-fns.el (describe-variable): Complete all variables having
10250 documentation, including keywords.
10251 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10252
2fbc1934
JB
102532011-04-04 Juanma Barranquero <lekktu@gmail.com>
10254
10255 Convert to lexical-binding.
10256
10257 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10258 (bs--get-marked-string, bs--get-modified-string)
10259 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10260 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10261 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10262
10263 * ehelp.el (electric-help-execute-extended)
10264 (electric-help-ctrl-x-prefix):
10265 * hexl.el (hexl-revert-buffer-function):
10266 * linum.el (linum-after-change, linum-after-scroll):
10267 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10268
10269 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10270
74f50695
DU
102712011-04-04 Daiki Ueno <ueno@unixuser.org>
10272
10273 * epa-dired.el:
10274 * epa-mail.el:
10275 * epa-hook.el:
10276 * epa-file.el:
10277 * epa.el:
10278 * epg.el: Use lexical binding.
10279
c11325f7
CY
102802011-04-03 Chong Yidong <cyd@stupidchicken.com>
10281
0d9e9a12
CY
10282 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10283
c11325f7 10284 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10285 dictionary case for flyspell-mark-duplications-exceptions.
10286 Use regexp matching for languages.
c11325f7
CY
10287 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10288 default dictionary (Bug#7926).
10289
da91b5f2
CY
102902011-04-02 Chong Yidong <cyd@stupidchicken.com>
10291
099c39a4
JB
10292 * emacs-lisp/package.el (package--with-work-buffer):
10293 Recognize https URLs.
da91b5f2 10294
099c39a4
JB
10295 * net/network-stream.el: Move from gnus/proto-stream.el.
10296 Change prefix to network-stream throughout.
da91b5f2
CY
10297 (open-protocol-stream): Merge into open-network-stream, leaving
10298 open-protocol-stream as an alias. Handle nil BUFFER args.
10299
10300 * subr.el (open-network-stream): Move to net/network-stream.el.
10301
afa8e9f6
GM
103022011-04-02 Glenn Morris <rgm@gnu.org>
10303
1d2e369d
GM
10304 * find-dired.el (find-exec-terminator): New option.
10305 (find-ls-option): Test for -ls support.
10306 (find-ls-subdir-switches): Test for -b in find-ls-option.
10307 (find-dired, find-grep-dired): Doc fixes.
10308 (find-dired): Use find-exec-terminator.
10309
8abb7da8 10310 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10311 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10312 (find-name-arg): Remove purecopy.
8abb7da8 10313
f3ca7378
GM
10314 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10315 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10316 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10317 accordingly. Don't add the null-device if not needed.
10318
afa8e9f6
GM
10319 * files.el (save-some-buffers): Doc fix.
10320
35eae264
EZ
103212011-04-02 Eli Zaretskii <eliz@gnu.org>
10322
10323 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10324
26b51db5
JB
103252011-04-01 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10328 Use `dolist' rather than `mapcar'.
10329
7200d79c
SM
103302011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10331
03408648 10332 Add lexical binding.
7200d79c 10333
03408648
SM
10334 * subr.el (apply-partially): Use new closures rather than CL.
10335 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10336 (dolist, dotimes): Use slightly different expansion for lexical code.
10337 (functionp): Move to C.
10338 (letrec): New macro.
10339 (with-wrapper-hook): Use it and apply-partially instead of CL.
10340 (eval-after-load): Preserve lexical-binding.
10341 (save-window-excursion, with-output-to-temp-buffer): Turn them
10342 into macros.
7200d79c 10343
03408648
SM
10344 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10345
10346 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10347 than the arglist.
10348 (help-add-fundoc-usage): Don't add `Not documented'.
10349 (help-function-arglist): Handle closures, subroutines, and new
10350 byte-code-functions.
10351 (help-make-usage): Remove leading underscores.
10352 (describe-function-1): Handle closures.
10353 (describe-variable): Use special-variable-p for completion.
10354
10355 * files.el (lexical-binding): Declare safe.
f488fb65 10356
03408648
SM
10357 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10358 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10359 (pcase): Add `let' pattern.
10360 Change memoization so it actually works.
10361 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10362 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10363 <let>: New case.
f488fb65 10364
03408648
SM
10365 * emacs-lisp/macroexp.el: Use lexical binding.
10366 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10367 Don't convert ' to #' without checking that it's indeed quoting
10368 a lambda.
10369
10370 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10371 Use eval-sexp-add-defvars.
03408648
SM
10372 (eval-sexp-add-defvars): New fun.
10373
10374 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10375
10376 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10377 Don't autoload.
10378 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10379 than the internal `byte-compile-lambda'.
10380 (defmethod): Don't hide code under quotes.
10381 (eieio-defmethod): New `code' argument.
10382
10383 * emacs-lisp/eieio-comp.el: Remove.
10384
10385 * emacs-lisp/edebug.el (edebug-eval-defun)
10386 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10387 (edebug-toggle): Avoid `eval'.
10388
10389 * emacs-lisp/disass.el (disassemble-internal): Handle new
10390 `closure' objects.
10391 (disassemble-1): Handle new byte codes.
10392
10393 * emacs-lisp/cl.el (pushnew): Silence warning.
10394
10395 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10396 (cl-byte-compile-throw): Remove.
10397 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10398
10399 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10400 closures.
10401
10402 * emacs-lisp/cconv.el: New file.
10403
10404 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10405 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10406 (byte-compile-initial-macro-environment):
10407 Handle declare-function here.
10408 (byte-compile--lexical-environment): New var.
10409 (byte-stack-ref, byte-stack-set, byte-discardN)
10410 (byte-discardN-preserve-tos): New lap codes.
10411 (byte-interactive-p): Don't use any more.
10412 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10413 New macros.
10414 (byte-compile-lapcode): Use them and handle new lap codes.
10415 (byte-compile-obsolete): Remove.
10416 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10417 (byte-compile-arglist-warn): Check late def of inlinable funs.
10418 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10419 since they should have been expanded by now.
10420 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10421 (byte-compile-from-buffer): Remove unused second arg.
10422 (byte-compile-preprocess): New function.
10423 (byte-compile-toplevel-file-form): New function to distinguish
10424 file-form calls from outside from file-form calls from hunk-handlers.
10425 (byte-compile-file-form): Simplify.
10426 (byte-compile-file-form-defsubst): Remove.
10427 (byte-compile-file-form-defmumble): Simplify now that
10428 byte-compile-lambda always returns a byte-code-function.
10429 (byte-compile): Preprocess.
10430 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10431 Remove, not used any more.
10432 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10433 (byte-compile-make-args-desc): New funs.
10434 (byte-compile-lambda): Handle lexical functions. Always return
10435 a byte-code-function.
10436 (byte-compile-reserved-constants): New var, to make up room for
10437 closed-over variables.
10438 (byte-compile-constants-vector): Obey it.
10439 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10440 (byte-compile-macroexpand-declare-function): New function.
10441 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10442 byte-code-functions.
10443 (byte-compile-form): Check obsolescence here.
10444 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10445 (byte-compile-variable-ref): Remove.
10446 (byte-compile-dynamic-variable-op): New fun.
10447 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10448 (byte-compile-variable-set): New funs.
10449 (byte-compile-discard): Add 2 args.
10450 (byte-compile-stack-ref, byte-compile-stack-set)
10451 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10452 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10453 macroexpand-all instead.
10454 (byte-compile-quote-form): Remove.
10455 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10456 (byte-compile-bind, byte-compile-unbind): New funs.
10457 (byte-compile-let): Handle let* and lexical binding.
10458 (byte-compile-let*): Remove.
10459 (byte-compile-catch, byte-compile-unwind-protect)
10460 (byte-compile-track-mouse, byte-compile-condition-case):
10461 Handle a new :fun-body form, used for lexical scoping.
10462 (byte-compile-save-window-excursion)
10463 (byte-compile-with-output-to-temp-buffer): Remove.
10464 (byte-compile-defun): Simplify.
10465 (byte-compile-stack-adjustment): New fun.
10466 (byte-compile-out): Use it.
10467 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10468
10469 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10470 handler any more.
10471
10472 * emacs-lisp/byte-opt.el: Use lexical binding.
10473 (byte-inline-lapcode): Remove (to bytecomp).
10474 (byte-compile-inline-expand): Pay attention to inlining to/from
10475 lexically bound code.
10476 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10477 any more.
10478 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10479 any more and don't call compiler-macros.
10480 (byte-compile-splice-in-already-compiled-code): Remove.
10481 (byte-code): Don't inline any more.
10482 (disassemble-offset): Receive `bytes' as argument rather than via
10483 dynamic scoping.
10484 (byte-compile-tag-number): Declare before first use.
10485 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10486 `return' even if make-spliceable.
10487 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10488 obsolete interactive-p.
10489 (byte-optimize-lapcode): Optimize new lap-codes.
10490 Don't trip up on new form of `byte-constant' lap code.
10491
10492 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10493
10494 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10495
10496 * custom.el (custom-initialize-default, custom-declare-variable):
10497 Use `defvar'.
10498
10499 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10500 New variables.
10501 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10502 (COMPILE_FIRST): Add macroexp and cconv.
10503 * makefile.w32-in: Mirror changes in Makefile.in.
10504
10505 * vc/cvs-status.el:
10506 * vc/diff-mode.el:
10507 * vc/log-edit.el:
10508 * vc/log-view.el:
10509 * vc/smerge-mode.el:
10510 * textmodes/bibtex-style.el:
10511 * textmodes/css.el:
10512 * startup.el:
10513 * uniquify.el:
da91b5f2
CY
10514 * minibuffer.el:
10515 * newcomment.el:
10516 * reveal.el:
10517 * server.el:
10518 * mpc.el:
10519 * emacs-lisp/smie.el:
10520 * doc-view.el:
10521 * dired.el:
03408648
SM
10522 * abbrev.el: Use lexical binding.
10523
0f0c1f27
EZ
105242011-04-01 Eli Zaretskii <eliz@gnu.org>
10525
10526 * info.el (info-display-manual): New function.
10527
c82b2579
SM
105282011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10531
221ddf68
TH
105322011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10533
10534 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10535 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10536
cba6e77e
GM
105372011-03-31 Glenn Morris <rgm@gnu.org>
10538
e040639f
GM
10539 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10540
cba6e77e
GM
10541 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10542
6d0f1c9e
CS
105432011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10544
10545 * progmodes/python.el (python-default-interpreter)
10546 (python-python-command-args, python-jython-command-args)
10547 (python-which-shell, python-which-args, python-which-bufname)
10548 (python-file-queue, python-comint-output-filter-function)
10549 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10550 variables and functions.
10551
3e2d70fd
SM
105522011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10555 (completion-in-region-mode): New minor mode.
10556 (completion-in-region): Use it.
10557 (completion-in-region--data, completion-in-region-mode-map): New vars.
10558 (completion-in-region--postch): New function.
10559 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10560 New vars.
10561 (completion--capf-wrapper): New function.
10562 (completion-at-point): Use it to track well-behavedness of
10563 hook functions.
10564 (completion-help-at-point): New command.
10565
f3e4086c
JM
105662011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10567
10568 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10569 syntax class to search for whitespace on a single line
10570 (Message-ID: <4D938140.4030905@redhat.com>).
10571
eb7ffc14
LL
105722011-03-30 Leo Liu <sdl.web@gmail.com>
10573
10574 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10575 New commands.
10576 (edit-abbrevs-map): Bind them here.
10577 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10578
d806ab68
KM
105792011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10580
10581 * allout.el (allout-hide-by-annotation, allout-flag-region):
10582 Reduce possibility of overlay leakage by making them volatile.
10583
10584 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10585 hash is not shared between buffers. Mode initialization is
10586 responsible for giving it a useful starting value.
10587 (allout-item-span): Reduce possibility of overlay leakage by
10588 making them volatile.
10589 (allout-widgets-count-buttons-in-region): Add diagnostic function
10590 for tracking down button overlay leaks.
10591
ea622834
LL
105922011-03-29 Leo Liu <sdl.web@gmail.com>
10593
10594 * ido.el (ido-read-internal): Use the default history var
10595 minibuffer-history if no HISTORY is specified.
10596
b62f8267
G
105972011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10598
03408648
SM
10599 * net/imap.el (imap-shell-open, imap-process-connection-type):
10600 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10601 Kerberos, SSL, other subprocesses.
10602
947b6566
LL
106032011-03-28 Leo Liu <sdl.web@gmail.com>
10604
10605 * abbrev.el (abbrev-table-empty-p): New function.
10606 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10607 nonempty ones. (Bug#5937)
10608
5ffb62aa
JD
106092011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10610
10611 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10612
7a097943
LL
106132011-03-27 Leo Liu <sdl.web@gmail.com>
10614
10615 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10616 for foreground and background colors.
10617 (ansi-color-make-color-map): Adapt.
10618
c5b40130
LL
106192011-03-25 Leo Liu <sdl.web@gmail.com>
10620
1f48f7d2
LL
10621 * midnight.el (midnight-time-float): Remove. Note it calculates
10622 the microsecond component incorrectly and seconds-to-time does the
10623 same job.
625897ec 10624 Remove redundant (require 'timer).
1f48f7d2 10625
c5b40130
LL
10626 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10627 (ido-completions): Remove unused arguments. (Bug#8329)
10628
d86d2721
SM
106292011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * minibuffer.el (completion--flush-all-sorted-completions):
10632 Remove itself from hook.
10633 (completion-at-point): Let the functions perform the completion
10634 immediately and return nil or t.
10635 * comint.el (comint-dynamic-complete-functions): Now identical to
10636 completion-at-point-functions.
10637 (comint-dynamic-list-input-ring): Remove unused var `index'.
10638 (comint--match-partial-filename, comint--unquote&expand-filename):
10639 New funs, split from comint-match-partial-filename.
10640 (comint-dynamic-complete): Use completion-at-point.
10641 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10642
e8974c48
DA
106432011-03-24 Drew Adams <drew.adams@oracle.com>
10644
10645 * thingatpt.el: Support `defun'.
10646
def71b5e
LL
106472011-03-23 Leo Liu <sdl.web@gmail.com>
10648
cb5af48e
LL
10649 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10650
def71b5e
LL
10651 * help-mode.el (help-mode-finish): Tweak regexp.
10652
927c53e7
GM
106532011-03-23 Glenn Morris <rgm@gnu.org>
10654
18d05bed
GM
10655 * eshell/esh-opt.el (eshell-eval-using-options):
10656 Do not bind unused local variable `eshell-option-stub'.
10657
927c53e7
GM
10658 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10659
9d0da923
JB
106602011-03-22 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10663 keymap variable in `with-no-warnings' to avoid a warning when the
10664 keymap has been already `defconst'ed.
10665
4b978a67
LL
106662011-03-22 Leo Liu <sdl.web@gmail.com>
10667
10668 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10669 encode all chars in abbrevs; otherwise use emacs-mule or
10670 utf-8-emacs. (Bug#8308)
10671
5fd62452
JB
106722011-03-22 Juanma Barranquero <lekktu@gmail.com>
10673
0b1596c6
JB
10674 * simple.el (backward-delete-char-untabify):
10675 Avoid warning about using `delete-backward-char'.
10676
5fd62452
JB
10677 * image.el (image-type-file-name-regexps): Make it variable.
10678 `imagemagick-register-types' modifies it, and the user may want
10679 to add new extensions for known image types.
10680 (imagemagick-register-types): Throw error if not using ImageMagick.
10681
0b4e93f1
LL
106822011-03-22 Leo Liu <sdl.web@gmail.com>
10683
10684 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10685 located before rcirc-prompt-end-marker.
10686 (rcirc-complete): Error if point is not after rcirc prompt.
10687 Handle the case when table is nil.
9882e214 10688 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10689
fccee4ab
CY
106902011-03-22 Chong Yidong <cyd@stupidchicken.com>
10691
10692 * custom.el (custom--inhibit-theme-enable): Make it affect only
10693 custom-theme-set-variables and custom-theme-set-faces.
10694 (provide-theme): Ignore custom--inhibit-theme-enable.
10695 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10696 (custom-enabling-themes): Delete variable.
d86d2721
SM
10697 (enable-theme): Accept only loaded themes as arguments.
10698 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10699 (custom-enabled-themes): Forbid themes from setting this.
10700 Eliminate use of custom-enabling-themes.
10701 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10702
af896da6
LL
107032011-03-21 Leo Liu <sdl.web@gmail.com>
10704
10705 * ido.el (ido-read-internal): Add ido-selected to history instead
10706 of user input.
10707
78f64af0
SM
107082011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * subr.el (deferred-action-list, deferred-action-function):
10711 Mark obsolete.
10712
b16ac1ec
LL
107132011-03-21 Leo Liu <sdl.web@gmail.com>
10714
810f7698
LL
10715 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10716 change on 2011-02-13 (bug#8309).
10717
b16ac1ec
LL
10718 * minibuffer.el (read-file-name-function): Change default value.
10719 (read-file-name--defaults): Rename from read-file-name-defaults.
10720 (read-file-name-default): Rename from read-file-name.
10721 (read-file-name): Call read-file-name-function.
10722
4e05e67e
GM
107232011-03-21 Glenn Morris <rgm@gnu.org>
10724
10725 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10726 Doc fixes.
10727
4359915b
CY
107282011-03-21 Chong Yidong <cyd@stupidchicken.com>
10729
10730 * cus-theme.el: Add missing provide statement.
10731 (customize-create-theme): Extract theme value correctly.
10732 (custom-theme-visit-theme): Autoload.
10733 (customize-create-theme): Prompt before inserting default faces.
10734
1fe275ee
JB
107352011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10736
10737 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10738 units and musical notes.
10739
cd394be1 107402011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10741
10742 * ido.el (ido-read-internal): Use completing-read-default.
10743 (ido-completing-read): Fix compatibility with completing-read.
10744
7d476bde
CO
107452011-03-20 Christian Ohler <ohler@gnu.org>
10746
10747 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10748 (ert-delete-all-tests): Use `called-interactively-p' rather than
10749 `interactive-p'.
10750 (ert--make-xrefs-region): Respect END.
10751
fe0fb33e
CY
107522011-03-19 Chong Yidong <cyd@stupidchicken.com>
10753
ff854b0b
CY
10754 * dired-aux.el (dired-create-directory): Signal an error if the
10755 directory already exists (Bug#8246).
10756
fe0fb33e
CY
10757 * facemenu.el (list-colors-display): Call list-faces-display
10758 inside with-help-window.
10759 (list-colors-print): Use display property to align the final
10760 column, instead of checking window-width.
10761
576bce32
EZ
107622011-03-19 Eli Zaretskii <eliz@gnu.org>
10763
4d61f28d 10764 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10765 windows-nt systems.
10766 (emerge-protect-metachars): Quote correctly for ms-dos and
10767 windows-nt systems.
10768
89c41d68 107692011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10770
10771 * info.el (info-initialize): Replace all uses of `:' with
10772 path-separator for compatibility with non-Unix systems.
10773 Cache quoting of path-separator. (Bug#8258)
10774
b14e3e21 107752011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10776
10777 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10778 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10779 (mouse-avoidance-mode): Fix typos in docstrings.
10780
4525ce3e
CY
107812011-03-19 Chong Yidong <cyd@stupidchicken.com>
10782
10783 * startup.el (package-subdirectory-regexp): Move from package.el.
10784 Omit \\` and \\', and let callers add them.
10785
10786 * emacs-lisp/package.el (package-strip-version)
10787 (package-load-all-descriptors): Add \\` and \\' to
10788 package-subdirectory-regexp before using it.
10789 (package-untar-buffer): New arg DIR; ensure that file untars only
10790 into this expected directory. Remove superfluous delete-region.
10791 (package-unpack): Caller changed.
10792 (package-tar-file-info): Use package-subdirectory-regexp.
10793
a904a09a 107942011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10795
a904a09a
SM
10796 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10797 diff-mode-shared-map (bug#8284).
10798 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10799
108002011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10801
10802 * calendar/time-date.el (format-seconds): Use assoc instead of
10803 assoc-string, since assoc-string doesn't exist in XEmacs.
10804
171fc304
JB
108052011-03-17 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * custom.el (custom-known-themes): Reflow docstring.
10808 (custom-theme-load-path): Fix typo in docstring.
10809 (load-theme): Fix typo in error message.
10810 (custom-available-themes, custom-variable-theme-value):
10811 Use `let', not `let*'.
10812
d71990a1
JB
108132011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10814
10815 * calc/README: Mention inclusion of musical notes.
10816
10817 * calc/calc-units.el (calc-lu-quant): Rename from
10818 `calc-logunits-quantity'.
10819 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10820 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10821 (calc-db): Rename from `calc-dblevel'.
10822 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10823 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10824 (calc-np): Rename from `calc-nplevel'.
10825 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10826 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10827 (calc-lu-plus): Rename from `calc-logunits-add'.
10828 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10829 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10830 (calc-lu-minus): Rename from `calc-logunits-sub'.
10831 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10832 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10833 (calc-lu-times): Rename from `calc-logunits-mul'.
10834 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10835 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10836 (calc-lu-divide): Rename from `calc-logunits-div'.
10837 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10838 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10839
10840 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10841 functions being autoloaded.
10842
10843 * calc/calc.el (calc-lu-power-reference): Rename from
10844 `calc-logunits-power-reference'.
10845 (calc-lu-field-reference): Rename from
10846 `calc-logunits-field-reference'.
10847
7a71b18d
GM
10848 * calc/calc-help.el (calc-l-prefix-help):
10849 Mention musical note functions.
d71990a1 10850
40c2934b
SM
108512011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * minibuffer.el (completion-all-sorted-completions):
10854 Use :completion-cycle-penalty text property if present.
10855
b0911414
KM
108562011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10857
10858 * allout.el (allout-yank-processing): Adjust for new rebulleting
10859 regime so bullet being yanked is used without prompting the user
10860 for a choice.
10861
8a05b668
JB
108622011-03-16 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * startup.el (command-line): Warn the user that _emacs is deprecated.
10865
5ba5fb81
JB
108662011-03-16 Juanma Barranquero <lekktu@gmail.com>
10867
10868 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10869 (delphi-verbose, delphi-comment-face, delphi-string-face)
10870 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10871 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10872 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10873 (delphi-new-comment-line, delphi-font-lock-defaults)
10874 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10875 Fix typos in docstrings.
10876
2dab465b
KM
108772011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10878
5ba5fb81 10879 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10880 Invert the roles of character and string values for INSTEAD, so a
10881 string is used for the more common case of a defaulting prompt.
10882
0adf5618
SM
108832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * progmodes/ruby-mode.el (ruby-backward-sexp):
10886 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10887 * play/gamegrid.el (gamegrid-make-face):
10888 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10889 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10890 * notifications.el (notifications-notify):
10891 * net/xesam.el (xesam-search-engines):
10892 * net/quickurl.el (quickurl-list-insert):
10893 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10894
d72700e5
CY
108952011-03-15 Chong Yidong <cyd@stupidchicken.com>
10896
10897 * startup.el (command-line): Update package subdirectory regexp.
10898
49c5410a
SM
108992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10900
c6eee9aa
SM
10901 * allout.el (allout-abbreviate-flattened-numbering)
10902 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10903
49c5410a
SM
10904 * subr.el (read-char-choice): Only show the cursor after the prompt,
10905 not after the answer.
10906
047b2bb9
KR
109072011-03-15 Kevin Ryde <user42@zip.com.au>
10908
10909 * help-fns.el (variable-at-point): Skip leading quotes, if any
10910 (bug#8253).
10911
0a57d256
SM
109122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10915 warning message.
10916
77c992bc
MA
109172011-03-14 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * shell.el (shell): When called interactively, offer to change the
10920 shell file name on remote hosts.
10921
eebc475d
TZ
109222011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10923
10924 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10925 integration for LDAP parameters. The host, base, user or binddn,
10926 and secret tokens can be specified in a netrc file, for instance.
10927 This is optional because an `auth-source' parameter must be
10928 specified in the search attributes.
10929
9d05d1ba
JB
109302011-03-13 Juanma Barranquero <lekktu@gmail.com>
10931
10932 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10933
09d9db2c
GM
109342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10937 into declaration. Remove redundant and harmful binding.
10938
109392011-03-12 Eli Zaretskii <eliz@gnu.org>
10940
10941 * files.el (file-ownership-preserved-p): Pass `integer' as an
10942 explicit 2nd argument to `file-attributes'. If the file's owner
10943 is the Administrators group on Windows, and the current user is
10944 Administrator, consider that a match.
10945
10946 * server.el (server-ensure-safe-dir): Consider server directory
10947 safe on MS-Windows if its owner is the Administrators group while
10948 the current Emacs user is Administrator. Use `=' to compare
10949 numerical UIDs, since they could be integers or floats.
10950
219bd536
JB
109512011-03-12 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10954
f3afd36b
MA
109552011-03-12 Michael Albinus <michael.albinus@gmx.de>
10956
10957 Sync with Tramp 2.2.1.
10958
10959 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10960
10961 * net/trampver.el: Update release number.
10962
3aaaa6f1
SM
109632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10964
94642599
SM
10965 * progmodes/compile.el (compilation--previous-directory): Fix up
10966 various nil/dead-marker mismatches (bug#8014).
10967 (compilation-directory-properties, compilation-error-properties):
10968 Don't call it at a position past the one we're about to change.
10969
3aaaa6f1
SM
10970 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10971 Disable obsolescence warnings in the file that declares it.
10972
14239447
KM
109732011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10974
099c39a4
JB
10975 * allout-widgets.el (allout-widgets-tally):
10976 Initialize allout-widgets-tally as a hash table rather than nil to
10977 prevent mode-line redisplay warnings. Also, clarify the module
10978 description and fix a comment typo.
14239447 10979
135e287c
JB
109802011-03-11 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * help-fns.el (describe-variable): Don't complete keywords.
10983 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10984
ffbf300e
CY
109852011-03-10 Chong Yidong <cyd@stupidchicken.com>
10986
ba08b241
CY
10987 * emacs-lisp/package.el (package-version-join): Impose a standard
10988 string representation for pre/alpha/beta version lists.
10989 (package-unpack-single): Standardize the directory name by passing
10990 it through package-version-join.
10991 (package-strip-rcs-id): Accept any version string that does not
10992 signal an error in version-to-list.
ffbf300e 10993
f346fd6b
MA
109942011-03-10 Michael Albinus <michael.albinus@gmx.de>
10995
10996 * simple.el (delete-trailing-whitespace): Return nil for the
10997 benefit of `write-file-functions'.
10998
ccb55d27
GM
109992011-03-10 Glenn Morris <rgm@gnu.org>
11000
5ceaac0c
GM
11001 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11002
02da65ff
GM
11003 * vc/vc-git.el (vc-git-program): New option.
11004 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11005 (vc-git--call): Use it.
11006
b2f603cc
GM
11007 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11008
5772caab
GM
11009 * cus-edit.el (Custom-newline): If no button at point, look
11010 for a subgroup button at start-of-line. (Bug#2298)
11011
ccb55d27
GM
11012 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11013
ec6ecaed
JD
110142011-03-10 Julien Danjou <julien@danjou.info>
11015
11016 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11017 `cursor-type' is nil.
11018
9d5aa01d
JB
110192011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11020
11021 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11022
b6a5875b
KM
110232011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11024
7a71b18d 11025 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11026 preserves the existing header prefix, rebulleting it if necessary,
11027 rather than replacing it. This is necessary for proper operation
11028 of cooperative addons like allout-widgets.
1154d12e
JB
11029 (allout-make-topic-prefix, allout-rebullet-heading):
11030 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11031 value as alternate bullet to be used, instead of prompting the user
11032 for a bullet character.
b6a5875b 11033
ee545c35
MA
110342011-03-09 Michael Albinus <michael.albinus@gmx.de>
11035
d86d2721
SM
11036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11037 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11038 `tramp-default-port'.
11039
c47971d7
DD
110402011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11041
11042 * net/rcirc.el (rcirc-handler-001): Remove useless
11043 with-rcirc-process-buffer.
11044 (rcirc-check-auth-status): Swap arguments to string-match.
11045
13522cb4
GM
110462011-03-09 Glenn Morris <rgm@gnu.org>
11047
0be6f4f1
GM
11048 * shell.el (shell-mode):
11049 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11050
13522cb4
GM
11051 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11052 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11053
515de2e3
CY
110542011-03-08 Chong Yidong <cyd@stupidchicken.com>
11055
11056 * emacs-lisp/package.el (package-refresh-contents)
11057 (package-menu-execute): Use condition-case-no-debug.
11058
b511b994
MA
110592011-03-08 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * simple.el (shell-command-to-string): Use `process-file'.
11062
11063 * emacs-lisp/package.el (package-tar-file-info): Handle also
11064 remote files.
11065
d86d2721
SM
11066 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11067 Use `equal' for upload base check.
b511b994 11068
25bbfb31
AM
110692011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11070
11071 * textmodes/texinfo.el (texinfo-environments):
11072 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11073
be996521
GM
110742011-03-08 Glenn Morris <rgm@gnu.org>
11075
e9c8529f
GM
11076 * cus-start.el (cursor-in-non-selected-windows):
11077 Fix :set quoting oddness. (Bug#8192)
11078
be996521
GM
11079 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11080 in some setf expressions. (Bug#2159)
11081
2bb5649e
CY
110822011-03-08 Chong Yidong <cyd@stupidchicken.com>
11083
11084 * custom.el (custom-available-themes): Return themes in
11085 alphabetical order.
11086
33383987 11087See ChangeLog.15 for earlier changes.
e3d51b27
MR
11088
11089;; Local Variables:
11090;; coding: utf-8
e3d51b27
MR
11091;; End:
11092
acaf905b 11093 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11094
11095 This file is part of GNU Emacs.
11096
11097 GNU Emacs is free software: you can redistribute it and/or modify
11098 it under the terms of the GNU General Public License as published by
11099 the Free Software Foundation, either version 3 of the License, or
11100 (at your option) any later version.
11101
11102 GNU Emacs is distributed in the hope that it will be useful,
11103 but WITHOUT ANY WARRANTY; without even the implied warranty of
11104 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11105 GNU General Public License for more details.
11106
11107 You should have received a copy of the GNU General Public License
11108 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.